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.001446/0.001446, allocations: 80.73 kB / 19.43 MB, free: 360 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.001639/0.001639, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.481/1.481, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.0539/0.0539, allocations: 7.511 MB / 267.1 MB, free: 6.016 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.744e-06/1.744e-06, allocations: 0 / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.356e-05, allocations: 2.312 kB / 337.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01778/0.0178, allocations: 16.69 MB / 354.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.03859, allocations: 14.54 MB / 369.1 MB, free: 12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.574e-05/0.03868, allocations: 0 / 369.1 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007606/0.03944, allocations: 254.7 kB / 369.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.03972, allocations: 139.2 kB / 369.5 MB, free: 11.61 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.01972/0.05944, allocations: 7.418 MB / 376.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.05984, allocations: 266.5 kB / 377.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.05988, allocations: 9.312 kB / 377.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.06015, allocations: 143.6 kB / 377.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.06025, allocations: 51.86 kB / 377.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.06026, allocations: 0 / 377.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01587/0.07614, allocations: 7.113 MB / 384.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.07616, allocations: 11.94 kB / 384.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.0763, allocations: 39.94 kB / 384.6 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.0865, allocations: 4.399 MB / 389 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.08651, allocations: 0 / 389 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.948e-06/0.08651, allocations: 4 kB / 389 MB, free: 8.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.08651, allocations: 0 / 389 MB, free: 8.098 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.00203/0.08855, allocations: 0.9029 MB / 389.9 MB, free: 7.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.08858, allocations: 8.625 kB / 389.9 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.08864, allocations: 15.91 kB / 389.9 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.08878, allocations: 117.1 kB / 390 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.08879, allocations: 4 kB / 390 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.0888, allocations: 7.938 kB / 390 MB, free: 6.984 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.08901, allocations: 117.7 kB / 390.1 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.08902, allocations: 7.938 kB / 390.1 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.08903, allocations: 0 / 390.1 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.08904, allocations: 7.984 kB / 390.1 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.08915, allocations: 83.91 kB / 390.2 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.08941, allocations: 184.9 kB / 390.4 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.08956, allocations: 102.9 kB / 390.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.08968, allocations: 85.23 kB / 390.6 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2562/0.3459, allocations: 27.67 MB / 418.3 MB, free: 84.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.3459, allocations: 34.16 kB / 418.3 MB, free: 84.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.3459, allocations: 0 / 418.3 MB, free: 84.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004544/0.3464, allocations: 354.3 kB / 418.6 MB, free: 84.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.3464, allocations: 51.41 kB / 418.7 MB, free: 84.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.3465, allocations: 97.7 kB / 418.8 MB, free: 84.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.3465, allocations: 25.7 kB / 418.8 MB, free: 84.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.526e-05/0.3465, allocations: 81.14 kB / 418.9 MB, free: 84.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.638e-05/0.3466, allocations: 144.7 kB / 419 MB, free: 84.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.3466, allocations: 41.28 kB / 419.1 MB, free: 84.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.3467, allocations: 322.8 kB / 419.4 MB, free: 83.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.3468, allocations: 78.41 kB / 419.5 MB, free: 83.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.616e-05/0.3468, allocations: 85.81 kB / 419.5 MB, free: 83.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.347, allocations: 200.9 kB / 419.7 MB, free: 83.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.347, allocations: 0 / 419.7 MB, free: 83.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002201/0.3472, allocations: 252.8 kB / 420 MB, free: 83.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3472, allocations: 5.656 kB / 420 MB, free: 83.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.3472, allocations: 2.812 kB / 420 MB, free: 83.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3472, allocations: 6.062 kB / 420 MB, free: 83.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3472, allocations: 1.594 kB / 420 MB, free: 83.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3473, allocations: 0 / 420 MB, free: 83.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.3473, allocations: 18.33 kB / 420 MB, free: 83.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.3473, allocations: 2.688 kB / 420 MB, free: 83.5 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 6.261e-05/0.3474, allocations: 117.4 kB / 420.1 MB, free: 83.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.3474, allocations: 21.58 kB / 420.2 MB, free: 83.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.3478, allocations: 392.2 kB / 420.5 MB, free: 83.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.3478, allocations: 5.734 kB / 420.6 MB, free: 83.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3478, allocations: 0 / 420.6 MB, free: 83.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3478, allocations: 7.047 kB / 420.6 MB, free: 83.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.3479, allocations: 177.1 kB / 420.7 MB, free: 82.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3479, allocations: 0 / 420.7 MB, free: 82.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.3479, allocations: 0 / 420.7 MB, free: 82.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3479, allocations: 2.625 kB / 420.7 MB, free: 82.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.348, allocations: 5.844 kB / 420.7 MB, free: 82.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.348, allocations: 0 / 420.7 MB, free: 82.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.348, allocations: 0 / 420.7 MB, free: 82.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.3482, allocations: 242.5 kB / 421 MB, free: 82.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.3482, allocations: 12.25 kB / 421 MB, free: 82.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3482, allocations: 9.547 kB / 421 MB, free: 82.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.17e-05/0.3483, allocations: 0 / 421 MB, free: 82.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.3483, allocations: 13.48 kB / 421 MB, free: 82.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3483, allocations: 0 / 421 MB, free: 82.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.721e-05/0.3483, allocations: 103 kB / 421.1 MB, free: 82.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3483, allocations: 0 / 421.1 MB, free: 82.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002156/0.3505, allocations: 1.111 MB / 422.2 MB, free: 81.88 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.004366/0.3549, allocations: 1.791 MB / 424 MB, free: 80.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.3551, allocations: 163.8 kB / 424.2 MB, free: 80.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3551, allocations: 4 kB / 424.2 MB, free: 80.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.3552, allocations: 67.97 kB / 424.2 MB, free: 80.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000875/0.356, allocations: 165.8 kB / 424.4 MB, free: 79.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.3565, allocations: 289.1 kB / 424.7 MB, free: 79.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.271e-05/0.3565, allocations: 106.3 kB / 424.8 MB, free: 79.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.611e-05/0.3566, allocations: 4 kB / 424.8 MB, free: 79.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.3566, allocations: 19.55 kB / 424.8 MB, free: 79.46 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/0.3566, allocations: 0 / 424.8 MB, free: 79.46 MB / 330.7 MB Notification: Performance of Templates: time 0.03687/0.3935, allocations: 30.09 MB / 454.9 MB, free: 49.58 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.782194833038375]