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.001539/0.001539, allocations: 93.06 kB / 19.65 MB, free: 280 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.001772/0.001772, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.037/1.037, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.04201/0.04201, allocations: 7.515 MB / 267.5 MB, free: 5.992 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 2.003e-06/2.003e-06, allocations: 0 / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.645e-05, allocations: 2.312 kB / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.0125/0.01252, allocations: 18.52 MB / 357.1 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01402/0.02654, allocations: 16.52 MB / 373.7 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.0266, allocations: 4 kB / 373.7 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.02721, allocations: 254.7 kB / 373.9 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.02738, allocations: 135.2 kB / 374 MB, free: 7.445 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01313/0.04052, allocations: 7.418 MB / 381.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.04076, allocations: 266.4 kB / 381.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.04081, allocations: 13.25 kB / 381.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.04098, allocations: 151.6 kB / 381.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.04105, allocations: 47.84 kB / 381.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.04106, allocations: 0 / 381.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009124/0.05019, allocations: 7.109 MB / 389 MB, free: 8.395 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.05021, allocations: 7.938 kB / 389.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.404e-05/0.05029, allocations: 47.94 kB / 389.1 MB, free: 8.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005527/0.05582, allocations: 4.379 MB / 393.5 MB, free: 3.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.05582, allocations: 0 / 393.5 MB, free: 3.949 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.05582, allocations: 0 / 393.5 MB, free: 3.949 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.05583, allocations: 0 / 393.5 MB, free: 3.949 MB / 314.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.001316/0.05714, allocations: 1.01 MB / 394.5 MB, free: 2.898 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.05718, allocations: 8.625 kB / 394.5 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.05723, allocations: 15.91 kB / 394.5 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.05732, allocations: 119.9 kB / 394.6 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.05733, allocations: 7.875 kB / 394.6 MB, free: 2.723 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.05735, allocations: 7.938 kB / 394.6 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.05747, allocations: 69.67 kB / 394.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.05748, allocations: 0 / 394.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.05749, allocations: 0 / 394.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.0575, allocations: 11.98 kB / 394.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.05755, allocations: 28 kB / 394.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.05773, allocations: 180.2 kB / 394.9 MB, free: 2.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.0578, allocations: 59.34 kB / 395 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.05785, allocations: 48.08 kB / 395 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1935/0.2514, allocations: 26.29 MB / 421.3 MB, free: 56.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.2514, allocations: 36.61 kB / 421.4 MB, free: 56.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.447e-06/0.2514, allocations: 0.9844 kB / 421.4 MB, free: 56.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003547/0.2518, allocations: 214.5 kB / 421.6 MB, free: 56.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.2518, allocations: 51.41 kB / 421.6 MB, free: 56.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/0.2519, allocations: 160.4 kB / 421.8 MB, free: 56.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.2519, allocations: 25.7 kB / 421.8 MB, free: 56.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.738e-05/0.2519, allocations: 133.3 kB / 421.9 MB, free: 56.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.08e-05/0.252, allocations: 140 kB / 422.1 MB, free: 55.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.252, allocations: 54.75 kB / 422.1 MB, free: 55.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.719e-05/0.2521, allocations: 0.5006 MB / 422.6 MB, free: 55.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.2521, allocations: 32.56 kB / 422.7 MB, free: 55.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/0.2521, allocations: 37.41 kB / 422.7 MB, free: 55.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.801e-05/0.2522, allocations: 104.9 kB / 422.8 MB, free: 55.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2522, allocations: 0 / 422.8 MB, free: 55.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001309/0.2524, allocations: 163.7 kB / 423 MB, free: 55.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2524, allocations: 9.656 kB / 423 MB, free: 55.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2524, allocations: 2.188 kB / 423 MB, free: 55.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2524, allocations: 0 / 423 MB, free: 55.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-06/0.2524, allocations: 7.594 kB / 423 MB, free: 55.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2524, allocations: 0 / 423 MB, free: 55.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.764e-05/0.2524, allocations: 20.25 kB / 423 MB, free: 55.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2525, allocations: 7.359 kB / 423 MB, free: 55.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 0 * 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 5.37e-05/0.2525, allocations: 158.8 kB / 423.2 MB, free: 55.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.2525, allocations: 16.97 kB / 423.2 MB, free: 55.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.2528, allocations: 382 kB / 423.5 MB, free: 55.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.2528, allocations: 6.547 kB / 423.5 MB, free: 55.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2528, allocations: 7.891 kB / 423.6 MB, free: 55.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2528, allocations: 3.75 kB / 423.6 MB, free: 55.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.077e-05/0.2529, allocations: 165.1 kB / 423.7 MB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2529, allocations: 0 / 423.7 MB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.2529, allocations: 0 / 423.7 MB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2529, allocations: 6.812 kB / 423.7 MB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.2529, allocations: 3.281 kB / 423.7 MB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2529, allocations: 0 / 423.7 MB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2529, allocations: 3.75 kB / 423.7 MB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.2531, allocations: 174 kB / 423.9 MB, free: 54.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.2531, allocations: 23.77 kB / 423.9 MB, free: 54.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.2531, allocations: 7.562 kB / 423.9 MB, free: 54.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.2531, allocations: 0 / 423.9 MB, free: 54.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.2531, allocations: 0 / 423.9 MB, free: 54.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.2531, allocations: 7.125 kB / 423.9 MB, free: 54.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.286e-05/0.2532, allocations: 136.5 kB / 424.1 MB, free: 54.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2532, allocations: 0 / 424.1 MB, free: 54.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00196/0.2551, allocations: 1.111 MB / 425.2 MB, free: 54.67 MB / 330.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.002569/0.2577, allocations: 1.788 MB / 427 MB, free: 54.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.2579, allocations: 101.6 kB / 427.1 MB, free: 54.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2579, allocations: 0 / 427.1 MB, free: 54.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.266e-05/0.2579, allocations: 49.69 kB / 427.1 MB, free: 54.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.2584, allocations: 161.1 kB / 427.3 MB, free: 54.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.2591, allocations: 283.6 kB / 427.6 MB, free: 54.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.2591, allocations: 72.64 kB / 427.6 MB, free: 54.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.2591, allocations: 9.359 kB / 427.6 MB, free: 54.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.2592, allocations: 20.31 kB / 427.7 MB, free: 54.01 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2592, allocations: 0 / 427.7 MB, free: 54.01 MB / 330.7 MB Notification: Performance of Templates: time 0.02458/0.2837, allocations: 30.26 MB / 457.9 MB, free: 28.74 MB / 330.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.809268204960972]