Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.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.0009132/0.0009132, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0008808/0.0008808, allocations: 173 kB / 23.49 MB, free: 1.059 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.874/0.874, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.02974/0.02974, allocations: 7.52 MB / 267.8 MB, free: 6.055 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.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 338.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.272e-05, allocations: 2.312 kB / 338.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.0119/0.01192, allocations: 18.24 MB / 356.9 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.02335, allocations: 17.67 MB / 374.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.02351, allocations: 4 kB / 374.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.02407, allocations: 266.6 kB / 374.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.02444, allocations: 238.5 kB / 375.1 MB, free: 6.789 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.01175/0.03619, allocations: 7.737 MB / 382.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.03654, allocations: 365.9 kB / 383.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.03658, allocations: 8.594 kB / 383.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.03689, allocations: 231.3 kB / 383.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.03698, allocations: 79.75 kB / 383.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.037, allocations: 4 kB / 383.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00898/0.04598, allocations: 7.604 MB / 391.1 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.04602, allocations: 23.86 kB / 391.1 MB, free: 6.691 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.04615, allocations: 71.84 kB / 391.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007614/0.05377, allocations: 4.57 MB / 395.7 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.05377, allocations: 0 / 395.7 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.05377, allocations: 0 / 395.7 MB, free: 2.039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.05378, allocations: 0 / 395.7 MB, free: 2.039 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00162/0.0554, allocations: 1.146 MB / 396.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.05544, allocations: 8.625 kB / 396.9 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.05556, allocations: 27.86 kB / 396.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.05573, allocations: 158.7 kB / 397.1 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.05574, allocations: 4 kB / 397.1 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.05575, allocations: 15.88 kB / 397.1 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.05594, allocations: 109.3 kB / 397.2 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.05595, allocations: 0 / 397.2 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.05596, allocations: 4 kB / 397.2 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.05597, allocations: 11.92 kB / 397.2 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.05605, allocations: 44.98 kB / 397.3 MB, free: 452 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.05622, allocations: 197.3 kB / 397.5 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.05633, allocations: 83.55 kB / 397.5 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.05639, allocations: 60.61 kB / 397.6 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1657/0.222, allocations: 26.33 MB / 423.9 MB, free: 55.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2221, allocations: 33.39 kB / 424 MB, free: 55.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.435e-06/0.2221, allocations: 0 / 424 MB, free: 55.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.0003852/0.2225, allocations: 267.3 kB / 424.2 MB, free: 55.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.2225, allocations: 55.41 kB / 424.3 MB, free: 55.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.2226, allocations: 196.4 kB / 424.5 MB, free: 55.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.2226, allocations: 29.39 kB / 424.5 MB, free: 55.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.2226, allocations: 138.7 kB / 424.6 MB, free: 55.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.2227, allocations: 162.1 kB / 424.8 MB, free: 54.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.2227, allocations: 55.27 kB / 424.8 MB, free: 54.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.2228, allocations: 0.5074 MB / 425.4 MB, free: 54.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.2228, allocations: 43.42 kB / 425.4 MB, free: 54.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.842e-05/0.2229, allocations: 41 kB / 425.4 MB, free: 54.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.223, allocations: 127.4 kB / 425.6 MB, free: 54.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.223, allocations: 0 / 425.6 MB, free: 54.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000174/0.2232, allocations: 202.5 kB / 425.8 MB, free: 54.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2232, allocations: 5.938 kB / 425.8 MB, free: 54.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2232, allocations: 0 / 425.8 MB, free: 54.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2232, allocations: 3.125 kB / 425.8 MB, free: 54.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.2233, allocations: 17.69 kB / 425.8 MB, free: 54.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2233, allocations: 3.062 kB / 425.8 MB, free: 54.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.2233, allocations: 30.28 kB / 425.8 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2234, allocations: 3.969 kB / 425.8 MB, free: 54.32 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 (12): * Single equations (assignments): 6 * 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.824e-05/0.2234, allocations: 159.7 kB / 426 MB, free: 54.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.2234, allocations: 32.8 kB / 426 MB, free: 54.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.2237, allocations: 261.2 kB / 426.3 MB, free: 54.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.2237, allocations: 11.62 kB / 426.3 MB, free: 54.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2237, allocations: 0 / 426.3 MB, free: 54.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2237, allocations: 6.75 kB / 426.3 MB, free: 54.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.2238, allocations: 192.8 kB / 426.5 MB, free: 53.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2238, allocations: 0 / 426.5 MB, free: 53.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.2239, allocations: 21.19 kB / 426.5 MB, free: 53.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2239, allocations: 0 / 426.5 MB, free: 53.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.2239, allocations: 11.44 kB / 426.5 MB, free: 53.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2239, allocations: 0 / 426.5 MB, free: 53.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2239, allocations: 0 / 426.5 MB, free: 53.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.2241, allocations: 254.6 kB / 426.7 MB, free: 53.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.2241, allocations: 42.28 kB / 426.8 MB, free: 53.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.2241, allocations: 2.25 kB / 426.8 MB, free: 53.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/0.2242, allocations: 9.312 kB / 426.8 MB, free: 53.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.2242, allocations: 16.14 kB / 426.8 MB, free: 53.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.2242, allocations: 5.844 kB / 426.8 MB, free: 53.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.104e-05/0.2243, allocations: 149.8 kB / 427 MB, free: 53.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2243, allocations: 4 kB / 427 MB, free: 53.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001574/0.2259, allocations: 1.138 MB / 428.1 MB, free: 53.7 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: 6 (state.phase,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 (12): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.002713/0.2286, allocations: 1.851 MB / 430 MB, free: 53.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.2288, allocations: 137.1 kB / 430.1 MB, free: 53.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2288, allocations: 4 kB / 430.1 MB, free: 53.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.257e-05/0.2288, allocations: 87.8 kB / 430.2 MB, free: 53.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.2293, allocations: 164.5 kB / 430.3 MB, free: 53.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008455/0.2302, allocations: 392.5 kB / 430.7 MB, free: 53.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.084e-05/0.2302, allocations: 83.19 kB / 430.8 MB, free: 52.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.169e-05/0.2303, allocations: 20.42 kB / 430.8 MB, free: 52.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.2303, allocations: 23.25 kB / 430.9 MB, free: 52.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2303, allocations: 0 / 430.9 MB, free: 52.98 MB / 330.7 MB Notification: Performance of Templates: time 0.02533/0.2556, allocations: 31.49 MB / 462.3 MB, free: 24.72 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.270774206146598]