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.001839/0.001839, allocations: 93.16 kB / 19.65 MB, free: 292 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.001322/0.001322, allocations: 172.9 kB / 23.02 MB, free: 1.562 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.9491/0.9491, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.02957/0.02957, allocations: 7.52 MB / 267.5 MB, free: 6.02 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.093e-06/2.093e-06, allocations: 0 / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.347e-05, allocations: 6.312 kB / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.0134/0.01343, allocations: 18.26 MB / 356.9 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.02571, allocations: 17.68 MB / 374.6 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.02595, allocations: 4 kB / 374.6 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.02662, allocations: 258.6 kB / 374.8 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004966/0.02712, allocations: 246.5 kB / 375.1 MB, free: 6.453 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.01533/0.04245, allocations: 7.726 MB / 382.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.04291, allocations: 373.9 kB / 383.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.04296, allocations: 12.59 kB / 383.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.04336, allocations: 227.3 kB / 383.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.04348, allocations: 83.75 kB / 383.5 MB, free: 14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.04349, allocations: 4 kB / 383.5 MB, free: 14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/0.05553, allocations: 7.616 MB / 391.1 MB, free: 6.367 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.05558, allocations: 23.84 kB / 391.1 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.05579, allocations: 71.86 kB / 391.2 MB, free: 6.273 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.06714, allocations: 4.57 MB / 395.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.06715, allocations: 0 / 395.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.06715, allocations: 0 / 395.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.06715, allocations: 0 / 395.8 MB, free: 1.691 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.00219/0.06934, allocations: 1.15 MB / 396.9 MB, free: 0.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.06938, allocations: 12.62 kB / 396.9 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.0695, allocations: 35.84 kB / 396.9 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.06966, allocations: 143.8 kB / 397.1 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.06967, allocations: 4 kB / 397.1 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.06969, allocations: 11.88 kB / 397.1 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.06988, allocations: 113.3 kB / 397.2 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.06988, allocations: 7.984 kB / 397.2 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.0699, allocations: 0 / 397.2 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.06991, allocations: 11.92 kB / 397.2 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.06998, allocations: 40.98 kB / 397.3 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.07017, allocations: 193.3 kB / 397.5 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.07029, allocations: 83.55 kB / 397.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.358e-05/0.07035, allocations: 64.61 kB / 397.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1992/0.2696, allocations: 26.32 MB / 423.9 MB, free: 55.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.2696, allocations: 37.36 kB / 424 MB, free: 55.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.195e-06/0.2696, allocations: 0 / 424 MB, free: 55.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.0004699/0.2701, allocations: 271 kB / 424.2 MB, free: 55.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.2701, allocations: 58.97 kB / 424.3 MB, free: 55.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.2702, allocations: 189.7 kB / 424.5 MB, free: 55.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.2702, allocations: 29.52 kB / 424.5 MB, free: 55.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.2702, allocations: 139.3 kB / 424.6 MB, free: 55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.197e-05/0.2703, allocations: 159.8 kB / 424.8 MB, free: 54.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.2704, allocations: 60.12 kB / 424.9 MB, free: 54.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.2704, allocations: 0.5057 MB / 425.4 MB, free: 54.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.539e-05/0.2705, allocations: 34.2 kB / 425.4 MB, free: 54.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.625e-05/0.2705, allocations: 43.31 kB / 425.4 MB, free: 54.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.2706, allocations: 134.5 kB / 425.6 MB, free: 54.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2707, allocations: 4 kB / 425.6 MB, free: 54.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001859/0.2708, allocations: 194.1 kB / 425.8 MB, free: 54.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2709, allocations: 7 kB / 425.8 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2709, allocations: 7.594 kB / 425.8 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2709, allocations: 0 / 425.8 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.271, allocations: 14.64 kB / 425.8 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.271, allocations: 3.594 kB / 425.8 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.11e-05/0.271, allocations: 28.53 kB / 425.8 MB, free: 54.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.2711, allocations: 3.625 kB / 425.8 MB, free: 54.31 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 6.733e-05/0.2711, allocations: 164 kB / 426 MB, free: 54.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.2711, allocations: 28.09 kB / 426 MB, free: 54.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.2715, allocations: 262.5 kB / 426.3 MB, free: 54.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.2715, allocations: 10.95 kB / 426.3 MB, free: 54.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2715, allocations: 0 / 426.3 MB, free: 54.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2715, allocations: 0 / 426.3 MB, free: 54.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2717, allocations: 199.4 kB / 426.5 MB, free: 53.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2717, allocations: 3.938 kB / 426.5 MB, free: 53.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-05/0.2718, allocations: 23.55 kB / 426.5 MB, free: 53.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.2718, allocations: 0 / 426.5 MB, free: 53.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2718, allocations: 8.359 kB / 426.5 MB, free: 53.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2718, allocations: 0 / 426.5 MB, free: 53.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2718, allocations: 2.938 kB / 426.5 MB, free: 53.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.272, allocations: 248.1 kB / 426.8 MB, free: 53.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.2721, allocations: 43.7 kB / 426.8 MB, free: 53.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.2721, allocations: 6.406 kB / 426.8 MB, free: 53.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.859e-05/0.2722, allocations: 9.281 kB / 426.8 MB, free: 53.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.2722, allocations: 17.66 kB / 426.8 MB, free: 53.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.2722, allocations: 6 kB / 426.8 MB, free: 53.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.402e-05/0.2723, allocations: 153.5 kB / 427 MB, free: 53.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2723, allocations: 0 / 427 MB, free: 53.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001932/0.2742, allocations: 1.139 MB / 428.1 MB, free: 53.66 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.002961/0.2772, allocations: 1.842 MB / 430 MB, free: 53.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.2774, allocations: 144.5 kB / 430.1 MB, free: 53.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2774, allocations: 0 / 430.1 MB, free: 53.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.2775, allocations: 84.98 kB / 430.2 MB, free: 53.28 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.278, allocations: 176.7 kB / 430.4 MB, free: 53.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.2789, allocations: 390.2 kB / 430.7 MB, free: 53.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.234e-05/0.2789, allocations: 82.59 kB / 430.8 MB, free: 52.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.279, allocations: 17.98 kB / 430.8 MB, free: 52.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.279, allocations: 23.86 kB / 430.9 MB, free: 52.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.279, allocations: 0 / 430.9 MB, free: 52.95 MB / 330.7 MB Notification: Performance of Templates: time 0.03531/0.3143, allocations: 40.13 MB / 471 MB, free: 15.91 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.758384022861719]