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.001368/0.001368, allocations: 77.78 kB / 19.76 MB, free: 2.035 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.001418/0.001418, allocations: 157 kB / 23.01 MB, free: 4.941 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.408/1.408, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 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.04941/0.04941, allocations: 7.534 MB / 267.3 MB, free: 9.574 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.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 0.002045/0.002045, allocations: 67.91 kB / 392.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.09936, allocations: 54.92 MB / 447.7 MB, free: 4.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.02101/0.1204, allocations: 16.72 MB / 464.4 MB, free: 3.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.1373, allocations: 14.53 MB / 478.9 MB, free: 5.223 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.1374, allocations: 4 kB / 478.9 MB, free: 5.219 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008017/0.1382, allocations: 250.8 kB / 479.2 MB, free: 4.973 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.1385, allocations: 135.3 kB / 479.3 MB, free: 4.84 MB / 446.1 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.2144/0.3529, allocations: 7.33 MB / 486.6 MB, free: 46.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.3532, allocations: 245.4 kB / 486.9 MB, free: 46.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.3532, allocations: 8.219 kB / 486.9 MB, free: 46.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3534, allocations: 113.6 kB / 487 MB, free: 46.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.3534, allocations: 54.55 kB / 487 MB, free: 46.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.3535, allocations: 0 / 487 MB, free: 46.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01225/0.3657, allocations: 7.055 MB / 494.1 MB, free: 46.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.3657, allocations: 8.078 kB / 494.1 MB, free: 46.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.3659, allocations: 59.78 kB / 494.2 MB, free: 46.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00889/0.3748, allocations: 3.688 MB / 497.8 MB, free: 46.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3748, allocations: 0.5 kB / 497.8 MB, free: 46.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3748, allocations: 0 / 497.8 MB, free: 46.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.3748, allocations: 9.812 kB / 497.9 MB, free: 46.7 MB / 446.1 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.001757/0.3766, allocations: 0.9075 MB / 498.8 MB, free: 46.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3766, allocations: 10.09 kB / 498.8 MB, free: 46.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.3767, allocations: 11.34 kB / 498.8 MB, free: 46.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.541e-05/0.3767, allocations: 115 kB / 498.9 MB, free: 45.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3767, allocations: 3.312 kB / 498.9 MB, free: 45.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3768, allocations: 6.906 kB / 498.9 MB, free: 45.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3769, allocations: 117.9 kB / 499 MB, free: 45.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3769, allocations: 3.281 kB / 499 MB, free: 45.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.3769, allocations: 0 / 499 MB, free: 45.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.3769, allocations: 10.41 kB / 499 MB, free: 45.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.377, allocations: 78.2 kB / 499.1 MB, free: 45.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.3772, allocations: 192.5 kB / 499.3 MB, free: 45.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.976e-05/0.3773, allocations: 98.67 kB / 499.4 MB, free: 45.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.3773, allocations: 84.45 kB / 499.5 MB, free: 45.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1158/0.4931, allocations: 27.55 MB / 0.5147 GB, free: 44.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.4932, allocations: 34.34 kB / 0.5147 GB, free: 44.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.4932, allocations: 0 / 0.5147 GB, free: 44.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0004409/0.4936, allocations: 349.5 kB / 0.515 GB, free: 44.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.4936, allocations: 62.45 kB / 0.5151 GB, free: 44.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.293e-05/0.4937, allocations: 95.25 kB / 0.5152 GB, free: 44.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.4937, allocations: 27.3 kB / 0.5152 GB, free: 44.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.481e-05/0.4937, allocations: 85.14 kB / 0.5153 GB, free: 44.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.4938, allocations: 130.4 kB / 0.5154 GB, free: 44.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.4938, allocations: 37.05 kB / 0.5155 GB, free: 44.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.4939, allocations: 323.9 kB / 0.5158 GB, free: 43.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/0.494, allocations: 83.42 kB / 0.5158 GB, free: 43.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.494, allocations: 79.78 kB / 0.5159 GB, free: 43.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.4942, allocations: 210.2 kB / 0.5161 GB, free: 43.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4942, allocations: 6.531 kB / 0.5161 GB, free: 43.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002556/0.4945, allocations: 244.8 kB / 0.5164 GB, free: 43.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4945, allocations: 4.219 kB / 0.5164 GB, free: 43.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4945, allocations: 1.219 kB / 0.5164 GB, free: 43.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4945, allocations: 0 / 0.5164 GB, free: 43.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.046e-06/0.4945, allocations: 5.5 kB / 0.5164 GB, free: 43.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4945, allocations: 1.062 kB / 0.5164 GB, free: 43.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.4946, allocations: 14.97 kB / 0.5164 GB, free: 43.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4946, allocations: 5.125 kB / 0.5164 GB, free: 43.68 MB / 446.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: 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.275e-05/0.4946, allocations: 115.1 kB / 0.5165 GB, free: 43.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.4947, allocations: 24.34 kB / 0.5165 GB, free: 43.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.495, allocations: 388.5 kB / 0.5169 GB, free: 43.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.4951, allocations: 8.219 kB / 0.5169 GB, free: 43.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4951, allocations: 1.125 kB / 0.5169 GB, free: 43.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4951, allocations: 3.781 kB / 0.5169 GB, free: 43.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.4952, allocations: 174.3 kB / 0.5171 GB, free: 43.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4952, allocations: 3.312 kB / 0.5171 GB, free: 43.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-07/0.4952, allocations: 4 kB / 0.5171 GB, free: 43.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4952, allocations: 5.281 kB / 0.5171 GB, free: 43.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.4952, allocations: 1.062 kB / 0.5171 GB, free: 43.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4952, allocations: 0 / 0.5171 GB, free: 43.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.4952, allocations: 0 / 0.5171 GB, free: 43.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.4954, allocations: 236.2 kB / 0.5173 GB, free: 43.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.4954, allocations: 18.95 kB / 0.5173 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.4954, allocations: 7.547 kB / 0.5173 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.4955, allocations: 1.875 kB / 0.5173 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.4955, allocations: 4.141 kB / 0.5173 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.4955, allocations: 6.672 kB / 0.5173 GB, free: 43.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.23e-05/0.4956, allocations: 100.8 kB / 0.5174 GB, free: 42.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4956, allocations: 3.562 kB / 0.5174 GB, free: 42.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00227/0.4978, allocations: 1.111 MB / 0.5185 GB, free: 42.71 MB / 446.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: 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.003346/0.5012, allocations: 1.631 MB / 0.5201 GB, free: 42.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.5014, allocations: 166.3 kB / 0.5203 GB, free: 42.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5014, allocations: 1.375 kB / 0.5203 GB, free: 42.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.5015, allocations: 68.69 kB / 0.5204 GB, free: 42.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008334/0.5023, allocations: 149.6 kB / 0.5205 GB, free: 42.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.5027, allocations: 305 kB / 0.5208 GB, free: 42.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.176e-05/0.5027, allocations: 108.2 kB / 0.5209 GB, free: 41.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.5028, allocations: 10.09 kB / 0.5209 GB, free: 41.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.5028, allocations: 19.25 kB / 0.5209 GB, free: 41.93 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5028, allocations: 4 kB / 0.5209 GB, free: 41.92 MB / 446.1 MB Notification: Performance of Templates: time 0.03312/0.5359, allocations: 29.95 MB / 0.5502 GB, free: 17.24 MB / 446.1 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=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7752163839759305] Failed to read output from testmodel.py, exit status != 0: 0.543828989029862 0.552430238 0.17527763699999996 Calling exit ...