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.001249/0.001249, allocations: 106.4 kB / 16.41 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 187.3 kB / 17.34 MB, free: 5.84 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.185/1.185, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04325/0.04325, allocations: 9.093 MB / 279.7 MB, free: 2.969 MB / 222.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.001354/0.001354, allocations: 70.48 kB / 388.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06716/0.06853, allocations: 48.17 MB / 436.3 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01688/0.08544, allocations: 18.14 MB / 454.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.1021, allocations: 17.54 MB / 472 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.1023, allocations: 0 / 472 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007259/0.103, allocations: 330.6 kB / 472.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.1036, allocations: 250.5 kB / 472.5 MB, free: 3.27 MB / 350.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.01519/0.1188, allocations: 7.672 MB / 480.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.1192, allocations: 354.2 kB / 480.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.1192, allocations: 24.25 kB / 480.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.1195, allocations: 155.4 kB / 480.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1197, allocations: 107.5 kB / 480.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1197, allocations: 4 kB / 480.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/0.1348, allocations: 10.62 MB / 491.5 MB, free: 328 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.638e-05/0.1349, allocations: 23.86 kB / 491.5 MB, free: 304 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.135, allocations: 99.53 kB / 491.6 MB, free: 204 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008642/0.1437, allocations: 4.469 MB / 496 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1437, allocations: 0 / 496 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1437, allocations: 4 kB / 496 MB, free: 11.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1437, allocations: 0 / 496 MB, free: 11.71 MB / 382.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.002356/0.1461, allocations: 1.126 MB / 497.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1462, allocations: 8.031 kB / 497.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.1462, allocations: 19.86 kB / 497.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.1464, allocations: 202.6 kB / 497.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1464, allocations: 8 kB / 497.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1464, allocations: 4 kB / 497.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.1468, allocations: 172.2 kB / 497.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1468, allocations: 0 / 497.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1468, allocations: 0 / 497.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1468, allocations: 11.98 kB / 497.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.1472, allocations: 156.3 kB / 497.7 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.1478, allocations: 485.2 kB / 498.2 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1481, allocations: 166.9 kB / 498.4 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.1484, allocations: 157.7 kB / 498.5 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.281/0.4294, allocations: 93.62 MB / 0.5783 GB, free: 38.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4295, allocations: 34.31 kB / 0.5783 GB, free: 38.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.886e-06/0.4295, allocations: 4 kB / 0.5783 GB, free: 38.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.0008133/0.4303, allocations: 468 kB / 0.5788 GB, free: 38.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.284e-05/0.4304, allocations: 51.41 kB / 0.5788 GB, free: 38.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.4304, allocations: 144.5 kB / 0.5789 GB, free: 38.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.4305, allocations: 29.7 kB / 0.579 GB, free: 38.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.4305, allocations: 85.14 kB / 0.579 GB, free: 38.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.4306, allocations: 159.9 kB / 0.5792 GB, free: 37.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.4306, allocations: 49.69 kB / 0.5792 GB, free: 37.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.4307, allocations: 334.6 kB / 0.5796 GB, free: 37.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.4309, allocations: 108.4 kB / 0.5797 GB, free: 37.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.431, allocations: 129.6 kB / 0.5798 GB, free: 37.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.4314, allocations: 283.7 kB / 0.5801 GB, free: 37.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4315, allocations: 0 / 0.5801 GB, free: 37.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000445/0.4319, allocations: 327.4 kB / 0.5804 GB, free: 36.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4319, allocations: 11.98 kB / 0.5804 GB, free: 36.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4319, allocations: 0 / 0.5804 GB, free: 36.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.432, allocations: 4 kB / 0.5804 GB, free: 36.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4321, allocations: 15.98 kB / 0.5804 GB, free: 36.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4321, allocations: 2.812 kB / 0.5804 GB, free: 36.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.4322, allocations: 38.48 kB / 0.5804 GB, free: 36.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4323, allocations: 4 kB / 0.5804 GB, free: 36.68 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 7.042e-05/0.4323, allocations: 130.9 kB / 0.5806 GB, free: 36.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.4324, allocations: 19.86 kB / 0.5806 GB, free: 36.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005949/0.433, allocations: 394.8 kB / 0.581 GB, free: 36.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.433, allocations: 7.938 kB / 0.581 GB, free: 36.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.433, allocations: 3.375 kB / 0.581 GB, free: 36.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.4331, allocations: 116.4 kB / 0.5811 GB, free: 36.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.4331, allocations: 4 kB / 0.5811 GB, free: 36.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.4332, allocations: 19.91 kB / 0.5811 GB, free: 35.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.4333, allocations: 15.98 kB / 0.5811 GB, free: 35.98 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005224/0.4338, allocations: 420.7 kB / 0.5815 GB, free: 35.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004695/0.4343, allocations: 0.5077 MB / 0.582 GB, free: 35.04 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002063/0.4345, allocations: 148.4 kB / 0.5822 GB, free: 34.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.285e-05/0.4345, allocations: 106.9 kB / 0.5823 GB, free: 34.79 MB / 414.1 MB Notification: Performance of Backend: time 5.11e-07/0.4345, allocations: 0 / 0.5823 GB, free: 34.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003908/0.4385, allocations: 1.878 MB / 0.5841 GB, free: 33.26 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004417/0.4389, allocations: 0.7719 MB / 0.5849 GB, free: 32.44 MB / 414.1 MB Notification: Performance of Templates: time 0.02652/0.4655, allocations: 29.1 MB / 0.6133 GB, free: 3.43 MB / 414.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)