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.002408/0.002408, allocations: 89.48 kB / 19.44 MB, free: 336 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.002926/0.002926, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.709/1.709, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.06008/0.06008, allocations: 7.514 MB / 267.1 MB, free: 6.039 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.923e-06/1.923e-06, allocations: 0 / 337.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.727e-05, allocations: 5.406 kB / 337.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01914/0.01917, allocations: 18.48 MB / 356.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02214/0.04132, allocations: 16.54 MB / 372.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.04144, allocations: 0 / 372.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007753/0.04221, allocations: 258.7 kB / 373.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.04248, allocations: 131.3 kB / 373.3 MB, free: 7.84 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.01938/0.06186, allocations: 7.422 MB / 380.7 MB, free: 392 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.06222, allocations: 254.5 kB / 381 MB, free: 136 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.06227, allocations: 9.312 kB / 381 MB, free: 124 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.06253, allocations: 151.6 kB / 381.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.06265, allocations: 47.84 kB / 381.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.06267, allocations: 4 kB / 381.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01546/0.07813, allocations: 7.113 MB / 388.3 MB, free: 8.793 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.07816, allocations: 11.88 kB / 388.3 MB, free: 8.781 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.07831, allocations: 47.92 kB / 388.3 MB, free: 8.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.09002, allocations: 4.391 MB / 392.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.09003, allocations: 0 / 392.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.09003, allocations: 0 / 392.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.09003, allocations: 0 / 392.7 MB, free: 4.332 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.002398/0.09243, allocations: 1.01 MB / 393.7 MB, free: 3.281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.09247, allocations: 12.62 kB / 393.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.09254, allocations: 11.91 kB / 393.8 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.09267, allocations: 115.9 kB / 393.9 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.09269, allocations: 12 kB / 393.9 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.0927, allocations: 7.922 kB / 393.9 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.09286, allocations: 61.69 kB / 394 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.09287, allocations: 0 / 394 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.09288, allocations: 3.984 kB / 394 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.0929, allocations: 11.98 kB / 394 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.817e-05/0.09297, allocations: 31.94 kB / 394 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.09323, allocations: 172.2 kB / 394.2 MB, free: 2.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.09333, allocations: 55.41 kB / 394.2 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.0934, allocations: 48.08 kB / 394.3 MB, free: 2.664 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2492/0.3426, allocations: 26.3 MB / 420.6 MB, free: 83.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3426, allocations: 41.34 kB / 420.6 MB, free: 83.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.3426, allocations: 0 / 420.6 MB, free: 83.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003629/0.343, allocations: 217.8 kB / 420.8 MB, free: 83.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.343, allocations: 55.41 kB / 420.9 MB, free: 83.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.983e-05/0.3431, allocations: 157.9 kB / 421 MB, free: 82.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.3431, allocations: 27.86 kB / 421.1 MB, free: 82.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.876e-05/0.3431, allocations: 127.9 kB / 421.2 MB, free: 82.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.3432, allocations: 144.3 kB / 421.3 MB, free: 82.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.3432, allocations: 49.36 kB / 421.4 MB, free: 82.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.3433, allocations: 0.5001 MB / 421.9 MB, free: 82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.004e-05/0.3433, allocations: 31.98 kB / 421.9 MB, free: 81.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.3434, allocations: 36.47 kB / 421.9 MB, free: 81.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.3435, allocations: 111.8 kB / 422.1 MB, free: 81.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3435, allocations: 0 / 422.1 MB, free: 81.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000162/0.3436, allocations: 165.1 kB / 422.2 MB, free: 81.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3436, allocations: 4 kB / 422.2 MB, free: 81.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3436, allocations: 7.281 kB / 422.2 MB, free: 81.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.3437, allocations: 2.062 kB / 422.2 MB, free: 81.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3437, allocations: 0 / 422.2 MB, free: 81.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3437, allocations: 0 / 422.2 MB, free: 81.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.3437, allocations: 19.52 kB / 422.3 MB, free: 81.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3437, allocations: 0 / 422.3 MB, free: 81.63 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 5.968e-05/0.3438, allocations: 172.3 kB / 422.4 MB, free: 81.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.3438, allocations: 11.91 kB / 422.4 MB, free: 81.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.3441, allocations: 380.9 kB / 422.8 MB, free: 81.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3441, allocations: 14.89 kB / 422.8 MB, free: 81.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3441, allocations: 0 / 422.8 MB, free: 81.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3441, allocations: 0 / 422.8 MB, free: 81.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.3443, allocations: 162.1 kB / 423 MB, free: 80.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3443, allocations: 3.5 kB / 423 MB, free: 80.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-06/0.3443, allocations: 4 kB / 423 MB, free: 80.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3443, allocations: 0 / 423 MB, free: 80.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3443, allocations: 0 / 423 MB, free: 80.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3443, allocations: 2.562 kB / 423 MB, free: 80.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3443, allocations: 0 / 423 MB, free: 80.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.3444, allocations: 186.9 kB / 423.2 MB, free: 80.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.3444, allocations: 23.83 kB / 423.2 MB, free: 80.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3445, allocations: 0 / 423.2 MB, free: 80.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.112e-05/0.3445, allocations: 4 kB / 423.2 MB, free: 80.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.3445, allocations: 4 kB / 423.2 MB, free: 80.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.3445, allocations: 5.031 kB / 423.2 MB, free: 80.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.317e-05/0.3446, allocations: 139.2 kB / 423.3 MB, free: 80.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3446, allocations: 128 / 423.3 MB, free: 80.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002035/0.3466, allocations: 1.11 MB / 424.5 MB, free: 79.5 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.00368/0.3503, allocations: 1.789 MB / 426.2 MB, free: 77.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.3504, allocations: 103.5 kB / 426.3 MB, free: 77.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3504, allocations: 4 kB / 426.3 MB, free: 77.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.391e-05/0.3505, allocations: 51.67 kB / 426.4 MB, free: 77.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.3513, allocations: 167.7 kB / 426.6 MB, free: 77.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.3517, allocations: 247.9 kB / 426.8 MB, free: 77.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.345e-05/0.3518, allocations: 110.1 kB / 426.9 MB, free: 77.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.463e-05/0.3518, allocations: 15.52 kB / 426.9 MB, free: 77.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.3519, allocations: 16.5 kB / 426.9 MB, free: 77.14 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3519, allocations: 0 / 426.9 MB, free: 77.14 MB / 330.7 MB Notification: Performance of Templates: time 0.03187/0.3837, allocations: 30.27 MB / 457.2 MB, free: 47.08 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: 6.113635945948772]