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.001004/0.001004, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.0009376/0.0009376, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 4.984 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.03231/0.03231, allocations: 7.52 MB / 268.6 MB, free: 5.66 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.453e-06/1.453e-06, allocations: 0 / 339.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.455e-05, allocations: 2.312 kB / 339.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01219/0.01221, allocations: 18.21 MB / 358.1 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.02296, allocations: 16.19 MB / 374.3 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.02304, allocations: 0 / 374.3 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.0236, allocations: 254.7 kB / 374.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.02375, allocations: 139.2 kB / 374.7 MB, free: 7.777 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.01163/0.03539, allocations: 7.414 MB / 382.1 MB, free: 336 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.0356, allocations: 262.5 kB / 382.3 MB, free: 72 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.03564, allocations: 17.25 kB / 382.3 MB, free: 52 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.0358, allocations: 151.6 kB / 382.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.03586, allocations: 43.86 kB / 382.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.03587, allocations: 4 kB / 382.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007617/0.04349, allocations: 7.125 MB / 389.7 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.0435, allocations: 11.94 kB / 389.7 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.04357, allocations: 43.92 kB / 389.7 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005523/0.04909, allocations: 4.379 MB / 394.1 MB, free: 4.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.0491, allocations: 0 / 394.1 MB, free: 4.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0491, allocations: 4 kB / 394.1 MB, free: 4.266 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.0491, allocations: 0 / 394.1 MB, free: 4.266 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.001218/0.05032, allocations: 1.006 MB / 395.1 MB, free: 3.219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.05035, allocations: 12.03 kB / 395.1 MB, free: 3.207 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.05038, allocations: 11.91 kB / 395.1 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.896e-05/0.05046, allocations: 115.9 kB / 395.2 MB, free: 3.055 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.05048, allocations: 8 kB / 395.2 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.05048, allocations: 7.875 kB / 395.3 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.465e-05/0.05057, allocations: 57.67 kB / 395.3 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.05057, allocations: 4 kB / 395.3 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.05058, allocations: 0 / 395.3 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.05059, allocations: 11.92 kB / 395.3 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.05061, allocations: 24 kB / 395.4 MB, free: 2.938 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.05076, allocations: 164.8 kB / 395.5 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.386e-05/0.05081, allocations: 51.41 kB / 395.6 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.05084, allocations: 36.02 kB / 395.6 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1975/0.2484, allocations: 21.3 MB / 416.9 MB, free: 56.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.2484, allocations: 36.89 kB / 416.9 MB, free: 56.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.883e-06/0.2484, allocations: 0 / 416.9 MB, free: 56.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002419/0.2486, allocations: 190.8 kB / 417.1 MB, free: 56.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.2486, allocations: 58.41 kB / 417.2 MB, free: 56.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.677e-05/0.2487, allocations: 159.2 kB / 417.3 MB, free: 56.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.748e-06/0.2487, allocations: 29.98 kB / 417.4 MB, free: 56.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.264e-05/0.2487, allocations: 127.9 kB / 417.5 MB, free: 56.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.2488, allocations: 139 kB / 417.6 MB, free: 56.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.2488, allocations: 47.91 kB / 417.7 MB, free: 56.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.2488, allocations: 0.5048 MB / 418.2 MB, free: 55.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.2488, allocations: 25.44 kB / 418.2 MB, free: 55.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.2489, allocations: 33.09 kB / 418.2 MB, free: 55.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.147e-05/0.2489, allocations: 90.11 kB / 418.3 MB, free: 55.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2489, allocations: 1.594 kB / 418.3 MB, free: 55.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001002/0.249, allocations: 149 kB / 418.5 MB, free: 55.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.249, allocations: 5.156 kB / 418.5 MB, free: 55.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.249, allocations: 3.375 kB / 418.5 MB, free: 55.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.2491, allocations: 1.469 kB / 418.5 MB, free: 55.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.2491, allocations: 2.969 kB / 418.5 MB, free: 55.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.2491, allocations: 0 / 418.5 MB, free: 55.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.2491, allocations: 19.92 kB / 418.5 MB, free: 55.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.2491, allocations: 2.469 kB / 418.5 MB, free: 55.8 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.396e-05/0.2491, allocations: 160.5 kB / 418.7 MB, free: 55.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.2492, allocations: 12.3 kB / 418.7 MB, free: 55.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.2494, allocations: 376.8 kB / 419 MB, free: 55.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.2494, allocations: 5.859 kB / 419 MB, free: 55.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.2494, allocations: 0 / 419 MB, free: 55.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2494, allocations: 2.484 kB / 419 MB, free: 55.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.729e-05/0.2495, allocations: 142.5 kB / 419.2 MB, free: 55.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2495, allocations: 3.312 kB / 419.2 MB, free: 55.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-06/0.2495, allocations: 1.125 kB / 419.2 MB, free: 55.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.2495, allocations: 4.891 kB / 419.2 MB, free: 55.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.2495, allocations: 6.562 kB / 419.2 MB, free: 55.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2495, allocations: 0.9844 kB / 419.2 MB, free: 55.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2495, allocations: 2.219 kB / 419.2 MB, free: 55.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.2496, allocations: 168.7 kB / 419.4 MB, free: 55.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.2496, allocations: 23.55 kB / 419.4 MB, free: 55.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.2497, allocations: 5.594 kB / 419.4 MB, free: 55.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.2497, allocations: 4.031 kB / 419.4 MB, free: 55.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.2497, allocations: 5.625 kB / 419.4 MB, free: 55.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2497, allocations: 2.719 kB / 419.4 MB, free: 55.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.831e-05/0.2497, allocations: 137.2 kB / 419.5 MB, free: 55.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2497, allocations: 0 / 419.5 MB, free: 55.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001825/0.2516, allocations: 1.106 MB / 420.7 MB, free: 55.16 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.002572/0.2541, allocations: 1.849 MB / 422.5 MB, free: 54.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.2542, allocations: 80.97 kB / 422.6 MB, free: 54.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2542, allocations: 0 / 422.6 MB, free: 54.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.221e-05/0.2543, allocations: 50.2 kB / 422.6 MB, free: 54.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.2548, allocations: 151 kB / 422.8 MB, free: 54.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.2553, allocations: 271.5 kB / 423 MB, free: 54.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.653e-05/0.2553, allocations: 77.95 kB / 423.1 MB, free: 54.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.2553, allocations: 11.7 kB / 423.1 MB, free: 54.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.2555, allocations: 170.2 kB / 423.3 MB, free: 54.48 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2555, allocations: 0 / 423.3 MB, free: 54.48 MB / 330.7 MB Notification: Performance of Templates: time 0.02683/0.2823, allocations: 36.64 MB / 459.9 MB, free: 27.16 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.9031490571796894]