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.004799/0.004799, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001179/0.001179, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.21/1.21, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04223/0.04223, allocations: 9.096 MB / 279 MB, free: 12.05 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.001325/0.001325, allocations: 63.91 kB / 387.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2221, allocations: 48.15 MB / 435.6 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01772/0.2399, allocations: 18.14 MB / 453.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0166/0.2565, allocations: 17.53 MB / 471.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.2567, allocations: 1.125 kB / 471.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.2575, allocations: 322.6 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005192/0.258, allocations: 252 kB / 471.8 MB, free: 11.53 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.01736/0.2754, allocations: 7.696 MB / 479.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.2758, allocations: 350.2 kB / 479.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.2758, allocations: 20.31 kB / 479.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.2761, allocations: 159.3 kB / 480 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2763, allocations: 95.62 kB / 480.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2763, allocations: 4 kB / 480.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01537/0.2917, allocations: 10.62 MB / 490.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.2917, allocations: 23.86 kB / 490.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.2919, allocations: 103.5 kB / 490.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007949/0.2998, allocations: 4.459 MB / 495.3 MB, free: 5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2999, allocations: 0 / 495.3 MB, free: 5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2999, allocations: 7.875 kB / 495.4 MB, free: 4.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.2999, allocations: 0 / 495.4 MB, free: 4.992 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.0024/0.3023, allocations: 1.087 MB / 496.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3023, allocations: 8.031 kB / 496.4 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.3024, allocations: 19.81 kB / 496.5 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3025, allocations: 206.4 kB / 496.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3026, allocations: 4 kB / 496.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3026, allocations: 4 kB / 496.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.3029, allocations: 168.2 kB / 496.8 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3029, allocations: 0 / 496.8 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.303, allocations: 0 / 496.8 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.303, allocations: 11.98 kB / 496.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.3034, allocations: 164.2 kB / 497 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.304, allocations: 489 kB / 497.5 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.3043, allocations: 174.9 kB / 497.7 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.3045, allocations: 149.7 kB / 497.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1336/0.4382, allocations: 93.62 MB / 0.5776 GB, free: 4.352 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.4382, allocations: 30.56 kB / 0.5776 GB, free: 4.312 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.4383, allocations: 4 kB / 0.5776 GB, free: 4.309 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.0009529/0.4392, allocations: 467.6 kB / 0.578 GB, free: 3.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.4393, allocations: 55.41 kB / 0.5781 GB, free: 3.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.4394, allocations: 138 kB / 0.5782 GB, free: 3.637 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.4394, allocations: 37.7 kB / 0.5783 GB, free: 3.594 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.4394, allocations: 85.14 kB / 0.5783 GB, free: 3.508 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.122e-05/0.4395, allocations: 145.8 kB / 0.5785 GB, free: 3.363 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.4396, allocations: 53.59 kB / 0.5785 GB, free: 3.305 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.4397, allocations: 330.8 kB / 0.5789 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.4399, allocations: 112.4 kB / 0.579 GB, free: 2.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.4402, allocations: 122.1 kB / 0.5791 GB, free: 2.742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.4407, allocations: 279.7 kB / 0.5793 GB, free: 2.465 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4407, allocations: 0 / 0.5793 GB, free: 2.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005424/0.4412, allocations: 333.1 kB / 0.5797 GB, free: 2.137 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4412, allocations: 7.594 kB / 0.5797 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4412, allocations: 0 / 0.5797 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4413, allocations: 0 / 0.5797 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.4414, allocations: 27.91 kB / 0.5797 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.4414, allocations: 0 / 0.5797 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.4416, allocations: 39.66 kB / 0.5797 GB, free: 2.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.4416, allocations: 8 kB / 0.5797 GB, free: 2.059 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 8.838e-05/0.4417, allocations: 121.7 kB / 0.5799 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.4417, allocations: 27.72 kB / 0.5799 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.4424, allocations: 395.9 kB / 0.5803 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.4425, allocations: 7.984 kB / 0.5803 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4425, allocations: 0 / 0.5803 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4425, allocations: 0 / 0.5803 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.4427, allocations: 289.7 kB / 0.5805 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4428, allocations: 0 / 0.5805 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.4429, allocations: 27.91 kB / 0.5806 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4429, allocations: 4 kB / 0.5806 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.4429, allocations: 0 / 0.5806 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4429, allocations: 0 / 0.5806 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4429, allocations: 7.984 kB / 0.5806 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.4435, allocations: 447.6 kB / 0.581 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.4436, allocations: 120.7 kB / 0.5811 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.4437, allocations: 0 / 0.5811 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.4438, allocations: 15.98 kB / 0.5811 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.4439, allocations: 11.92 kB / 0.5812 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.4439, allocations: 11.98 kB / 0.5812 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.859e-05/0.4439, allocations: 102.5 kB / 0.5813 GB, free: 408 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4439, allocations: 0 / 0.5813 GB, free: 408 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.002076/0.446, allocations: 1.124 MB / 0.5824 GB, free: 15.27 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.003281/0.4493, allocations: 1.674 MB / 0.584 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005726/0.4499, allocations: 295.3 kB / 0.5843 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4499, allocations: 0 / 0.5843 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.4502, allocations: 160.3 kB / 0.5844 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008478/0.451, allocations: 156.3 kB / 0.5846 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.4516, allocations: 407.5 kB / 0.585 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.4519, allocations: 0.7367 MB / 0.5857 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.977e-05/0.452, allocations: 7.984 kB / 0.5857 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.452, allocations: 23.44 kB / 0.5857 GB, free: 11.77 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.452, allocations: 0 / 0.5857 GB, free: 11.77 MB / 494.1 MB Notification: Performance of Templates: time 0.1758/0.6279, allocations: 30.74 MB / 0.6157 GB, free: 168.9 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)