Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.0008608/0.0008608, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0008945/0.0008945, allocations: 177 kB / 23.36 MB, free: 1.133 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.9068/0.9068, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.03047/0.03047, allocations: 7.534 MB / 267.8 MB, free: 5.887 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.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") translateModel(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 285.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.429e-05, allocations: 9.203 kB / 285.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.1107/0.1107, allocations: 18.41 MB / 304.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009116/0.1198, allocations: 16.35 MB / 320.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.1199, allocations: 4 kB / 320.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.1204, allocations: 260 kB / 320.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.1205, allocations: 135.2 kB / 321 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01261/0.1331, allocations: 6.997 MB / 328 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1334, allocations: 258.4 kB / 328.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.1334, allocations: 9.969 kB / 328.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.1336, allocations: 143.6 kB / 328.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.1337, allocations: 51.84 kB / 328.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1337, allocations: 4 kB / 328.5 MB, free: 6.57 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'RSS_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: 'lambda_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: 'RSS_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: 'lambda_ls' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.1439, allocations: 7.575 MB / 336 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.1439, allocations: 11.88 kB / 336 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.144, allocations: 43.94 kB / 336.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008552/0.1525, allocations: 4.375 MB / 340.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1526, allocations: 0 / 340.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1526, allocations: 0 / 340.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1526, allocations: 0 / 340.5 MB, free: 10.54 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00136/0.1539, allocations: 0.8817 MB / 341.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.154, allocations: 16.62 kB / 341.4 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.154, allocations: 7.984 kB / 341.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.423e-05/0.1541, allocations: 124.9 kB / 341.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1541, allocations: 4 kB / 341.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.1541, allocations: 7.938 kB / 341.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.752e-05/0.1542, allocations: 64.5 kB / 341.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1542, allocations: 0 / 341.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.1542, allocations: 0 / 341.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.1542, allocations: 11.98 kB / 341.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.1542, allocations: 20 kB / 341.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.1543, allocations: 118.5 kB / 341.7 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.611e-05/0.1544, allocations: 50.52 kB / 341.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.1544, allocations: 29.55 kB / 341.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1119/0.2663, allocations: 54.67 MB / 396.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.2664, allocations: 34.56 kB / 396.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 1.784e-06/0.2664, allocations: 0 / 396.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.00027/0.2666, allocations: 209.4 kB / 396.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.2667, allocations: 59.41 kB / 396.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.2667, allocations: 110.6 kB / 396.9 MB, free: 1.941 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.2667, allocations: 25.7 kB / 396.9 MB, free: 1.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.2668, allocations: 85.08 kB / 397 MB, free: 1.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.2669, allocations: 130.8 kB / 397.1 MB, free: 1.695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.2669, allocations: 41.66 kB / 397.1 MB, free: 1.648 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.267, allocations: 330.7 kB / 397.5 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.2671, allocations: 34.77 kB / 397.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.474e-05/0.2671, allocations: 46.7 kB / 397.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.2672, allocations: 104.3 kB / 397.6 MB, free: 1.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2672, allocations: 4 kB / 397.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001911/0.2674, allocations: 135.9 kB / 397.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2674, allocations: 7.984 kB / 397.8 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2674, allocations: 0 / 397.8 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2674, allocations: 4 kB / 397.8 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.441e-05/0.2675, allocations: 1.375 kB / 397.8 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.2675, allocations: 0 / 397.8 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.2675, allocations: 15.84 kB / 397.8 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2675, allocations: 4 kB / 397.8 MB, free: 0.9453 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 7.19e-05/0.2676, allocations: 121.8 kB / 397.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.2676, allocations: 7.984 kB / 397.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.2679, allocations: 291.9 kB / 398.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.2679, allocations: 11.98 kB / 398.2 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.2679, allocations: 0 / 398.2 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2679, allocations: 0 / 398.2 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.2681, allocations: 117.6 kB / 398.4 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2681, allocations: 0 / 398.4 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-06/0.2681, allocations: 4.625 kB / 398.4 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2681, allocations: 0 / 398.4 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.2681, allocations: 4 kB / 398.4 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2681, allocations: 4 kB / 398.4 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2681, allocations: 0 / 398.4 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.2683, allocations: 148.4 kB / 398.5 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.2683, allocations: 15.84 kB / 398.5 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2683, allocations: 7.938 kB / 398.5 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.105e-05/0.2683, allocations: 4 kB / 398.5 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.2683, allocations: 3.984 kB / 398.5 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2684, allocations: 4 kB / 398.5 MB, free: 144 kB / 346.7 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.2684, allocations: 22.61 kB / 398.6 MB, free: 120 kB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2684, allocations: 4 kB / 398.6 MB, free: 116 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.002289/0.2707, allocations: 1.168 MB / 399.7 MB, free: 14.94 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003805/0.2745, allocations: 1.978 MB / 401.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.2746, allocations: 106.5 kB / 401.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.2747, allocations: 4 kB / 401.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.579e-05/0.2747, allocations: 36.83 kB / 401.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.2752, allocations: 157.5 kB / 402 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.2759, allocations: 289.6 kB / 402.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.271e-05/0.2759, allocations: 76.28 kB / 402.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.813e-05/0.276, allocations: 10.11 kB / 402.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.2762, allocations: 137.2 kB / 402.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.2762, allocations: 0 / 402.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of Templates: time 0.1398/0.416, allocations: 36.99 MB / 439.5 MB, free: 122.6 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.691243326291442]