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.001498/0.001498, allocations: 111.1 kB / 16.42 MB, free: 6.48 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.001646/0.001646, allocations: 191.8 kB / 17.35 MB, free: 5.75 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.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04603/0.04603, allocations: 9.096 MB / 279.7 MB, free: 2.953 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.001441/0.001441, allocations: 67.91 kB / 388.1 MB, free: 47.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07609/0.07755, allocations: 48.17 MB / 436.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01728/0.09486, allocations: 18.14 MB / 454.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.1103, allocations: 17.54 MB / 472 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.1106, allocations: 4 kB / 472 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007046/0.1113, allocations: 290.6 kB / 472.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004752/0.1118, allocations: 222.5 kB / 472.5 MB, free: 3.316 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.0165/0.1283, allocations: 7.301 MB / 479.8 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.1288, allocations: 346.1 kB / 480.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.834e-05/0.1288, allocations: 20.31 kB / 480.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.1291, allocations: 167.3 kB / 480.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.1293, allocations: 91.58 kB / 480.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1294, allocations: 12 kB / 480.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01895/0.1483, allocations: 10.62 MB / 491 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.1484, allocations: 23.86 kB / 491 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.1486, allocations: 95.55 kB / 491.1 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009615/0.1582, allocations: 4.459 MB / 495.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1582, allocations: 0 / 495.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1582, allocations: 0 / 495.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1583, allocations: 8 kB / 495.6 MB, free: 12.14 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.002598/0.1609, allocations: 1.087 MB / 496.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1609, allocations: 15.97 kB / 496.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.001e-05/0.161, allocations: 15.81 kB / 496.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1612, allocations: 202.5 kB / 496.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1612, allocations: 4 kB / 496.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1612, allocations: 4 kB / 496.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.1616, allocations: 168.2 kB / 497.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1616, allocations: 4 kB / 497.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1617, allocations: 0 / 497.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.1617, allocations: 7.984 kB / 497.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.1621, allocations: 156.3 kB / 497.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.1628, allocations: 489.1 kB / 497.7 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.1631, allocations: 162.9 kB / 497.9 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.1634, allocations: 161.7 kB / 498 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3763/0.5397, allocations: 93.62 MB / 0.5778 GB, free: 16.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.5398, allocations: 32.03 kB / 0.5778 GB, free: 16.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.415e-06/0.5398, allocations: 0 / 0.5778 GB, free: 16.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.0009132/0.5407, allocations: 475 kB / 0.5783 GB, free: 16.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.316e-05/0.5407, allocations: 51.41 kB / 0.5783 GB, free: 16.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.5408, allocations: 137.3 kB / 0.5785 GB, free: 16.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.5408, allocations: 25.7 kB / 0.5785 GB, free: 16.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.5409, allocations: 99.73 kB / 0.5786 GB, free: 16.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.541, allocations: 136.9 kB / 0.5787 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.541, allocations: 49.42 kB / 0.5788 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.291e-05/0.5411, allocations: 330.2 kB / 0.5791 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.5413, allocations: 120 kB / 0.5792 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.5415, allocations: 125.6 kB / 0.5793 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.542, allocations: 289.5 kB / 0.5796 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.542, allocations: 0 / 0.5796 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004963/0.5425, allocations: 322.8 kB / 0.5799 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5425, allocations: 3.719 kB / 0.5799 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5425, allocations: 2.953 kB / 0.5799 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.5426, allocations: 3.875 kB / 0.5799 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.5427, allocations: 24.42 kB / 0.5799 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5427, allocations: 7.469 kB / 0.5799 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.5429, allocations: 31 kB / 0.58 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.5429, allocations: 3.938 kB / 0.58 GB, free: 15.52 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.336e-05/0.543, allocations: 125.5 kB / 0.5801 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.543, allocations: 19.59 kB / 0.5801 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006264/0.5436, allocations: 397.2 kB / 0.5805 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5437, allocations: 2.281 kB / 0.5805 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5437, allocations: 1.875 kB / 0.5805 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.5437, allocations: 116.5 kB / 0.5806 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.5438, allocations: 9.188 kB / 0.5806 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.5439, allocations: 14.8 kB / 0.5806 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.544, allocations: 18.45 kB / 0.5806 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005785/0.5446, allocations: 419 kB / 0.581 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000518/0.5451, allocations: 0.5016 MB / 0.5815 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002263/0.5453, allocations: 154.5 kB / 0.5817 GB, free: 14.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.954e-05/0.5454, allocations: 110.5 kB / 0.5818 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Backend: time 4.31e-07/0.5454, allocations: 0 / 0.5818 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004499/0.5499, allocations: 1.853 MB / 0.5836 GB, free: 14.46 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004995/0.5504, allocations: 0.7684 MB / 0.5843 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Templates: time 0.03748/0.5879, allocations: 29.16 MB / 0.6128 GB, free: 1.316 MB / 430.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)