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.0008999/0.0008999, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.0009413/0.0009413, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9131/0.9131, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.03084/0.03084, allocations: 7.534 MB / 267.8 MB, free: 5.852 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.933e-06/1.933e-06, allocations: 0 / 339.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.254e-05, allocations: 2.312 kB / 339.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01809/0.01811, allocations: 18.21 MB / 357.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.03489, allocations: 16.2 MB / 373.5 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.035, allocations: 0 / 373.5 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.03572, allocations: 250.7 kB / 373.7 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.03598, allocations: 139.2 kB / 373.9 MB, free: 7.824 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.01769/0.05368, allocations: 7.418 MB / 381.3 MB, free: 380 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.054, allocations: 262.5 kB / 381.5 MB, free: 116 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.05405, allocations: 13.27 kB / 381.6 MB, free: 100 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.05431, allocations: 143.6 kB / 381.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.818e-05/0.0544, allocations: 47.84 kB / 381.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.05441, allocations: 4 kB / 381.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/0.06751, allocations: 7.129 MB / 388.9 MB, free: 8.762 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.06753, allocations: 11.94 kB / 388.9 MB, free: 8.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.06764, allocations: 39.94 kB / 388.9 MB, free: 8.711 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008082/0.07572, allocations: 4.379 MB / 393.3 MB, free: 4.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.07572, allocations: 0 / 393.3 MB, free: 4.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.07573, allocations: 0 / 393.3 MB, free: 4.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.07573, allocations: 0 / 393.3 MB, free: 4.32 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.001709/0.07744, allocations: 1.01 MB / 394.3 MB, free: 3.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.07748, allocations: 12.62 kB / 394.3 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.07753, allocations: 15.91 kB / 394.3 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.07764, allocations: 119.9 kB / 394.5 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.07766, allocations: 4 kB / 394.5 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.07767, allocations: 11.88 kB / 394.5 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.07778, allocations: 53.69 kB / 394.5 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.07779, allocations: 4 kB / 394.5 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.0778, allocations: 0 / 394.5 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.07781, allocations: 3.984 kB / 394.5 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.07786, allocations: 35.92 kB / 394.6 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.07806, allocations: 152.8 kB / 394.7 MB, free: 2.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.07813, allocations: 55.39 kB / 394.8 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.07817, allocations: 32.03 kB / 394.8 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2101/0.2882, allocations: 22.03 MB / 416.8 MB, free: 56.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2882, allocations: 35.47 kB / 416.9 MB, free: 56.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.2882, allocations: 1.406 kB / 416.9 MB, free: 56.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002286/0.2885, allocations: 195 kB / 417.1 MB, free: 56.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.31e-05/0.2885, allocations: 57.34 kB / 417.1 MB, free: 56.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.709e-05/0.2885, allocations: 164.8 kB / 417.3 MB, free: 56.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-06/0.2885, allocations: 25.7 kB / 417.3 MB, free: 56.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.749e-05/0.2885, allocations: 127.9 kB / 417.4 MB, free: 56.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.2886, allocations: 140.2 kB / 417.6 MB, free: 56.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.2886, allocations: 50.61 kB / 417.6 MB, free: 56.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.2887, allocations: 0.5008 MB / 418.1 MB, free: 55.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.2887, allocations: 23.86 kB / 418.1 MB, free: 55.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/0.2887, allocations: 29.12 kB / 418.2 MB, free: 55.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.643e-05/0.2888, allocations: 92.88 kB / 418.3 MB, free: 55.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2888, allocations: 0 / 418.3 MB, free: 55.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001705/0.289, allocations: 146.2 kB / 418.4 MB, free: 55.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.289, allocations: 6.5 kB / 418.4 MB, free: 55.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.289, allocations: 3.375 kB / 418.4 MB, free: 55.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.289, allocations: 1.344 kB / 418.4 MB, free: 55.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-06/0.289, allocations: 2.562 kB / 418.4 MB, free: 55.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-06/0.289, allocations: 1.438 kB / 418.4 MB, free: 55.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.2891, allocations: 19.06 kB / 418.4 MB, free: 55.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.2891, allocations: 6.422 kB / 418.4 MB, free: 55.56 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 4.621e-05/0.2891, allocations: 164.6 kB / 418.6 MB, free: 55.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.2891, allocations: 16.09 kB / 418.6 MB, free: 55.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.2894, allocations: 374.9 kB / 419 MB, free: 55.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.2894, allocations: 8.375 kB / 419 MB, free: 55.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.2894, allocations: 1.156 kB / 419 MB, free: 55.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2894, allocations: 1.078 kB / 419 MB, free: 55.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.478e-05/0.2895, allocations: 147.5 kB / 419.1 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2895, allocations: 0.9375 kB / 419.1 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.2895, allocations: 5 kB / 419.1 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.2895, allocations: 0 / 419.1 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.2895, allocations: 2.266 kB / 419.1 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2895, allocations: 8.312 kB / 419.2 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2895, allocations: 0 / 419.2 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.2896, allocations: 166.5 kB / 419.3 MB, free: 55.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.2896, allocations: 17.92 kB / 419.3 MB, free: 55.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.2897, allocations: 3.594 kB / 419.3 MB, free: 55.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.922e-05/0.2897, allocations: 0 / 419.3 MB, free: 55.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.2897, allocations: 3.953 kB / 419.3 MB, free: 55.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.2897, allocations: 2.031 kB / 419.3 MB, free: 55.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.037e-05/0.2897, allocations: 139.4 kB / 419.5 MB, free: 54.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2897, allocations: 0 / 419.5 MB, free: 54.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001901/0.2916, allocations: 1.112 MB / 420.6 MB, free: 54.92 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.00275/0.2944, allocations: 1.843 MB / 422.4 MB, free: 54.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.2945, allocations: 90.89 kB / 422.5 MB, free: 54.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2945, allocations: 0 / 422.5 MB, free: 54.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.2945, allocations: 47.31 kB / 422.6 MB, free: 54.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.2949, allocations: 160.6 kB / 422.7 MB, free: 54.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.2954, allocations: 279.1 kB / 423 MB, free: 54.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.679e-05/0.2955, allocations: 76.55 kB / 423.1 MB, free: 54.31 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.2955, allocations: 10.42 kB / 423.1 MB, free: 54.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.2957, allocations: 171.7 kB / 423.2 MB, free: 54.24 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2957, allocations: 0 / 423.2 MB, free: 54.24 MB / 330.7 MB Notification: Performance of Templates: time 0.0289/0.3246, allocations: 36.59 MB / 459.8 MB, free: 26.52 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.735823443159461]