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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 107.9 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 192.2 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04607/0.04607, allocations: 9.104 MB / 279.7 MB, free: 2.941 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 69.72 kB / 388.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06873/0.07015, allocations: 48.18 MB / 436.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01675/0.08693, allocations: 17.88 MB / 454.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02828/0.1152, allocations: 32.21 MB / 486.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.1154, allocations: 4 kB / 486.4 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009624/0.1164, allocations: 426 kB / 486.8 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.1168, allocations: 135.1 kB / 486.9 MB, free: 4.809 MB / 366.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.02207/0.1389, allocations: 9.431 MB / 496.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.1394, allocations: 386.4 kB / 496.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.123e-05/0.1395, allocations: 24.39 kB / 496.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.1398, allocations: 167.4 kB / 496.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.14, allocations: 119.5 kB / 497 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.1401, allocations: 16 kB / 497.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01841/0.1585, allocations: 11.46 MB / 0.4966 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.1586, allocations: 43.83 kB / 0.4966 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.1588, allocations: 111.4 kB / 0.4967 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008752/0.1675, allocations: 4.759 MB / 0.5014 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1676, allocations: 4 kB / 0.5014 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1676, allocations: 0 / 0.5014 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1676, allocations: 0 / 0.5014 GB, free: 10.25 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.002481/0.1701, allocations: 1.134 MB / 0.5025 GB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1701, allocations: 8.031 kB / 0.5025 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.1704, allocations: 31.7 kB / 0.5025 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1706, allocations: 226.6 kB / 0.5028 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.1707, allocations: 11.94 kB / 0.5028 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1707, allocations: 11.94 kB / 0.5028 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.1713, allocations: 263.5 kB / 0.503 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1714, allocations: 0 / 0.503 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.1714, allocations: 4 kB / 0.503 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1714, allocations: 8 kB / 0.503 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006437/0.172, allocations: 224 kB / 0.5033 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009944/0.1731, allocations: 1.079 MB / 0.5043 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.1736, allocations: 242.3 kB / 0.5045 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.1739, allocations: 151.4 kB / 0.5047 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2423/0.4163, allocations: 46.25 MB / 0.5498 GB, free: 72.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4163, allocations: 37.16 kB / 0.5499 GB, free: 72.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.585e-06/0.4163, allocations: 0 / 0.5499 GB, free: 72.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001533/0.4179, allocations: 463 kB / 0.5503 GB, free: 72.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.4179, allocations: 133 kB / 0.5505 GB, free: 72.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4181, allocations: 177.9 kB / 0.5506 GB, free: 71.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.4181, allocations: 27.05 kB / 0.5506 GB, free: 71.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.4181, allocations: 123.5 kB / 0.5508 GB, free: 71.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.4182, allocations: 92.58 kB / 0.5509 GB, free: 71.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.4183, allocations: 47.16 kB / 0.5509 GB, free: 71.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.4183, allocations: 331.7 kB / 0.5512 GB, free: 71.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.4186, allocations: 108.5 kB / 0.5513 GB, free: 71.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.4189, allocations: 165.1 kB / 0.5515 GB, free: 71.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.4194, allocations: 279.1 kB / 0.5517 GB, free: 70.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4194, allocations: 3.969 kB / 0.5517 GB, free: 70.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006763/0.4201, allocations: 326.1 kB / 0.5521 GB, free: 70.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4201, allocations: 8.156 kB / 0.5521 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4201, allocations: 1.656 kB / 0.5521 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4201, allocations: 2.719 kB / 0.5521 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.4204, allocations: 51.48 kB / 0.5521 GB, free: 70.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.4204, allocations: 2.906 kB / 0.5521 GB, free: 70.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.4206, allocations: 30.69 kB / 0.5521 GB, free: 70.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.4207, allocations: 9.062 kB / 0.5522 GB, free: 70.77 MB / 414.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 0.0001016/0.4208, allocations: 141.5 kB / 0.5523 GB, free: 70.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4209, allocations: 24.91 kB / 0.5523 GB, free: 70.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005346/0.4214, allocations: 363.1 kB / 0.5527 GB, free: 70.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4215, allocations: 1.578 kB / 0.5527 GB, free: 70.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4215, allocations: 0 / 0.5527 GB, free: 70.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.4215, allocations: 108.6 kB / 0.5528 GB, free: 70.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.4215, allocations: 7.906 kB / 0.5528 GB, free: 70.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.4219, allocations: 27.22 kB / 0.5528 GB, free: 70.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.4219, allocations: 19.69 kB / 0.5528 GB, free: 70.28 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007504/0.4227, allocations: 0.6338 MB / 0.5534 GB, free: 69.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006242/0.4233, allocations: 0.7182 MB / 0.5541 GB, free: 69.23 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002698/0.4236, allocations: 157.8 kB / 0.5543 GB, free: 69.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.4237, allocations: 131.4 kB / 0.5544 GB, free: 69.04 MB / 414.1 MB Notification: Performance of Backend: time 3.51e-07/0.4237, allocations: 0 / 0.5544 GB, free: 69.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004921/0.4286, allocations: 1.954 MB / 0.5563 GB, free: 68.6 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006061/0.4292, allocations: 0.8228 MB / 0.5571 GB, free: 67.87 MB / 414.1 MB Notification: Performance of Templates: time 0.03405/0.4633, allocations: 30.86 MB / 0.5873 GB, free: 38.18 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1)