Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_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.0009477/0.0009477, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008938/0.0008938, allocations: 173 kB / 23.49 MB, free: 1.055 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.8918/0.8918, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.03041/0.03041, allocations: 7.521 MB / 267.8 MB, free: 6.078 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.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") translateModel(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 338.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.624e-05, allocations: 2.312 kB / 338.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.01439/0.01441, allocations: 18.04 MB / 356.7 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.026, allocations: 17.1 MB / 373.8 MB, free: 9.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.02608, allocations: 0 / 373.8 MB, free: 9.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.02658, allocations: 246.6 kB / 374 MB, free: 8.891 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.02692, allocations: 226.6 kB / 374.2 MB, free: 8.668 MB / 346.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.01056/0.03748, allocations: 7.511 MB / 381.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.03771, allocations: 298.2 kB / 382 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.03775, allocations: 5.812 kB / 382 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.03794, allocations: 179.5 kB / 382.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.038, allocations: 59.84 kB / 382.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.03802, allocations: 4 kB / 382.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007598/0.04561, allocations: 7.343 MB / 389.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.04564, allocations: 11.92 kB / 389.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.04572, allocations: 59.88 kB / 389.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00486/0.05058, allocations: 4.481 MB / 394.2 MB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.05058, allocations: 4 kB / 394.2 MB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.05059, allocations: 0 / 394.2 MB, free: 4.664 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.05059, allocations: 0 / 394.2 MB, free: 4.664 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001135/0.05173, allocations: 1.045 MB / 395.2 MB, free: 3.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.05176, allocations: 8.625 kB / 395.2 MB, free: 3.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.05181, allocations: 15.91 kB / 395.2 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.605e-05/0.05189, allocations: 123.9 kB / 395.4 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.0519, allocations: 8 kB / 395.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.05191, allocations: 7.938 kB / 395.4 MB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.05209, allocations: 138.5 kB / 395.5 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.05209, allocations: 4 kB / 395.5 MB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.0521, allocations: 4 kB / 395.5 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.05212, allocations: 7.984 kB / 395.5 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.778e-05/0.05216, allocations: 39.95 kB / 395.6 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.05257, allocations: 0.5176 MB / 396.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.742e-05/0.05264, allocations: 63.05 kB / 396.2 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.05268, allocations: 43.64 kB / 396.2 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05273/0.1054, allocations: 24.65 MB / 420.8 MB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1054, allocations: 45.38 kB / 420.9 MB, free: 9.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.1054, allocations: 4 kB / 420.9 MB, free: 9.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003183/0.1058, allocations: 225.9 kB / 421.1 MB, free: 9.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.1058, allocations: 51.41 kB / 421.2 MB, free: 9.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.1059, allocations: 181.9 kB / 421.3 MB, free: 9.258 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1059, allocations: 29.69 kB / 421.4 MB, free: 9.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.106, allocations: 139.8 kB / 421.5 MB, free: 9.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.106, allocations: 142.8 kB / 421.6 MB, free: 8.941 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.1061, allocations: 51.34 kB / 421.7 MB, free: 8.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1062, allocations: 0.5079 MB / 422.2 MB, free: 8.363 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-05/0.1062, allocations: 28 kB / 422.2 MB, free: 8.336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.1063, allocations: 86.97 kB / 422.3 MB, free: 8.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1064, allocations: 134.7 kB / 422.4 MB, free: 8.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1064, allocations: 0 / 422.4 MB, free: 8.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001751/0.1066, allocations: 173 kB / 422.6 MB, free: 7.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1066, allocations: 8 kB / 422.6 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1066, allocations: 0 / 422.6 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1066, allocations: 0 / 422.6 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/0.1067, allocations: 8 kB / 422.6 MB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1067, allocations: 8.047 kB / 422.6 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.1067, allocations: 27.78 kB / 422.7 MB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1067, allocations: 7.938 kB / 422.7 MB, free: 7.859 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 3 * 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.226e-05/0.1068, allocations: 164.5 kB / 422.8 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.1068, allocations: 15.91 kB / 422.9 MB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.1071, allocations: 222.8 kB / 423.1 MB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.1071, allocations: 7.969 kB / 423.1 MB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1071, allocations: 0 / 423.1 MB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1071, allocations: 4 kB / 423.1 MB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.1072, allocations: 176.4 kB / 423.3 MB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1072, allocations: 0 / 423.3 MB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.1073, allocations: 7.984 kB / 423.3 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1073, allocations: 0 / 423.3 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1073, allocations: 8 kB / 423.3 MB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1073, allocations: 0 / 423.3 MB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1073, allocations: 0 / 423.3 MB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.1075, allocations: 335.2 kB / 423.6 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.1075, allocations: 27.83 kB / 423.6 MB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1075, allocations: 4 kB / 423.6 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.1076, allocations: 8 kB / 423.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1076, allocations: 11.92 kB / 423.6 MB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.1076, allocations: 4 kB / 423.7 MB, free: 6.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.1077, allocations: 139.5 kB / 423.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1077, allocations: 0 / 423.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001678/0.1093, allocations: 1.129 MB / 424.9 MB, free: 5.547 MB / 394.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 (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 Backend phase and start with SimCode phase: time 0.00295/0.1123, allocations: 1.835 MB / 426.8 MB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1125, allocations: 165 kB / 426.9 MB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1125, allocations: 0 / 426.9 MB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.895e-05/0.1126, allocations: 97.36 kB / 427 MB, free: 3.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.1131, allocations: 148.5 kB / 427.2 MB, free: 3.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/0.1138, allocations: 307.5 kB / 427.5 MB, free: 2.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.597e-05/0.1138, allocations: 84.2 kB / 427.5 MB, free: 2.836 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.1139, allocations: 11.97 kB / 427.5 MB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.1139, allocations: 20.44 kB / 427.6 MB, free: 2.801 MB / 394.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1139, allocations: 0 / 427.6 MB, free: 2.801 MB / 394.7 MB Notification: Performance of Templates: time 0.1204/0.2343, allocations: 30.62 MB / 458.2 MB, free: 142.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6811229980085045]