Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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.0009431/0.0009431, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009964/0.0009964, allocations: 165 kB / 23.02 MB, free: 1.543 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.045/1.045, 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.03093/0.03093, allocations: 7.521 MB / 267.5 MB, free: 5.984 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_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.045e-06/3.045e-06, allocations: 0 / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.229e-05, allocations: 2.312 kB / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02026/0.02029, allocations: 18.25 MB / 356.9 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02012/0.04041, allocations: 17.69 MB / 374.6 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.04067, allocations: 4 kB / 374.6 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008509/0.04153, allocations: 262.6 kB / 374.8 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006204/0.04215, allocations: 246.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.02083/0.06297, allocations: 7.737 MB / 382.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.06348, allocations: 366 kB / 383.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.06354, allocations: 12.58 kB / 383.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/0.06401, allocations: 223.3 kB / 383.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.06416, allocations: 87.75 kB / 383.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.06418, allocations: 4 kB / 383.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.07945, allocations: 7.608 MB / 391.1 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.0795, allocations: 19.86 kB / 391.1 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.0797, allocations: 75.84 kB / 391.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.09035, allocations: 4.566 MB / 395.7 MB, free: 1.684 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.09035, allocations: 0 / 395.7 MB, free: 1.684 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09036, allocations: 0 / 395.7 MB, free: 1.684 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.09036, allocations: 0 / 395.7 MB, free: 1.684 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.002578/0.09294, allocations: 1.15 MB / 396.9 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.09299, allocations: 8.625 kB / 396.9 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.09317, allocations: 27.86 kB / 396.9 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.0934, allocations: 147.8 kB / 397.1 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.09341, allocations: 12 kB / 397.1 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.09343, allocations: 7.938 kB / 397.1 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.09371, allocations: 113.3 kB / 397.2 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.09372, allocations: 0 / 397.2 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.09373, allocations: 0 / 397.2 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.09375, allocations: 11.98 kB / 397.2 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.09387, allocations: 56.89 kB / 397.3 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.09446, allocations: 416.2 kB / 397.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.09459, allocations: 71.48 kB / 397.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.09468, allocations: 56.69 kB / 397.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2025/0.2972, allocations: 26.32 MB / 424.1 MB, free: 55.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.2973, allocations: 39.73 kB / 424.2 MB, free: 55.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 2.275e-06/0.2973, allocations: 4 kB / 424.2 MB, free: 55.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.0003962/0.2977, allocations: 252.1 kB / 424.4 MB, free: 55.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.773e-05/0.2977, allocations: 51.41 kB / 424.5 MB, free: 55.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.2978, allocations: 203.6 kB / 424.7 MB, free: 55.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.2978, allocations: 25.7 kB / 424.7 MB, free: 55.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.2978, allocations: 139.4 kB / 424.8 MB, free: 55.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.2979, allocations: 154.1 kB / 425 MB, free: 54.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.2979, allocations: 55.89 kB / 425 MB, free: 54.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.298, allocations: 0.5045 MB / 425.5 MB, free: 54.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.298, allocations: 41.25 kB / 425.6 MB, free: 54.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.2981, allocations: 41.17 kB / 425.6 MB, free: 54.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.2982, allocations: 145.6 kB / 425.8 MB, free: 54.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2982, allocations: 0 / 425.8 MB, free: 54.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001711/0.2984, allocations: 188.8 kB / 425.9 MB, free: 54.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2984, allocations: 5.219 kB / 425.9 MB, free: 54.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2984, allocations: 1.781 kB / 425.9 MB, free: 54.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2984, allocations: 0 / 425.9 MB, free: 54.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.2985, allocations: 21.14 kB / 426 MB, free: 54.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2985, allocations: 0 / 426 MB, free: 54.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.2985, allocations: 28.47 kB / 426 MB, free: 54.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2985, allocations: 2.375 kB / 426 MB, free: 54.36 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 (11): * Single equations (assignments): 5 * 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.697e-05/0.2986, allocations: 169.3 kB / 426.2 MB, free: 54.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.2986, allocations: 22.08 kB / 426.2 MB, free: 54.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.2989, allocations: 257.8 kB / 426.4 MB, free: 54.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.2989, allocations: 11.55 kB / 426.4 MB, free: 54.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2989, allocations: 3.969 kB / 426.5 MB, free: 54.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2989, allocations: 3.938 kB / 426.5 MB, free: 54.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.2991, allocations: 193.2 kB / 426.6 MB, free: 53.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2991, allocations: 7 kB / 426.6 MB, free: 53.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.2991, allocations: 17.97 kB / 426.7 MB, free: 53.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2991, allocations: 0 / 426.7 MB, free: 53.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2991, allocations: 5.25 kB / 426.7 MB, free: 53.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2991, allocations: 3.625 kB / 426.7 MB, free: 53.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2991, allocations: 3.562 kB / 426.7 MB, free: 53.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.2993, allocations: 359.7 kB / 427 MB, free: 53.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.2994, allocations: 41.38 kB / 427.1 MB, free: 53.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.2994, allocations: 1.734 kB / 427.1 MB, free: 53.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/0.2994, allocations: 13.05 kB / 427.1 MB, free: 53.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.2995, allocations: 9.094 kB / 427.1 MB, free: 53.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2995, allocations: 13.25 kB / 427.1 MB, free: 53.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.245e-05/0.2995, allocations: 143.1 kB / 427.2 MB, free: 53.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2995, allocations: 0 / 427.2 MB, free: 53.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00167/0.3012, allocations: 1.139 MB / 428.4 MB, free: 53.63 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 (11): * Single equations (assignments): 5 * 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.002804/0.304, allocations: 1.853 MB / 430.2 MB, free: 53.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.3042, allocations: 140.7 kB / 430.4 MB, free: 53.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3042, allocations: 0 / 430.4 MB, free: 53.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.458e-05/0.3043, allocations: 80.78 kB / 430.5 MB, free: 53.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.3048, allocations: 165.4 kB / 430.6 MB, free: 53.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/0.3056, allocations: 382.8 kB / 431 MB, free: 53.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.733e-05/0.3056, allocations: 83.52 kB / 431.1 MB, free: 52.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.779e-05/0.3057, allocations: 15.09 kB / 431.1 MB, free: 52.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.3057, allocations: 21.89 kB / 431.1 MB, free: 52.94 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3057, allocations: 0 / 431.1 MB, free: 52.94 MB / 330.7 MB Notification: Performance of Templates: time 0.02673/0.3325, allocations: 31.47 MB / 462.6 MB, free: 24.1 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.05833167117089]