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.001696/0.001696, allocations: 85.48 kB / 19.44 MB, free: 344 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.001945/0.001945, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.05898/0.05898, allocations: 7.508 MB / 267.1 MB, free: 6.047 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 2.454e-06/2.454e-06, allocations: 0 / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.733e-05, allocations: 2.312 kB / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01878/0.01881, allocations: 18.21 MB / 356.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02342/0.04222, allocations: 17.68 MB / 373.8 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.04247, allocations: 0 / 373.8 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.0433, allocations: 274.5 kB / 374.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006362/0.04393, allocations: 238.5 kB / 374.3 MB, free: 6.844 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.01995/0.06389, allocations: 7.737 MB / 382 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00055/0.06444, allocations: 361.9 kB / 382.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.06449, allocations: 16.58 kB / 382.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/0.06499, allocations: 223.3 kB / 382.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.06517, allocations: 79.75 kB / 382.7 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.0652, allocations: 8 kB / 382.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01571/0.0809, allocations: 7.6 MB / 390.3 MB, free: 6.773 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.08097, allocations: 27.84 kB / 390.3 MB, free: 6.746 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.08116, allocations: 67.84 kB / 390.4 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.09325, allocations: 4.594 MB / 395 MB, free: 2.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.09326, allocations: 3.984 kB / 395 MB, free: 2.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.09326, allocations: 0 / 395 MB, free: 2.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.09327, allocations: 0 / 395 MB, free: 2.07 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.002661/0.09593, allocations: 1.154 MB / 396.1 MB, free: 0.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.09597, allocations: 8.625 kB / 396.2 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.09614, allocations: 31.8 kB / 396.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.09638, allocations: 155.7 kB / 396.3 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.0964, allocations: 4 kB / 396.3 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.09642, allocations: 11.94 kB / 396.4 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.09672, allocations: 104.6 kB / 396.5 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.09672, allocations: 0 / 396.5 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.09674, allocations: 8 kB / 396.5 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.09675, allocations: 3.984 kB / 396.5 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.09704, allocations: 84.45 kB / 396.5 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006767/0.09772, allocations: 424.2 kB / 397 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.09796, allocations: 91.53 kB / 397.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.09816, allocations: 76.7 kB / 397.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.237/0.3351, allocations: 26.34 MB / 423.5 MB, free: 80.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3351, allocations: 33.39 kB / 423.5 MB, free: 80.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 1.823e-06/0.3351, allocations: 0 / 423.5 MB, free: 80.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.000682/0.3358, allocations: 324.4 kB / 423.8 MB, free: 79.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.3358, allocations: 51.41 kB / 423.9 MB, free: 79.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.3359, allocations: 216.6 kB / 424.1 MB, free: 79.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.3359, allocations: 29.09 kB / 424.1 MB, free: 79.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.336, allocations: 139.9 kB / 424.2 MB, free: 79.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/0.3361, allocations: 157 kB / 424.4 MB, free: 79.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.3361, allocations: 55.36 kB / 424.4 MB, free: 79.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.3362, allocations: 0.5079 MB / 425 MB, free: 78.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3363, allocations: 60.47 kB / 425 MB, free: 78.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.3365, allocations: 58.47 kB / 425.1 MB, free: 78.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.3367, allocations: 179.6 kB / 425.2 MB, free: 78.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3367, allocations: 0 / 425.2 MB, free: 78.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003697/0.3371, allocations: 238 kB / 425.5 MB, free: 78.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3371, allocations: 4 kB / 425.5 MB, free: 78.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3371, allocations: 8 kB / 425.5 MB, free: 78.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3371, allocations: 0 / 425.5 MB, free: 78.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3373, allocations: 15.98 kB / 425.5 MB, free: 78.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3373, allocations: 7.781 kB / 425.5 MB, free: 78.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3374, allocations: 22.38 kB / 425.5 MB, free: 78.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.3374, allocations: 11.98 kB / 425.5 MB, free: 78.05 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 7.226e-05/0.3375, allocations: 160.6 kB / 425.7 MB, free: 77.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.3375, allocations: 27.86 kB / 425.7 MB, free: 77.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.338, allocations: 303.1 kB / 426 MB, free: 77.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.338, allocations: 7.984 kB / 426 MB, free: 77.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.338, allocations: 0 / 426 MB, free: 77.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.338, allocations: 7.938 kB / 426 MB, free: 77.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.3382, allocations: 193.2 kB / 426.2 MB, free: 77.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3382, allocations: 3.719 kB / 426.2 MB, free: 77.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.3383, allocations: 15.98 kB / 426.2 MB, free: 77.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3383, allocations: 0 / 426.2 MB, free: 77.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3383, allocations: 12 kB / 426.3 MB, free: 77.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3383, allocations: 0 / 426.3 MB, free: 77.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3383, allocations: 0 / 426.3 MB, free: 77.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.3387, allocations: 403.5 kB / 426.7 MB, free: 76.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.3388, allocations: 38.88 kB / 426.7 MB, free: 76.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.3388, allocations: 3.25 kB / 426.7 MB, free: 76.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3389, allocations: 11.98 kB / 426.7 MB, free: 76.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.339, allocations: 11.98 kB / 426.7 MB, free: 76.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.339, allocations: 11.98 kB / 426.7 MB, free: 76.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.88e-05/0.3391, allocations: 157.5 kB / 426.9 MB, free: 76.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3391, allocations: 0 / 426.9 MB, free: 76.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001974/0.341, allocations: 1.138 MB / 428 MB, free: 75.68 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.003928/0.345, allocations: 1.848 MB / 429.9 MB, free: 74.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.3454, allocations: 172.6 kB / 430 MB, free: 73.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3454, allocations: 0 / 430 MB, free: 73.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.3455, allocations: 113.1 kB / 430.2 MB, free: 73.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009522/0.3465, allocations: 159.4 kB / 430.3 MB, free: 73.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.347, allocations: 354.6 kB / 430.7 MB, free: 73.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.3471, allocations: 125.2 kB / 430.8 MB, free: 73.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.725e-05/0.3471, allocations: 13.42 kB / 430.8 MB, free: 73.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.3472, allocations: 20.5 kB / 430.8 MB, free: 73.04 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3472, allocations: 0 / 430.8 MB, free: 73.04 MB / 330.7 MB Notification: Performance of Templates: time 0.03349/0.3807, allocations: 31.49 MB / 462.3 MB, free: 41.8 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: 5.868939331034198]