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.0008667/0.0008667, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001236/0.001236, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9179/0.9179, allocations: 177.2 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.0316/0.0316, allocations: 7.524 MB / 267.8 MB, free: 5.863 MB / 250.7 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 2.484e-06/2.484e-06, allocations: 0 / 339.1 MB, free: 11.83 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.639e-05, allocations: 2.312 kB / 339.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02082/0.02085, allocations: 17.73 MB / 356.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02849/0.04934, allocations: 32.05 MB / 388.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.04949, allocations: 0 / 388.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007562/0.05025, allocations: 370.1 kB / 389.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.05058, allocations: 162.9 kB / 389.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01579/0.06636, allocations: 10.14 MB / 399.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.06676, allocations: 406.1 kB / 399.9 MB, free: 14.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.06681, allocations: 16.56 kB / 399.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.06714, allocations: 239.4 kB / 400.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.06728, allocations: 103.7 kB / 400.2 MB, free: 14.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.0673, allocations: 12 kB / 400.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.07734, allocations: 8.212 MB / 408.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.07742, allocations: 47.83 kB / 408.5 MB, free: 6.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.07752, allocations: 75.83 kB / 408.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007154/0.08467, allocations: 4.839 MB / 413.4 MB, free: 1.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.08467, allocations: 0 / 413.4 MB, free: 1.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.08468, allocations: 4 kB / 413.4 MB, free: 1.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.08468, allocations: 0 / 413.4 MB, free: 1.184 MB / 378.7 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.001726/0.08641, allocations: 1.192 MB / 414.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.08644, allocations: 8.625 kB / 414.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.08684, allocations: 111.5 kB / 414.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.08702, allocations: 176.5 kB / 414.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.08704, allocations: 8 kB / 414.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.08705, allocations: 12 kB / 414.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.08737, allocations: 268.3 kB / 415.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.08738, allocations: 7.938 kB / 415.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.0874, allocations: 4 kB / 415.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.08741, allocations: 11.98 kB / 415.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.08755, allocations: 81.86 kB / 415.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.08813, allocations: 1.054 MB / 416.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.08833, allocations: 172.3 kB / 416.5 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.08838, allocations: 62.72 kB / 416.6 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02713/0.1155, allocations: 10.99 MB / 427.6 MB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.1155, allocations: 37.39 kB / 427.6 MB, free: 2.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.905e-06/0.1155, allocations: 0 / 427.6 MB, free: 2.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005635/0.1161, allocations: 246.4 kB / 427.9 MB, free: 2.508 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.1162, allocations: 132.5 kB / 428 MB, free: 2.348 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1163, allocations: 235.7 kB / 428.2 MB, free: 2.102 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1163, allocations: 25.7 kB / 428.2 MB, free: 2.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.1164, allocations: 175.7 kB / 428.4 MB, free: 1.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.1164, allocations: 103.1 kB / 428.5 MB, free: 1.793 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.1165, allocations: 47.34 kB / 428.6 MB, free: 1.738 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003448/0.1168, allocations: 0.5118 MB / 429.1 MB, free: 1.215 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.1168, allocations: 31.86 kB / 429.1 MB, free: 1.184 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.1169, allocations: 97.75 kB / 429.2 MB, free: 1.059 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1171, allocations: 147.2 kB / 429.3 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1171, allocations: 0 / 429.3 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001791/0.1172, allocations: 174.2 kB / 429.5 MB, free: 0.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1172, allocations: 4 kB / 429.5 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.1173, allocations: 3.938 kB / 429.5 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1173, allocations: 4 kB / 429.5 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1174, allocations: 43.91 kB / 429.6 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.1174, allocations: 8.188 kB / 429.6 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.707e-05/0.1175, allocations: 19.88 kB / 429.6 MB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1175, allocations: 8 kB / 429.6 MB, free: 0.6172 MB / 394.7 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 8.127e-05/0.1176, allocations: 168.5 kB / 429.8 MB, free: 452 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.1176, allocations: 27.8 kB / 429.8 MB, free: 424 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.1178, allocations: 193.4 kB / 430 MB, free: 232 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1178, allocations: 4 kB / 430 MB, free: 228 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.1178, allocations: 4 kB / 430 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1178, allocations: 0 / 430 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.1181, allocations: 189.6 kB / 430.2 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1181, allocations: 0 / 430.2 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.304e-05/0.1182, allocations: 35.91 kB / 430.2 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1182, allocations: 3.938 kB / 430.2 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1182, allocations: 8 kB / 430.2 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1182, allocations: 0 / 430.2 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1182, allocations: 4 kB / 430.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1185, allocations: 0.6632 MB / 430.9 MB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.1185, allocations: 35.72 kB / 430.9 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1185, allocations: 11.88 kB / 430.9 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.1186, allocations: 19.98 kB / 431 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.1187, allocations: 19.95 kB / 431 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.1187, allocations: 4 kB / 431 MB, free: 15.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.403e-05/0.1187, allocations: 164.3 kB / 431.1 MB, free: 15.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1187, allocations: 0 / 431.1 MB, free: 15.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001358/0.1201, allocations: 0.8023 MB / 431.9 MB, free: 14.21 MB / 410.7 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.001933/0.122, allocations: 1.344 MB / 433.3 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.1222, allocations: 107.4 kB / 433.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1222, allocations: 0 / 433.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.309e-05/0.1223, allocations: 76.41 kB / 433.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.1228, allocations: 100.6 kB / 433.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.1236, allocations: 468.3 kB / 434 MB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.734e-05/0.1236, allocations: 84.48 kB / 434.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.1237, allocations: 52.52 kB / 434.2 MB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.1239, allocations: 142.1 kB / 434.3 MB, free: 11.78 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1239, allocations: 0 / 434.3 MB, free: 11.78 MB / 410.7 MB Notification: Performance of Templates: time 0.1313/0.2552, allocations: 29.27 MB / 463.6 MB, free: 102.1 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3956009317189455]