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.0009687/0.0009687, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.001001/0.001001, allocations: 173 kB / 23.02 MB, free: 1.539 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 1.034/1.034, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.0329/0.0329, allocations: 7.516 MB / 267.5 MB, free: 5.988 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.645e-06/2.645e-06, allocations: 0 / 338.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/3.072e-05, allocations: 6.312 kB / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01426/0.01429, allocations: 17.96 MB / 356.6 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02355/0.03783, allocations: 32.54 MB / 389.1 MB, free: 8.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.03809, allocations: 0 / 389.1 MB, free: 8.344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.03912, allocations: 374.1 kB / 389.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004451/0.03957, allocations: 147 kB / 389.6 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02024/0.05981, allocations: 10.15 MB / 399.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.06032, allocations: 406.1 kB / 400.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.372e-05/0.06038, allocations: 16.58 kB / 400.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.06084, allocations: 239.3 kB / 400.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.06102, allocations: 99.72 kB / 400.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.06105, allocations: 12 kB / 400.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01398/0.07503, allocations: 8.204 MB / 408.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.07513, allocations: 47.81 kB / 408.8 MB, free: 4.605 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.07528, allocations: 71.83 kB / 408.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1386/0.2139, allocations: 4.839 MB / 413.7 MB, free: 45.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2139, allocations: 0 / 413.7 MB, free: 45.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2139, allocations: 1.094 kB / 413.7 MB, free: 45.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2139, allocations: 0 / 413.7 MB, free: 45.41 MB / 330.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.001944/0.2159, allocations: 1.193 MB / 414.9 MB, free: 44.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2159, allocations: 9.344 kB / 414.9 MB, free: 44.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.2163, allocations: 111.7 kB / 415 MB, free: 44.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.2165, allocations: 175.4 kB / 415.2 MB, free: 44.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.2165, allocations: 11.14 kB / 415.2 MB, free: 44.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.2165, allocations: 10.69 kB / 415.2 MB, free: 44.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.2169, allocations: 287.6 kB / 415.5 MB, free: 44.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2169, allocations: 0 / 415.5 MB, free: 44.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2169, allocations: 3.938 kB / 415.5 MB, free: 44.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2169, allocations: 3.469 kB / 415.5 MB, free: 44.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.2171, allocations: 93.72 kB / 415.6 MB, free: 44.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.2176, allocations: 1.082 MB / 416.6 MB, free: 43.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.2178, allocations: 181.8 kB / 416.8 MB, free: 43.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.2179, allocations: 71.34 kB / 416.9 MB, free: 43.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03599/0.2539, allocations: 13.83 MB / 430.7 MB, free: 42.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.2539, allocations: 40.61 kB / 430.8 MB, free: 42.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.2539, allocations: 0 / 430.8 MB, free: 42.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006534/0.2546, allocations: 264.1 kB / 431 MB, free: 42.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.2546, allocations: 139.8 kB / 431.2 MB, free: 42.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.2547, allocations: 242.2 kB / 431.4 MB, free: 42.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2547, allocations: 29.83 kB / 431.4 MB, free: 42.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.2548, allocations: 174.3 kB / 431.6 MB, free: 42.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.2548, allocations: 97.89 kB / 431.7 MB, free: 42.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.2549, allocations: 49.33 kB / 431.7 MB, free: 42.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.2549, allocations: 0.5059 MB / 432.2 MB, free: 41.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.255, allocations: 27.62 kB / 432.3 MB, free: 41.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.255, allocations: 111.1 kB / 432.4 MB, free: 41.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.2552, allocations: 157.3 kB / 432.5 MB, free: 41.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2552, allocations: 2.062 kB / 432.5 MB, free: 41.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000194/0.2554, allocations: 181 kB / 432.7 MB, free: 41.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2554, allocations: 8.344 kB / 432.7 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2554, allocations: 0 / 432.7 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.2554, allocations: 3.312 kB / 432.7 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2555, allocations: 49.45 kB / 432.8 MB, free: 41.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2556, allocations: 2.875 kB / 432.8 MB, free: 41.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2557, allocations: 28.22 kB / 432.8 MB, free: 41.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2557, allocations: 7.094 kB / 432.8 MB, free: 41.5 MB / 330.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 6.469e-05/0.2557, allocations: 167.3 kB / 433 MB, free: 41.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.2558, allocations: 36.61 kB / 433 MB, free: 41.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.256, allocations: 216 kB / 433.2 MB, free: 41.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.256, allocations: 0 / 433.2 MB, free: 41.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.256, allocations: 6.125 kB / 433.2 MB, free: 41.28 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.256, allocations: 6.875 kB / 433.2 MB, free: 41.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.2563, allocations: 211.1 kB / 433.4 MB, free: 41.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2563, allocations: 0 / 433.4 MB, free: 41.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.2563, allocations: 41.25 kB / 433.5 MB, free: 41.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2563, allocations: 1.281 kB / 433.5 MB, free: 41.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2564, allocations: 3.375 kB / 433.5 MB, free: 41.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2564, allocations: 5.672 kB / 433.5 MB, free: 41.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2564, allocations: 0 / 433.5 MB, free: 41.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.2566, allocations: 0.6865 MB / 434.2 MB, free: 40.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.2566, allocations: 30.86 kB / 434.2 MB, free: 40.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.2566, allocations: 7.328 kB / 434.2 MB, free: 40.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2568, allocations: 11.75 kB / 434.2 MB, free: 40.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.2568, allocations: 26.94 kB / 434.3 MB, free: 40.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.2568, allocations: 7.172 kB / 434.3 MB, free: 40.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.416e-05/0.2569, allocations: 163.1 kB / 434.4 MB, free: 40.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2569, allocations: 0 / 434.4 MB, free: 40.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001414/0.2583, allocations: 0.8097 MB / 435.2 MB, free: 40.27 MB / 330.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.001974/0.2603, allocations: 1.293 MB / 436.5 MB, free: 40 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.2605, allocations: 136.2 kB / 436.7 MB, free: 39.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2605, allocations: 0 / 436.7 MB, free: 39.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.2606, allocations: 79.97 kB / 436.7 MB, free: 39.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.2612, allocations: 99.27 kB / 436.8 MB, free: 39.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009784/0.2622, allocations: 465.7 kB / 437.3 MB, free: 39.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.2623, allocations: 84.16 kB / 437.4 MB, free: 39.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.2625, allocations: 51.95 kB / 437.4 MB, free: 39.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.2626, allocations: 28 kB / 437.4 MB, free: 39.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.2626, allocations: 0 / 437.4 MB, free: 39.59 MB / 330.7 MB Notification: Performance of Templates: time 0.02031/0.2829, allocations: 24.54 MB / 462 MB, free: 17.36 MB / 330.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.798690176103264]