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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0463/0.0463, allocations: 9.096 MB / 278.9 MB, free: 12.2 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.91 kB / 338 MB, free: 25.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1014, allocations: 48.18 MB / 386.2 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.0231/0.1246, allocations: 18.12 MB / 404.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01912/0.1438, allocations: 17.53 MB / 421.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.1441, allocations: 0 / 421.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.1453, allocations: 302.7 kB / 422.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.146, allocations: 222.6 kB / 422.4 MB, free: 4.945 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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 master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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 master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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 master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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.226/0.3719, allocations: 7.291 MB / 429.6 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000494/0.3725, allocations: 353.4 kB / 430 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.498e-05/0.3725, allocations: 19.69 kB / 430 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.3728, allocations: 154.5 kB / 430.2 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.373, allocations: 93.28 kB / 430.3 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.373, allocations: 5.688 kB / 430.3 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01816/0.3912, allocations: 10.12 MB / 440.4 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.3913, allocations: 23.06 kB / 440.4 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.3916, allocations: 96.72 kB / 440.5 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.4035, allocations: 4.467 MB / 445 MB, free: 15.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.4036, allocations: 0 / 445 MB, free: 15.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4036, allocations: 0 / 445 MB, free: 15.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.4036, allocations: 1.344 kB / 445 MB, free: 15.84 MB / 318.1 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.003602/0.4072, allocations: 1.098 MB / 446.1 MB, free: 15.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4073, allocations: 9.812 kB / 446.1 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.4074, allocations: 19.11 kB / 446.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.4075, allocations: 193.7 kB / 446.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4075, allocations: 4.031 kB / 446.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.4075, allocations: 3.062 kB / 446.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.4079, allocations: 168.8 kB / 446.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4079, allocations: 0 / 446.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.408, allocations: 6.812 kB / 446.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.408, allocations: 8.141 kB / 446.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.4084, allocations: 159 kB / 446.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.409, allocations: 485.7 kB / 447.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.4093, allocations: 167.1 kB / 447.3 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.4095, allocations: 156.9 kB / 447.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1494/0.5589, allocations: 93.62 MB / 0.5284 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.559, allocations: 38.56 kB / 0.5284 GB, free: 5.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.346e-06/0.559, allocations: 0 / 0.5284 GB, free: 5.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001322/0.5604, allocations: 474.9 kB / 0.5288 GB, free: 4.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.5604, allocations: 51.41 kB / 0.5289 GB, free: 4.883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.5606, allocations: 137.9 kB / 0.529 GB, free: 4.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.5606, allocations: 25.7 kB / 0.5291 GB, free: 4.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.5607, allocations: 95.33 kB / 0.5291 GB, free: 4.617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.5609, allocations: 143.6 kB / 0.5293 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.561, allocations: 49.59 kB / 0.5293 GB, free: 4.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5611, allocations: 334.8 kB / 0.5296 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.5614, allocations: 112.4 kB / 0.5298 GB, free: 3.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.5616, allocations: 124.3 kB / 0.5299 GB, free: 3.859 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.5622, allocations: 286.9 kB / 0.5301 GB, free: 3.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5622, allocations: 0 / 0.5301 GB, free: 3.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006043/0.5628, allocations: 329.6 kB / 0.5305 GB, free: 3.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5628, allocations: 8 kB / 0.5305 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5628, allocations: 0 / 0.5305 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5629, allocations: 0 / 0.5305 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.563, allocations: 19.98 kB / 0.5305 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.563, allocations: 7.094 kB / 0.5305 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.5632, allocations: 32.42 kB / 0.5305 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.5633, allocations: 8 kB / 0.5305 GB, free: 3.188 MB / 414.1 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 0.000108/0.5634, allocations: 121.8 kB / 0.5306 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.5634, allocations: 20.81 kB / 0.5307 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/0.5642, allocations: 407.7 kB / 0.5311 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.5643, allocations: 11.55 kB / 0.5311 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.5643, allocations: 0.9375 kB / 0.5311 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5643, allocations: 3.984 kB / 0.5311 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.5646, allocations: 293.4 kB / 0.5314 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5647, allocations: 4 kB / 0.5314 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.5648, allocations: 22.97 kB / 0.5314 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.099e-05/0.5648, allocations: 7.984 kB / 0.5314 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.5649, allocations: 4.812 kB / 0.5314 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.5649, allocations: 0 / 0.5314 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5649, allocations: 0.6562 kB / 0.5314 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006773/0.5655, allocations: 448.4 kB / 0.5318 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.5657, allocations: 105.8 kB / 0.5319 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.5657, allocations: 0 / 0.5319 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.5659, allocations: 23.41 kB / 0.5319 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.566, allocations: 11.98 kB / 0.532 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.566, allocations: 6.906 kB / 0.532 GB, free: 1.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.5661, allocations: 99.27 kB / 0.5321 GB, free: 1.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5661, allocations: 0.7656 kB / 0.5321 GB, free: 1.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003725/0.5698, allocations: 1.121 MB / 0.5331 GB, free: 448 kB / 414.1 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.006406/0.5762, allocations: 1.672 MB / 0.5348 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008294/0.5771, allocations: 303.7 kB / 0.5351 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5771, allocations: 0 / 0.5351 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.5775, allocations: 160.4 kB / 0.5352 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.5786, allocations: 159.3 kB / 0.5354 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.5795, allocations: 404.7 kB / 0.5358 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.5799, allocations: 0.7405 MB / 0.5365 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.58, allocations: 8 kB / 0.5365 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/0.5801, allocations: 19.44 kB / 0.5365 GB, free: 13.12 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5801, allocations: 4 kB / 0.5365 GB, free: 13.11 MB / 430.1 MB Notification: Performance of Templates: time 0.05092/0.631, allocations: 30.73 MB / 0.5665 GB, free: 14.48 MB / 462.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile (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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1)