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.001221/0.001221, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001413/0.001413, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.044/0.044, allocations: 9.068 MB / 279.4 MB, free: 12.26 MB / 238.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.0005257/0.0005259, allocations: 12.22 kB / 339.1 MB, free: 26.03 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09092, allocations: 49.19 MB / 388.3 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01819/0.1092, allocations: 14.95 MB / 403.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.1341, allocations: 25.45 MB / 428.7 MB, free: 296 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.1343, allocations: 0 / 428.7 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1969/0.3313, allocations: 367.4 kB / 429 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005972/0.3319, allocations: 122.2 kB / 429.1 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02365/0.3556, allocations: 7.611 MB / 436.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005475/0.3562, allocations: 247.2 kB / 437 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.3562, allocations: 21.98 kB / 437 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.3566, allocations: 182.3 kB / 437.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.3568, allocations: 99.31 kB / 437.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.3568, allocations: 11.38 kB / 437.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01915/0.376, allocations: 8.581 MB / 445.9 MB, free: 13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3761, allocations: 31.45 kB / 445.9 MB, free: 13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.3763, allocations: 68.58 kB / 446 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005542/0.3819, allocations: 2.173 MB / 448.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3819, allocations: 0 / 448.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3819, allocations: 0 / 448.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3819, allocations: 0 / 448.2 MB, free: 12.16 MB / 318.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.002165/0.3841, allocations: 0.9527 MB / 449.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3841, allocations: 13.52 kB / 449.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.3844, allocations: 30.5 kB / 449.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3846, allocations: 228.4 kB / 449.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.3847, allocations: 9.469 kB / 449.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.3847, allocations: 9.062 kB / 449.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.3853, allocations: 272.6 kB / 449.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3854, allocations: 3.234 kB / 449.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.3854, allocations: 9.938 kB / 449.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3854, allocations: 3.469 kB / 449.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/0.386, allocations: 254.9 kB / 449.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008453/0.3869, allocations: 1.086 MB / 451 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.3874, allocations: 258.1 kB / 451.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07894/0.4663, allocations: 45.32 MB / 496.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.4664, allocations: 37.47 kB / 496.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.345e-06/0.4664, allocations: 0 / 496.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001626/0.4681, allocations: 0.5897 MB / 497.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.4682, allocations: 140.3 kB / 497.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4683, allocations: 176 kB / 497.5 MB, free: 8.383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.4684, allocations: 25.7 kB / 497.6 MB, free: 8.352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.4685, allocations: 124.2 kB / 497.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.4685, allocations: 88.34 kB / 497.8 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.4686, allocations: 7.25 kB / 497.8 MB, free: 8.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4687, allocations: 330.1 kB / 498.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.469, allocations: 122 kB / 498.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.4693, allocations: 177.4 kB / 498.4 MB, free: 7.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.4696, allocations: 142.5 kB / 498.5 MB, free: 7.496 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4696, allocations: 0 / 498.5 MB, free: 7.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007083/0.4704, allocations: 347.1 kB / 498.9 MB, free: 7.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4704, allocations: 14.48 kB / 498.9 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4704, allocations: 4 kB / 498.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4704, allocations: 4 kB / 498.9 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.4707, allocations: 52.11 kB / 498.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.4707, allocations: 4.625 kB / 498.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.471, allocations: 45.44 kB / 499 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.471, allocations: 9.812 kB / 499 MB, free: 7.121 MB / 366.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.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 initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.4711, allocations: 129.3 kB / 499.1 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4712, allocations: 23.72 kB / 499.1 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006479/0.4719, allocations: 392.2 kB / 499.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.4719, allocations: 10.3 kB / 499.5 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4719, allocations: 0 / 499.5 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4719, allocations: 0 / 499.5 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.4724, allocations: 323.5 kB / 499.8 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4725, allocations: 0 / 499.8 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.4727, allocations: 55.83 kB / 499.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4727, allocations: 0 / 499.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.4727, allocations: 4 kB / 499.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4727, allocations: 2.625 kB / 499.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4727, allocations: 0 / 499.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.4736, allocations: 0.7053 MB / 0.4889 GB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.4737, allocations: 97.84 kB / 0.489 GB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.4737, allocations: 7.438 kB / 0.489 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.474, allocations: 35.92 kB / 0.489 GB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.4741, allocations: 19.78 kB / 0.489 GB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.4742, allocations: 4 kB / 0.489 GB, free: 5.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.976e-05/0.4742, allocations: 125.1 kB / 0.4892 GB, free: 5.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4743, allocations: 1.641 kB / 0.4892 GB, free: 5.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002375/0.4766, allocations: 0.7963 MB / 0.4899 GB, free: 4.637 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003801/0.4805, allocations: 1.178 MB / 0.4911 GB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007763/0.4812, allocations: 301 kB / 0.4914 GB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4813, allocations: 4.062 kB / 0.4914 GB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.4816, allocations: 186.7 kB / 0.4916 GB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007187/0.4824, allocations: 95.22 kB / 0.4916 GB, free: 3.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.4832, allocations: 0.573 MB / 0.4922 GB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.4835, allocations: 0.7404 MB / 0.4929 GB, free: 1.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.4837, allocations: 48.5 kB / 0.493 GB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.4838, allocations: 23.42 kB / 0.493 GB, free: 1.805 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4838, allocations: 0 / 0.493 GB, free: 1.805 MB / 366.1 MB Notification: Performance of Templates: time 0.03432/0.5181, allocations: 23.7 MB / 0.5161 GB, free: 10.18 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: