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.007371/0.007372, allocations: 106.2 kB / 15.74 MB, free: 6 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.001328/0.001328, allocations: 196.8 kB / 16.68 MB, free: 5.918 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.591/1.591, allocations: 205.1 MB / 222.5 MB, free: 4.352 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04576/0.04576, allocations: 9.092 MB / 279 MB, free: 11.93 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.001326/0.001326, allocations: 74.25 kB / 387.5 MB, free: 8.008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2909, allocations: 48.15 MB / 435.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02028/0.3112, allocations: 18.13 MB / 453.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0184/0.3296, allocations: 17.53 MB / 471.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.33, allocations: 5.281 kB / 471.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009047/0.3309, allocations: 292.6 kB / 471.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006505/0.3316, allocations: 226.8 kB / 471.8 MB, free: 11.34 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.02359/0.3552, allocations: 7.317 MB / 479.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.3557, allocations: 346.2 kB / 479.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.501e-05/0.3558, allocations: 20.31 kB / 479.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.3561, allocations: 155.3 kB / 479.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.3563, allocations: 103.6 kB / 479.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3563, allocations: 4 kB / 479.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02213/0.3785, allocations: 10.62 MB / 490.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.3787, allocations: 19.86 kB / 490.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.379, allocations: 99.48 kB / 490.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01506/0.3941, allocations: 4.463 MB / 494.9 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.3942, allocations: 7.938 kB / 494.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3942, allocations: 0 / 494.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3942, allocations: 0 / 494.9 MB, free: 5.27 MB / 366.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.002789/0.397, allocations: 1.091 MB / 496 MB, free: 4.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.397, allocations: 8.031 kB / 496 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.3971, allocations: 15.81 kB / 496 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.3973, allocations: 190.6 kB / 496.2 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3973, allocations: 4 kB / 496.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.3973, allocations: 8 kB / 496.2 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.3977, allocations: 176.2 kB / 496.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.3977, allocations: 0 / 496.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3977, allocations: 0 / 496.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.3978, allocations: 11.98 kB / 496.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.3982, allocations: 152.3 kB / 496.6 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/0.3989, allocations: 497 kB / 497 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.3993, allocations: 166.9 kB / 497.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.3996, allocations: 153.7 kB / 497.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1561/0.5557, allocations: 93.62 MB / 0.5771 GB, free: 4.641 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.5557, allocations: 34.56 kB / 0.5772 GB, free: 4.598 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 3.136e-06/0.5558, allocations: 0 / 0.5772 GB, free: 4.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.001181/0.5569, allocations: 475.5 kB / 0.5776 GB, free: 4.129 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.557, allocations: 55.41 kB / 0.5777 GB, free: 4.062 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.5572, allocations: 140.9 kB / 0.5778 GB, free: 3.918 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.5572, allocations: 25.7 kB / 0.5778 GB, free: 3.887 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.5573, allocations: 93.14 kB / 0.5779 GB, free: 3.793 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.5574, allocations: 141.8 kB / 0.5781 GB, free: 3.652 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.5575, allocations: 45.59 kB / 0.5781 GB, free: 3.602 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5577, allocations: 334.8 kB / 0.5784 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.5579, allocations: 120.4 kB / 0.5785 GB, free: 3.148 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.5582, allocations: 126 kB / 0.5786 GB, free: 3.023 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.5587, allocations: 283.7 kB / 0.5789 GB, free: 2.742 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.5587, allocations: 0 / 0.5789 GB, free: 2.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006289/0.5594, allocations: 333.1 kB / 0.5792 GB, free: 2.414 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5594, allocations: 4 kB / 0.5792 GB, free: 2.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5594, allocations: 7.969 kB / 0.5792 GB, free: 2.402 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.5594, allocations: 4 kB / 0.5793 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.5596, allocations: 19.98 kB / 0.5793 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5596, allocations: 0 / 0.5793 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.5598, allocations: 35.66 kB / 0.5793 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.5598, allocations: 4 kB / 0.5793 GB, free: 2.34 MB / 478.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.0001127/0.56, allocations: 125.7 kB / 0.5794 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.56, allocations: 19.72 kB / 0.5794 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007966/0.5608, allocations: 403.9 kB / 0.5798 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.5609, allocations: 7.984 kB / 0.5798 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5609, allocations: 0 / 0.5798 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5609, allocations: 4 kB / 0.5798 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.5612, allocations: 297.6 kB / 0.5801 GB, free: 1.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5612, allocations: 3.938 kB / 0.5801 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.5614, allocations: 15.98 kB / 0.5801 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.5614, allocations: 4 kB / 0.5802 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.5614, allocations: 3.984 kB / 0.5802 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5614, allocations: 0 / 0.5802 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5614, allocations: 0 / 0.5802 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.5621, allocations: 447.7 kB / 0.5806 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.5622, allocations: 112.7 kB / 0.5807 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.5622, allocations: 4 kB / 0.5807 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.5624, allocations: 19.97 kB / 0.5807 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.5625, allocations: 11.98 kB / 0.5807 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.5625, allocations: 4 kB / 0.5807 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.608e-05/0.5626, allocations: 99.27 kB / 0.5808 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5626, allocations: 3.938 kB / 0.5808 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003398/0.566, allocations: 1.128 MB / 0.5819 GB, free: 15.55 MB / 494.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.005795/0.5718, allocations: 1.666 MB / 0.5836 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000765/0.5726, allocations: 299.2 kB / 0.5838 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5726, allocations: 0 / 0.5838 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.5729, allocations: 160.4 kB / 0.584 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009944/0.5739, allocations: 167.6 kB / 0.5842 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.5748, allocations: 399.5 kB / 0.5845 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.5752, allocations: 0.7367 MB / 0.5853 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.5753, allocations: 12 kB / 0.5853 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.5754, allocations: 23.42 kB / 0.5853 GB, free: 12.04 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5754, allocations: 0 / 0.5853 GB, free: 12.04 MB / 494.1 MB Notification: Performance of Templates: time 0.2418/0.8172, allocations: 30.74 MB / 0.6153 GB, free: 169 MB / 494.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)