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.001258/0.001258, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001465/0.001465, allocations: 181 kB / 23.36 MB, free: 1.133 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.9967/0.9967, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.02983/0.02983, allocations: 7.517 MB / 267.8 MB, free: 5.887 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 1.392e-06/1.392e-06, allocations: 0 / 285.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.18e-05, allocations: 2.312 kB / 285.8 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.1188/0.1188, allocations: 18.13 MB / 303.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.13, allocations: 17.53 MB / 321.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1302, allocations: 0 / 321.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.1309, allocations: 275.6 kB / 321.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.1313, allocations: 246.5 kB / 322 MB, free: 13.02 MB / 282.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.01553/0.1468, allocations: 7.779 MB / 329.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.1473, allocations: 369.9 kB / 330.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.553e-05/0.1473, allocations: 22.53 kB / 330.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.1477, allocations: 223.3 kB / 330.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1478, allocations: 79.81 kB / 330.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1478, allocations: 4 kB / 330.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/0.1586, allocations: 7.553 MB / 338 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.1586, allocations: 15.88 kB / 338 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.1588, allocations: 71.84 kB / 338.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.1688, allocations: 4.574 MB / 342.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1688, allocations: 0 / 342.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1688, allocations: 0 / 342.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1688, allocations: 0 / 342.7 MB, free: 8.301 MB / 298.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.002172/0.171, allocations: 1.025 MB / 343.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.171, allocations: 12.62 kB / 343.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1711, allocations: 23.97 kB / 343.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1713, allocations: 148.9 kB / 343.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.1713, allocations: 3.938 kB / 343.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.1713, allocations: 11.94 kB / 343.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1715, allocations: 112.1 kB / 344 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1715, allocations: 0 / 344 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1715, allocations: 0 / 344 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.1715, allocations: 11.98 kB / 344 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.1716, allocations: 33.48 kB / 344 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.1719, allocations: 282.6 kB / 344.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.279e-05/0.1719, allocations: 110.8 kB / 344.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.172, allocations: 41.84 kB / 344.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1092/0.2812, allocations: 54.81 MB / 399.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2812, allocations: 34.56 kB / 399.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 1.934e-06/0.2812, allocations: 0 / 399.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0002658/0.2815, allocations: 240.3 kB / 399.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.2815, allocations: 59.34 kB / 399.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/0.2816, allocations: 152.6 kB / 399.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.2816, allocations: 33.64 kB / 399.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.2817, allocations: 89.12 kB / 399.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/0.2817, allocations: 150.6 kB / 400 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.2818, allocations: 45.66 kB / 400.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.2819, allocations: 326.8 kB / 400.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.2819, allocations: 36.06 kB / 400.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.282, allocations: 56.67 kB / 400.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.2821, allocations: 121.3 kB / 400.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2821, allocations: 4 kB / 400.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001437/0.2822, allocations: 148.1 kB / 400.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2822, allocations: 8 kB / 400.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.2822, allocations: 7.922 kB / 400.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2822, allocations: 0 / 400.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.549e-05/0.2823, allocations: 24.61 kB / 400.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.2823, allocations: 0 / 400.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.2824, allocations: 27.78 kB / 400.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.2824, allocations: 7.984 kB / 400.8 MB, free: 13.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.622e-05/0.2825, allocations: 117.8 kB / 400.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.2825, allocations: 15.98 kB / 400.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.2827, allocations: 222.5 kB / 401.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.2827, allocations: 5.875 kB / 401.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.2827, allocations: 0 / 401.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2827, allocations: 3.984 kB / 401.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.2829, allocations: 137.7 kB / 401.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2829, allocations: 0 / 401.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.2829, allocations: 19.98 kB / 401.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2829, allocations: 0 / 401.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2829, allocations: 4 kB / 401.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2829, allocations: 0 / 401.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2829, allocations: 7.938 kB / 401.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.2831, allocations: 306.3 kB / 401.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.2831, allocations: 35.78 kB / 401.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.2831, allocations: 0 / 401.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.2832, allocations: 6.234 kB / 401.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.2832, allocations: 19.91 kB / 401.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.2832, allocations: 8 kB / 401.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.442e-05/0.2833, allocations: 31.83 kB / 401.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2833, allocations: 0 / 401.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001985/0.2852, allocations: 1.203 MB / 402.9 MB, free: 11.73 MB / 362.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 (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.003563/0.2888, allocations: 2.037 MB / 405 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.289, allocations: 136.2 kB / 405.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.289, allocations: 4.062 kB / 405.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.449e-05/0.2891, allocations: 94.2 kB / 405.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.2896, allocations: 165.4 kB / 405.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/0.2903, allocations: 377.3 kB / 405.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.2903, allocations: 84.97 kB / 405.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.511e-05/0.2904, allocations: 8.5 kB / 405.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.2906, allocations: 157.2 kB / 406 MB, free: 8.668 MB / 362.7 MB Notification: Performance of SimCode: time 1.533e-06/0.2906, allocations: 3.938 kB / 406 MB, free: 8.664 MB / 362.7 MB Notification: Performance of Templates: time 0.1374/0.428, allocations: 38.29 MB / 444.3 MB, free: 120.1 MB / 378.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 sys.exit(0), Time elapsed: 4.7038083570078015]