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.001281/0.001281, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001522/0.001522, allocations: 173 kB / 23.36 MB, free: 1.133 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.06/1.06, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.03023/0.03023, allocations: 7.532 MB / 267.8 MB, free: 5.902 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.713e-06/1.713e-06, allocations: 0 / 285.8 MB, free: 3.871 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.342e-05, allocations: 5.266 kB / 285.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.1583/0.1584, allocations: 18.36 MB / 304.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.1703, allocations: 16.35 MB / 320.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.1706, allocations: 4 kB / 320.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007748/0.1713, allocations: 260 kB / 320.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.1716, allocations: 139.2 kB / 320.9 MB, free: 14.18 MB / 282.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.01881/0.1904, allocations: 7.457 MB / 328.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.1907, allocations: 262.5 kB / 328.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.1908, allocations: 5.969 kB / 328.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.191, allocations: 151.6 kB / 328.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.045e-05/0.191, allocations: 47.91 kB / 328.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.191, allocations: 0 / 328.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01235/0.2034, allocations: 7.086 MB / 335.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.2034, allocations: 7.938 kB / 335.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.2036, allocations: 47.88 kB / 336 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.2151, allocations: 4.379 MB / 340.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.2151, allocations: 0 / 340.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2151, allocations: 0 / 340.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2151, allocations: 0 / 340.4 MB, free: 10.7 MB / 298.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.001696/0.2168, allocations: 0.8817 MB / 341.2 MB, free: 9.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.2168, allocations: 12.62 kB / 341.2 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.2169, allocations: 11.92 kB / 341.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.217, allocations: 124.9 kB / 341.4 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.217, allocations: 10.11 kB / 341.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.217, allocations: 3.938 kB / 341.4 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.2171, allocations: 64.5 kB / 341.5 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.2171, allocations: 0 / 341.5 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.2171, allocations: 0.6875 kB / 341.5 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2171, allocations: 11.98 kB / 341.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.2172, allocations: 20 kB / 341.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.2173, allocations: 122.3 kB / 341.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.901e-05/0.2173, allocations: 46.52 kB / 341.7 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.696e-05/0.2174, allocations: 28.86 kB / 341.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1168/0.3342, allocations: 54.67 MB / 396.4 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.3342, allocations: 32.56 kB / 396.4 MB, free: 2.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 3.627e-06/0.3342, allocations: 0 / 396.4 MB, free: 2.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.0003025/0.3345, allocations: 213.4 kB / 396.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.3346, allocations: 55.41 kB / 396.6 MB, free: 2.227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.3347, allocations: 106.7 kB / 396.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.3347, allocations: 25.7 kB / 396.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.3347, allocations: 93.06 kB / 396.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.533e-05/0.3348, allocations: 130.7 kB / 397 MB, free: 1.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.3348, allocations: 45.66 kB / 397 MB, free: 1.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.335, allocations: 330.7 kB / 397.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.144e-05/0.335, allocations: 26.83 kB / 397.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.3351, allocations: 46.7 kB / 397.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3352, allocations: 100.4 kB / 397.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3352, allocations: 4 kB / 397.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001921/0.3354, allocations: 139.9 kB / 397.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3354, allocations: 4 kB / 397.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.3354, allocations: 7.141 kB / 397.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3354, allocations: 0 / 397.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.569e-05/0.3355, allocations: 4 kB / 397.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.3355, allocations: 0 / 397.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.3355, allocations: 15.84 kB / 397.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3355, allocations: 0 / 397.7 MB, free: 1.113 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 9.838e-05/0.3356, allocations: 130.5 kB / 397.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.3356, allocations: 7.984 kB / 397.8 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.336, allocations: 288.1 kB / 398.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.336, allocations: 7.984 kB / 398.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.336, allocations: 4.625 kB / 398.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.336, allocations: 0 / 398.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.3362, allocations: 121.6 kB / 398.2 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3362, allocations: 0 / 398.2 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.3362, allocations: 0 / 398.2 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3362, allocations: 4.75 kB / 398.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.3362, allocations: 4 kB / 398.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3362, allocations: 0 / 398.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3362, allocations: 0 / 398.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.3363, allocations: 146.4 kB / 398.4 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.3364, allocations: 19.84 kB / 398.4 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3364, allocations: 4.875 kB / 398.4 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.26e-05/0.3364, allocations: 4 kB / 398.4 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.3364, allocations: 7.984 kB / 398.4 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.3364, allocations: 0 / 398.4 MB, free: 312 kB / 346.7 MB Notification: Performance of sorting global known variables: time 3.062e-05/0.3365, allocations: 26.64 kB / 398.5 MB, free: 284 kB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3365, allocations: 4 kB / 398.5 MB, free: 280 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.003227/0.3397, allocations: 1.168 MB / 399.6 MB, free: 15.1 MB / 362.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.00471/0.3444, allocations: 1.973 MB / 401.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.3446, allocations: 107.7 kB / 401.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3446, allocations: 0 / 401.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.3447, allocations: 40.83 kB / 401.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/0.3452, allocations: 157.6 kB / 401.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.3461, allocations: 288.4 kB / 402.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.479e-05/0.3461, allocations: 72.34 kB / 402.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.49e-05/0.3462, allocations: 8 kB / 402.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.3465, allocations: 141.2 kB / 402.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3465, allocations: 0 / 402.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Templates: time 0.1632/0.5096, allocations: 36.99 MB / 439.4 MB, free: 122.7 MB / 378.7 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.529847993049771]