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.00135/0.00135, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001543/0.001543, allocations: 214 kB / 22.25 MB, free: 5.117 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.397/1.397, 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.05534/0.05534, allocations: 9.134 MB / 321.6 MB, free: 10.43 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.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 0.002127/0.002127, allocations: 67.89 kB / 447.1 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1127, allocations: 54.95 MB / 0.4903 GB, free: 9.496 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.02423/0.137, allocations: 18.54 MB / 0.5084 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.243/0.3799, allocations: 16.43 MB / 0.5244 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.38, allocations: 0 / 0.5244 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000835/0.3809, allocations: 335.2 kB / 0.5247 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.3811, allocations: 124.2 kB / 0.5248 GB, free: 7.297 MB / 382.1 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.02045/0.4015, allocations: 7.47 MB / 0.5321 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.4019, allocations: 249.9 kB / 0.5324 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.402, allocations: 5.953 kB / 0.5324 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.4021, allocations: 105.7 kB / 0.5325 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.4023, allocations: 54.95 kB / 0.5325 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.4023, allocations: 6.688 kB / 0.5325 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0195/0.4218, allocations: 10.54 MB / 0.5428 GB, free: 3.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.4218, allocations: 10.17 kB / 0.5428 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.422, allocations: 67.33 kB / 0.5429 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.4339, allocations: 4.275 MB / 0.5471 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4339, allocations: 5.094 kB / 0.5471 GB, free: 1.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4339, allocations: 1.5 kB / 0.5471 GB, free: 1.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.4339, allocations: 0 / 0.5471 GB, free: 1.473 MB / 382.1 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.002444/0.4364, allocations: 0.9071 MB / 0.548 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4364, allocations: 13.08 kB / 0.548 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.4365, allocations: 17.53 kB / 0.548 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.4366, allocations: 123.5 kB / 0.5481 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.4366, allocations: 1.156 kB / 0.5481 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.4366, allocations: 2.344 kB / 0.5481 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.4369, allocations: 118.7 kB / 0.5482 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4369, allocations: 0 / 0.5482 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4369, allocations: 1.031 kB / 0.5482 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.4369, allocations: 10.39 kB / 0.5482 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.437, allocations: 80.62 kB / 0.5483 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.4373, allocations: 230 kB / 0.5485 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.4375, allocations: 100.8 kB / 0.5486 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.4375, allocations: 84.27 kB / 0.5487 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1221/0.5597, allocations: 27.46 MB / 0.5755 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.5597, allocations: 30.56 kB / 0.5756 GB, free: 8.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.625e-06/0.5597, allocations: 0 / 0.5756 GB, free: 8.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0005654/0.5603, allocations: 353 kB / 0.5759 GB, free: 8.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.5603, allocations: 59.33 kB / 0.576 GB, free: 8.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.5604, allocations: 93.86 kB / 0.576 GB, free: 8.441 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.5604, allocations: 29.7 kB / 0.5761 GB, free: 8.406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.5605, allocations: 81.14 kB / 0.5762 GB, free: 8.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.5606, allocations: 137.7 kB / 0.5763 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.5606, allocations: 33.7 kB / 0.5763 GB, free: 8.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5608, allocations: 327 kB / 0.5766 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/0.5609, allocations: 83.97 kB / 0.5767 GB, free: 7.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.561, allocations: 83.75 kB / 0.5768 GB, free: 7.656 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.5612, allocations: 213.8 kB / 0.577 GB, free: 7.445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5612, allocations: 0 / 0.577 GB, free: 7.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002781/0.5615, allocations: 237.3 kB / 0.5772 GB, free: 7.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5615, allocations: 8 kB / 0.5772 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5615, allocations: 0 / 0.5772 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.5615, allocations: 1.453 kB / 0.5772 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.5615, allocations: 0 / 0.5772 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5615, allocations: 0 / 0.5772 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.707e-05/0.5616, allocations: 19.84 kB / 0.5772 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.5616, allocations: 11.92 kB / 0.5773 GB, free: 7.168 MB / 414.1 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 0.0001256/0.5618, allocations: 117.8 kB / 0.5774 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.5618, allocations: 15.84 kB / 0.5774 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.5622, allocations: 389.7 kB / 0.5778 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.5623, allocations: 4 kB / 0.5778 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5623, allocations: 0 / 0.5778 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5623, allocations: 7.984 kB / 0.5778 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.5625, allocations: 216 kB / 0.578 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5625, allocations: 3.375 kB / 0.578 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-06/0.5625, allocations: 7.938 kB / 0.578 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5625, allocations: 0 / 0.578 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.5625, allocations: 0 / 0.578 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5625, allocations: 0 / 0.578 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5625, allocations: 0 / 0.578 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.5628, allocations: 240.6 kB / 0.5782 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.5628, allocations: 15.89 kB / 0.5782 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.5628, allocations: 8.609 kB / 0.5782 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.5628, allocations: 0 / 0.5782 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.5629, allocations: 3.984 kB / 0.5782 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.5629, allocations: 4 kB / 0.5782 GB, free: 6.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.5629, allocations: 99.27 kB / 0.5783 GB, free: 5.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5629, allocations: 3.938 kB / 0.5783 GB, free: 5.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003384/0.5663, allocations: 1.11 MB / 0.5794 GB, free: 4.855 MB / 414.1 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.004695/0.571, allocations: 1.627 MB / 0.581 GB, free: 3.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.5713, allocations: 175.7 kB / 0.5812 GB, free: 3.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5713, allocations: 0 / 0.5812 GB, free: 3.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.5714, allocations: 67.98 kB / 0.5812 GB, free: 3.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008539/0.5723, allocations: 158.5 kB / 0.5814 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.5729, allocations: 298 kB / 0.5817 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.5732, allocations: 0.7206 MB / 0.5824 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.493e-05/0.5733, allocations: 11.08 kB / 0.5824 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.5733, allocations: 15.44 kB / 0.5824 GB, free: 1.906 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5733, allocations: 0 / 0.5824 GB, free: 1.906 MB / 414.1 MB Notification: Performance of Templates: time 0.04427/0.6176, allocations: 29.74 MB / 0.6115 GB, free: 4.289 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.928713045082986] Failed to read output from testmodel.py, exit status != 0: 0.6257655937224627 0.640257885 0.20316299100000001 Calling exit ...