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.00136/0.00136, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.001506/0.001506, allocations: 214.5 kB / 22.25 MB, free: 5.223 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05008/0.05008, allocations: 9.136 MB / 321.6 MB, free: 10.41 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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: translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 68.09 kB / 447.1 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.09043, allocations: 54.95 MB / 0.4902 GB, free: 9.496 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01996/0.1104, allocations: 18.06 MB / 0.5079 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2059/0.3163, allocations: 32.33 MB / 0.5394 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.3164, allocations: 2.75 kB / 0.5394 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009638/0.3174, allocations: 485 kB / 0.5399 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.3178, allocations: 152.2 kB / 0.5401 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02437/0.3422, allocations: 10.08 MB / 0.5499 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00067/0.3428, allocations: 387.2 kB / 0.5503 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.3429, allocations: 10.22 kB / 0.5503 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.3433, allocations: 184 kB / 0.5505 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.3435, allocations: 128.1 kB / 0.5506 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.3435, allocations: 13.03 kB / 0.5506 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02092/0.3644, allocations: 11.96 MB / 0.5623 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.749e-05/0.3645, allocations: 38.94 kB / 0.5623 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.3647, allocations: 117.7 kB / 0.5624 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.3775, allocations: 4.788 MB / 0.5671 GB, free: 2.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3775, allocations: 4 kB / 0.5671 GB, free: 2.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3775, allocations: 0 / 0.5671 GB, free: 2.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.3775, allocations: 0 / 0.5671 GB, free: 2.461 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.002544/0.3801, allocations: 1.104 MB / 0.5682 GB, free: 1.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3801, allocations: 10.09 kB / 0.5682 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007345/0.3809, allocations: 94.67 kB / 0.5683 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.3811, allocations: 180.1 kB / 0.5684 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.3811, allocations: 9.75 kB / 0.5685 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.3812, allocations: 10.16 kB / 0.5685 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.3818, allocations: 262.7 kB / 0.5687 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3818, allocations: 3.984 kB / 0.5687 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.3818, allocations: 8 kB / 0.5687 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3818, allocations: 4.781 kB / 0.5687 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006273/0.3825, allocations: 228 kB / 0.5689 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.3836, allocations: 1.058 MB / 0.57 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.3841, allocations: 222.9 kB / 0.5702 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.3844, allocations: 135.4 kB / 0.5703 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07003/0.4544, allocations: 14.57 MB / 0.5846 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.4545, allocations: 38.55 kB / 0.5846 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/0.4545, allocations: 0 / 0.5846 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001606/0.4561, allocations: 480.9 kB / 0.585 GB, free: 256 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.4561, allocations: 128.5 kB / 0.5852 GB, free: 96 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.4563, allocations: 188.9 kB / 0.5854 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.4564, allocations: 33.7 kB / 0.5854 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.4565, allocations: 120.6 kB / 0.5855 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.4565, allocations: 95.2 kB / 0.5856 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.4566, allocations: 45.69 kB / 0.5856 GB, free: 15.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4568, allocations: 334.8 kB / 0.586 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.457, allocations: 111.9 kB / 0.5861 GB, free: 15.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.4573, allocations: 161.9 kB / 0.5862 GB, free: 14.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/0.4579, allocations: 291.3 kB / 0.5865 GB, free: 14.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4579, allocations: 0 / 0.5865 GB, free: 14.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007129/0.4586, allocations: 330.1 kB / 0.5868 GB, free: 14.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4587, allocations: 8 kB / 0.5868 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4587, allocations: 0 / 0.5868 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4587, allocations: 7.984 kB / 0.5868 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.4589, allocations: 45.09 kB / 0.5869 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4589, allocations: 7.922 kB / 0.5869 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.4591, allocations: 31.81 kB / 0.5869 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.4592, allocations: 12.09 kB / 0.5869 GB, free: 14.23 MB / 430.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.0001338/0.4593, allocations: 141.7 kB / 0.587 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4594, allocations: 23.86 kB / 0.5871 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006807/0.4601, allocations: 378.5 kB / 0.5874 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.4601, allocations: 7.984 kB / 0.5874 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4601, allocations: 4 kB / 0.5874 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4601, allocations: 4 kB / 0.5874 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.4606, allocations: 308.7 kB / 0.5877 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4606, allocations: 2.562 kB / 0.5877 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.4608, allocations: 39.95 kB / 0.5878 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4608, allocations: 0 / 0.5878 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.4608, allocations: 4 kB / 0.5878 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.4608, allocations: 6.328 kB / 0.5878 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.4608, allocations: 3.938 kB / 0.5878 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.4617, allocations: 0.651 MB / 0.5884 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.4617, allocations: 23.8 kB / 0.5885 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.4617, allocations: 4 kB / 0.5885 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.462, allocations: 19.97 kB / 0.5885 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.4621, allocations: 27.84 kB / 0.5885 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4621, allocations: 7.984 kB / 0.5885 GB, free: 12.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.4622, allocations: 136.6 kB / 0.5886 GB, free: 12.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4622, allocations: 3.938 kB / 0.5886 GB, free: 12.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002245/0.4645, allocations: 0.81 MB / 0.5894 GB, free: 11.57 MB / 430.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.003601/0.4681, allocations: 1.188 MB / 0.5906 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007324/0.4688, allocations: 271.8 kB / 0.5909 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4688, allocations: 0 / 0.5909 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.4692, allocations: 148 kB / 0.591 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008811/0.47, allocations: 95.98 kB / 0.5911 GB, free: 9.883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000862/0.4709, allocations: 0.5054 MB / 0.5916 GB, free: 9.344 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.4713, allocations: 0.7479 MB / 0.5923 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.4714, allocations: 51.11 kB / 0.5924 GB, free: 8.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.4715, allocations: 19.44 kB / 0.5924 GB, free: 8.504 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4715, allocations: 0 / 0.5924 GB, free: 8.504 MB / 430.1 MB Notification: Performance of Templates: time 0.03576/0.5073, allocations: 24.42 MB / 0.6162 GB, free: 128 kB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7772524687461555] Failed to read output from testmodel.py, exit status != 0: 0.5146176647394896 0.529397401 0.14884513000000002 Calling exit ...