Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.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.001269/0.001269, allocations: 79.03 kB / 19.18 MB, free: 2.527 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.001391/0.001391, allocations: 170.4 kB / 22.46 MB, free: 5.359 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.387/1.387, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.04838/0.04838, allocations: 7.512 MB / 266.7 MB, free: 9.652 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.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 392.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.582e-05, allocations: 6.281 kB / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01964/0.01966, allocations: 15.38 MB / 407.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.03092, allocations: 9.269 MB / 416.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.03097, allocations: 0 / 416.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.03161, allocations: 243.3 kB / 417.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.96e-05/0.03166, allocations: 31.83 kB / 417.1 MB, free: 1.391 MB / 334.1 MB [/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.01553/0.04719, allocations: 6.031 MB / 423.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.0473, allocations: 55.66 kB / 423.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.04734, allocations: 0 / 423.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.04746, allocations: 43.84 kB / 423.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.04751, allocations: 11.94 kB / 423.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.04752, allocations: 0 / 423.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/0.0583, allocations: 6.142 MB / 429.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.05831, allocations: 0 / 429.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.05835, allocations: 8 kB / 429.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006412/0.06476, allocations: 3.608 MB / 433 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.06476, allocations: 0 / 433 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.06476, allocations: 0 / 433 MB, free: 1.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.06477, allocations: 0 / 433 MB, free: 1.469 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001328/0.0661, allocations: 0.6972 MB / 433.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.06613, allocations: 12.62 kB / 433.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.06616, allocations: 7.938 kB / 433.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.06628, allocations: 117.1 kB / 433.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.06629, allocations: 0 / 433.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.06629, allocations: 3.984 kB / 433.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.06639, allocations: 41.69 kB / 433.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.0664, allocations: 0 / 433.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.06641, allocations: 0 / 433.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.06641, allocations: 0 / 433.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.824e-05/0.06644, allocations: 12 kB / 433.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.06659, allocations: 113.2 kB / 434 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.739e-05/0.06664, allocations: 34.52 kB / 434.1 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.06667, allocations: 20.88 kB / 434.1 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04574/0.1124, allocations: 9.723 MB / 443.8 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.1124, allocations: 34.5 kB / 443.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.1124, allocations: 0 / 443.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002261/0.1127, allocations: 85.56 kB / 443.9 MB, free: 6.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1127, allocations: 51.41 kB / 444 MB, free: 6.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.1128, allocations: 101.8 kB / 444.1 MB, free: 6.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1128, allocations: 25.7 kB / 444.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.1129, allocations: 80.14 kB / 444.2 MB, free: 6.152 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.1129, allocations: 23.84 kB / 444.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.1129, allocations: 17.66 kB / 444.2 MB, free: 6.105 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1131, allocations: 314.8 kB / 444.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.1131, allocations: 16 kB / 444.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.1131, allocations: 12.16 kB / 444.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.861e-05/0.1132, allocations: 40.88 kB / 444.6 MB, free: 5.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1132, allocations: 0 / 444.6 MB, free: 5.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001031/0.1133, allocations: 65.62 kB / 444.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1133, allocations: 4 kB / 444.7 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1133, allocations: 0 / 444.7 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1133, allocations: 0 / 444.7 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-06/0.1133, allocations: 4 kB / 444.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1133, allocations: 0 / 444.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.1134, allocations: 11.83 kB / 444.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1134, allocations: 0 / 444.7 MB, free: 5.629 MB / 366.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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 8.693e-05/0.1135, allocations: 113.9 kB / 444.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1135, allocations: 3.984 kB / 444.8 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.1136, allocations: 171 kB / 445 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.237e-05/0.1137, allocations: 180.3 kB / 445.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.321e-05/0.1138, allocations: 184.2 kB / 445.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.101e-05/0.1139, allocations: 188.1 kB / 445.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.1142, allocations: 360.8 kB / 445.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-05/0.1142, allocations: 108.9 kB / 446 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.1143, allocations: 101 kB / 446 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-05/0.1143, allocations: 176.3 kB / 446.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/0.1144, allocations: 188.4 kB / 446.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.453e-05/0.1145, allocations: 184.3 kB / 446.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.843e-05/0.1146, allocations: 184.2 kB / 446.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.1147, allocations: 303.8 kB / 447.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.1148, allocations: 108.9 kB / 447.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.1149, allocations: 200.1 kB / 447.4 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.115, allocations: 104.9 kB / 447.5 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.1151, allocations: 180.2 kB / 447.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.1151, allocations: 108.9 kB / 447.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.913e-05/0.1152, allocations: 103.2 kB / 447.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1152, allocations: 0 / 447.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002042/0.1172, allocations: 0.8761 MB / 448.7 MB, free: 1.371 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.1397/0.2569, allocations: 1.54 MB / 450.3 MB, free: 68.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.257, allocations: 15.16 kB / 450.3 MB, free: 68.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.257, allocations: 1.438 kB / 450.3 MB, free: 68.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.257, allocations: 2.719 kB / 450.3 MB, free: 68.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.2575, allocations: 492.9 kB / 450.8 MB, free: 67.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.2577, allocations: 191.2 kB / 451 MB, free: 67.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.238e-05/0.2577, allocations: 62.28 kB / 451 MB, free: 67.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.734e-05/0.2578, allocations: 2.266 kB / 451 MB, free: 67.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.2578, allocations: 12.97 kB / 451 MB, free: 67.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2578, allocations: 0 / 451 MB, free: 67.38 MB / 366.1 MB Notification: Performance of Templates: time 0.02838/0.2861, allocations: 23.7 MB / 474.7 MB, free: 52.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.000196136534214] Failed to read output from testmodel.py, exit status != 0: 0.29407453536987305 0.30267105299999997 0.23575296899999995 Calling exit ...