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.001419/0.001419, allocations: 92.22 kB / 19.65 MB, free: 276 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.001553/0.001553, allocations: 169 kB / 23.02 MB, free: 1.551 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.013/1.013, allocations: 177.1 MB / 203.4 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.04346/0.04346, allocations: 7.525 MB / 267.5 MB, free: 5.988 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 3.246e-06/3.246e-06, allocations: 0 / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.164e-05, allocations: 2.312 kB / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01339/0.01342, allocations: 18.26 MB / 356.9 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.02559, allocations: 17.67 MB / 374.6 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.0258, allocations: 0 / 374.6 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.02646, allocations: 266.6 kB / 374.8 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.02696, allocations: 242.5 kB / 375.1 MB, free: 6.438 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.01701/0.04397, allocations: 7.738 MB / 382.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.04445, allocations: 369.9 kB / 383.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.0445, allocations: 12.59 kB / 383.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004019/0.0449, allocations: 223.3 kB / 383.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.04504, allocations: 83.75 kB / 383.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.04506, allocations: 8 kB / 383.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01321/0.05827, allocations: 7.6 MB / 391.1 MB, free: 6.359 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.05832, allocations: 27.84 kB / 391.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.05852, allocations: 71.84 kB / 391.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.0705, allocations: 4.574 MB / 395.7 MB, free: 1.676 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.0705, allocations: 0 / 395.7 MB, free: 1.676 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.0705, allocations: 0 / 395.7 MB, free: 1.676 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.07051, allocations: 0 / 395.7 MB, free: 1.676 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.003137/0.07365, allocations: 1.146 MB / 396.9 MB, free: 500 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.61e-05/0.07372, allocations: 8.625 kB / 396.9 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.0739, allocations: 31.84 kB / 396.9 MB, free: 460 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.0741, allocations: 150.7 kB / 397.1 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.07411, allocations: 4 kB / 397.1 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.07413, allocations: 15.88 kB / 397.1 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.07434, allocations: 117.3 kB / 397.2 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.07435, allocations: 0 / 397.2 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.07436, allocations: 0 / 397.2 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.07438, allocations: 19.91 kB / 397.2 MB, free: 116 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.07446, allocations: 44.98 kB / 397.3 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.07468, allocations: 189.3 kB / 397.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.07483, allocations: 83.55 kB / 397.5 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.744e-05/0.07489, allocations: 60.61 kB / 397.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1845/0.2593, allocations: 26.33 MB / 423.9 MB, free: 77.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.2594, allocations: 33.39 kB / 424 MB, free: 77.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.624e-06/0.2594, allocations: 0 / 424 MB, free: 77.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.0004295/0.2598, allocations: 273.2 kB / 424.2 MB, free: 77.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.2598, allocations: 51.41 kB / 424.3 MB, free: 77.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.2599, allocations: 200.7 kB / 424.5 MB, free: 77.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.2599, allocations: 25.7 kB / 424.5 MB, free: 77.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.26, allocations: 139.2 kB / 424.6 MB, free: 77.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/0.26, allocations: 159.1 kB / 424.8 MB, free: 76.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.2601, allocations: 62.86 kB / 424.9 MB, free: 76.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.2601, allocations: 0.5064 MB / 425.4 MB, free: 76.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.2602, allocations: 39.95 kB / 425.4 MB, free: 76.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/0.2602, allocations: 38.48 kB / 425.4 MB, free: 76.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.2604, allocations: 129.4 kB / 425.6 MB, free: 76.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2604, allocations: 0 / 425.6 MB, free: 76.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002103/0.2606, allocations: 197 kB / 425.8 MB, free: 76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2606, allocations: 4 kB / 425.8 MB, free: 76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2606, allocations: 3.75 kB / 425.8 MB, free: 76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2606, allocations: 4 kB / 425.8 MB, free: 75.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2607, allocations: 19.83 kB / 425.8 MB, free: 75.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2607, allocations: 4 kB / 425.8 MB, free: 75.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.149e-05/0.2608, allocations: 30.44 kB / 425.8 MB, free: 75.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2609, allocations: 4.984 kB / 425.8 MB, free: 75.95 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 7.352e-05/0.2609, allocations: 160.3 kB / 426 MB, free: 75.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.261, allocations: 23.86 kB / 426 MB, free: 75.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.2612, allocations: 275.2 kB / 426.3 MB, free: 75.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.2613, allocations: 11.42 kB / 426.3 MB, free: 75.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2613, allocations: 0 / 426.3 MB, free: 75.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2613, allocations: 0 / 426.3 MB, free: 75.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2614, allocations: 196.6 kB / 426.5 MB, free: 75.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2614, allocations: 0 / 426.5 MB, free: 75.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.2615, allocations: 17.36 kB / 426.5 MB, free: 75.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2615, allocations: 4 kB / 426.5 MB, free: 75.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.2615, allocations: 3.5 kB / 426.5 MB, free: 75.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2615, allocations: 6.625 kB / 426.5 MB, free: 75.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2615, allocations: 4 kB / 426.5 MB, free: 75.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.2617, allocations: 258.9 kB / 426.8 MB, free: 75.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.2617, allocations: 39.14 kB / 426.8 MB, free: 75.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.2618, allocations: 3.984 kB / 426.8 MB, free: 75.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.2618, allocations: 11.81 kB / 426.8 MB, free: 75.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.2619, allocations: 15.78 kB / 426.8 MB, free: 75.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.2619, allocations: 0 / 426.8 MB, free: 75.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.716e-05/0.2619, allocations: 146.2 kB / 427 MB, free: 74.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2619, allocations: 0 / 427 MB, free: 74.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002033/0.2639, allocations: 1.139 MB / 428.1 MB, free: 73.93 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.003259/0.2672, allocations: 1.85 MB / 430 MB, free: 72.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.2675, allocations: 144.3 kB / 430.1 MB, free: 72.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2675, allocations: 0 / 430.1 MB, free: 72.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.2676, allocations: 85.28 kB / 430.2 MB, free: 72.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.2681, allocations: 170.7 kB / 430.4 MB, free: 71.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2694, allocations: 385.6 kB / 430.7 MB, free: 71.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.672e-05/0.2694, allocations: 84.97 kB / 430.8 MB, free: 71.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.2696, allocations: 10.84 kB / 430.8 MB, free: 71.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.2696, allocations: 24.5 kB / 430.9 MB, free: 71.47 MB / 330.7 MB Notification: Performance of SimCode: time 1.944e-06/0.2696, allocations: 0 / 430.9 MB, free: 71.47 MB / 330.7 MB Notification: Performance of Templates: time 0.02987/0.2995, allocations: 31.5 MB / 462.4 MB, free: 40.31 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.987785079982132]