Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.001502/0.001502, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002418/0.002418, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 207.6 MB / 233 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0527/0.0527, allocations: 9.16 MB / 294.4 MB, free: 12.69 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00223/0.00223, allocations: 76.39 kB / 411 MB, free: 46.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06934/0.07157, allocations: 50.75 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02236/0.09392, allocations: 18.01 MB / 479.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03872/0.1326, allocations: 32.29 MB / 0.5001 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.1328, allocations: 0 / 0.5001 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.134, allocations: 482 kB / 0.5006 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004906/0.1345, allocations: 147 kB / 0.5007 GB, free: 9.633 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.02634/0.1608, allocations: 10.07 MB / 0.5105 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.1614, allocations: 386.4 kB / 0.5109 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.557e-05/0.1615, allocations: 12.59 kB / 0.5109 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003591/0.1618, allocations: 179.3 kB / 0.5111 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.162, allocations: 111.5 kB / 0.5112 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.1621, allocations: 16 kB / 0.5112 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02269/0.1848, allocations: 11.96 MB / 0.5229 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1849, allocations: 39.84 kB / 0.5229 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.1851, allocations: 111.5 kB / 0.523 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2065/0.3916, allocations: 4.771 MB / 0.5277 GB, free: 28.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3916, allocations: 0 / 0.5277 GB, free: 28.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3916, allocations: 0 / 0.5277 GB, free: 28.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3916, allocations: 1.125 kB / 0.5277 GB, free: 28.52 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.003626/0.3952, allocations: 1.099 MB / 0.5288 GB, free: 27.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3953, allocations: 14.11 kB / 0.5288 GB, free: 27.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.3953, allocations: 46.23 kB / 0.5288 GB, free: 27.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.3956, allocations: 34.67 kB / 0.5289 GB, free: 27.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3958, allocations: 169.7 kB / 0.529 GB, free: 27.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.3958, allocations: 13.16 kB / 0.529 GB, free: 27.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.3958, allocations: 10.38 kB / 0.529 GB, free: 27.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.3965, allocations: 261.9 kB / 0.5293 GB, free: 27.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3965, allocations: 1.375 kB / 0.5293 GB, free: 27.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.3965, allocations: 4.625 kB / 0.5293 GB, free: 27.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.3965, allocations: 4.875 kB / 0.5293 GB, free: 27.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006463/0.3972, allocations: 231.5 kB / 0.5295 GB, free: 27.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.398, allocations: 1.054 MB / 0.5306 GB, free: 26.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.3985, allocations: 227.5 kB / 0.5308 GB, free: 26.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.3988, allocations: 149.9 kB / 0.5309 GB, free: 26.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06926/0.4681, allocations: 14.56 MB / 0.5451 GB, free: 26.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.4681, allocations: 41.62 kB / 0.5452 GB, free: 26.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.394e-06/0.4681, allocations: 0 / 0.5452 GB, free: 26.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001394/0.4695, allocations: 477.6 kB / 0.5456 GB, free: 26.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.4696, allocations: 132.5 kB / 0.5458 GB, free: 26.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.4697, allocations: 172.3 kB / 0.5459 GB, free: 25.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.4697, allocations: 29.58 kB / 0.5459 GB, free: 25.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.4697, allocations: 124.9 kB / 0.5461 GB, free: 25.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.4698, allocations: 93.58 kB / 0.5462 GB, free: 25.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.4698, allocations: 47.2 kB / 0.5462 GB, free: 25.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.4699, allocations: 333.6 kB / 0.5465 GB, free: 25.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.4701, allocations: 113.1 kB / 0.5466 GB, free: 25.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.4704, allocations: 165.3 kB / 0.5468 GB, free: 25.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.4709, allocations: 291.1 kB / 0.5471 GB, free: 25.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4709, allocations: 0 / 0.5471 GB, free: 25.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005908/0.4715, allocations: 336.1 kB / 0.5474 GB, free: 25.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4715, allocations: 4.969 kB / 0.5474 GB, free: 25.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4715, allocations: 5.094 kB / 0.5474 GB, free: 25.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4715, allocations: 1.75 kB / 0.5474 GB, free: 25.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.4717, allocations: 43.47 kB / 0.5474 GB, free: 25.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4718, allocations: 11.28 kB / 0.5474 GB, free: 25.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.472, allocations: 33 kB / 0.5475 GB, free: 25.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.472, allocations: 5.125 kB / 0.5475 GB, free: 25.21 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.527e-05/0.4721, allocations: 131.9 kB / 0.5476 GB, free: 25.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.4722, allocations: 28.42 kB / 0.5476 GB, free: 25.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/0.4727, allocations: 380 kB / 0.548 GB, free: 25.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.4727, allocations: 10.02 kB / 0.548 GB, free: 25.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4727, allocations: 0 / 0.548 GB, free: 25.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4727, allocations: 1.078 kB / 0.548 GB, free: 25.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.4731, allocations: 300.8 kB / 0.5483 GB, free: 24.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4731, allocations: 3.625 kB / 0.5483 GB, free: 24.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.4734, allocations: 37.27 kB / 0.5483 GB, free: 24.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4734, allocations: 1.25 kB / 0.5483 GB, free: 24.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4734, allocations: 11.89 kB / 0.5483 GB, free: 24.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4734, allocations: 3.188 kB / 0.5483 GB, free: 24.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4734, allocations: 1.844 kB / 0.5483 GB, free: 24.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.474, allocations: 0.6525 MB / 0.549 GB, free: 24.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.474, allocations: 29.16 kB / 0.549 GB, free: 24.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.4741, allocations: 2.312 kB / 0.549 GB, free: 24.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.4744, allocations: 25.25 kB / 0.549 GB, free: 24.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.4744, allocations: 25.31 kB / 0.5491 GB, free: 24.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.4744, allocations: 11.39 kB / 0.5491 GB, free: 24.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.471e-05/0.4745, allocations: 123.6 kB / 0.5492 GB, free: 24.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4745, allocations: 0 / 0.5492 GB, free: 24.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002734/0.4772, allocations: 0.815 MB / 0.55 GB, free: 24.22 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003979/0.4812, allocations: 2.282 MB / 0.5522 GB, free: 23.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006499/0.4819, allocations: 277.6 kB / 0.5525 GB, free: 23.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4819, allocations: 0 / 0.5525 GB, free: 23.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.4822, allocations: 145.9 kB / 0.5526 GB, free: 23.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008521/0.483, allocations: 93.28 kB / 0.5527 GB, free: 23.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.4865, allocations: 3.081 MB / 0.5557 GB, free: 21.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.4867, allocations: 0.7336 MB / 0.5564 GB, free: 20.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.4868, allocations: 56.56 kB / 0.5565 GB, free: 20.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.4869, allocations: 68.86 kB / 0.5566 GB, free: 20.59 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4869, allocations: 4 kB / 0.5566 GB, free: 20.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05581/0.5427, allocations: 27.43 MB / 0.5833 GB, free: 12.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.79, allocations: 8 kB / 0.5834 GB, free: 12.73 MB / 414.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep.fmu > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.42762374598533] Failed to read output from testmodel.py, exit status != 0: 12.911034391028807 12.927150288 12.53211369 Calling exit ...