Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 103.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002401/0.002401, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.229/3.229, allocations: 0.49 GB / 0.7916 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 70.77 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3431, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001847/0.345, allocations: 0.6129 MB / 1.321 GB, free: 2.711 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.347, allocations: 1.509 MB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.3471, allocations: 0 / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.3471, allocations: 3.938 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.232e-05/0.3471, allocations: 0 / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.3476, allocations: 147.4 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.3477, allocations: 27.97 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.3478, allocations: 0 / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.3478, allocations: 23.97 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.3479, allocations: 27.84 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.3479, allocations: 4 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.3484, allocations: 315.3 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.3484, allocations: 3.984 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.3484, allocations: 19.92 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.3488, allocations: 191.7 kB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3488, allocations: 4 kB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3488, allocations: 0 / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.3488, allocations: 0 / 1.324 GB, free: 440 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000582/0.3494, allocations: 363.1 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3494, allocations: 15.98 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.443e-05/0.3495, allocations: 34.69 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/0.35, allocations: 68.84 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.3501, allocations: 160.4 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.3501, allocations: 4.375 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.3502, allocations: 12.36 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.3504, allocations: 73.77 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3504, allocations: 3.984 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3504, allocations: 0 / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3505, allocations: 0 / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.3508, allocations: 67.92 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.351, allocations: 161.6 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.3516, allocations: 126.6 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.3518, allocations: 44.91 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004892/0.3523, allocations: 153 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.3523, allocations: 34.5 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3523, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.001259/0.3536, allocations: 406.1 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.3536, allocations: 51.41 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.3537, allocations: 101.8 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3537, allocations: 25.7 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.3538, allocations: 88.2 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.3538, allocations: 23.8 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.3539, allocations: 21.7 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.354, allocations: 314.8 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.3542, allocations: 31.97 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.3543, allocations: 35.97 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.3546, allocations: 80.98 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3546, allocations: 0 / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004042/0.355, allocations: 117.6 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3551, allocations: 4 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3551, allocations: 3.938 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3551, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.3552, allocations: 27.91 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.3552, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3554, allocations: 15.98 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.3554, allocations: 0 / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.3555, allocations: 113.8 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.3555, allocations: 7.891 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.356, allocations: 133.2 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.356, allocations: 4 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.356, allocations: 0 / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.356, allocations: 0 / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.3562, allocations: 169.6 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3562, allocations: 7.875 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.3563, allocations: 23.97 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3563, allocations: 4 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3563, allocations: 4 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3564, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3564, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/0.357, allocations: 185.2 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.3571, allocations: 85.03 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.3571, allocations: 8.016 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3572, allocations: 16.05 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.3573, allocations: 4.328 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.3573, allocations: 4 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.3573, allocations: 87.14 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3573, allocations: 0 / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002608/0.3576, allocations: 31.88 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/0.3587, allocations: 0.7529 MB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004252/0.3591, allocations: 79.94 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3591, allocations: 0 / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.3593, allocations: 51.95 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.3595, allocations: 4 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.3617, allocations: 1.37 MB / 1.329 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.3621, allocations: 0.6768 MB / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.157e-05/0.3621, allocations: 20 kB / 1.33 GB, free: 9.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.3622, allocations: 15.44 kB / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3622, allocations: 0 / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.3886, allocations: 2.088 MB / 1.332 GB, free: 7.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.463, allocations: 0 / 1.332 GB, free: 7.484 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.157084203790873] Failed to read output from testmodel.py, exit status != 0: 8.535775969969109 8.558947299 8.205594154 Calling exit ...