Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.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_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005451/0.005451, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001293/0.001293, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.19/1.19, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04329/0.04329, allocations: 9.097 MB / 279 MB, free: 2.949 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.001325/0.001325, allocations: 69.52 kB / 387.4 MB, free: 47.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06653/0.06787, allocations: 48.17 MB / 435.6 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01553/0.08342, allocations: 18.14 MB / 453.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.09831, allocations: 17.53 MB / 471.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.09853, allocations: 8 kB / 471.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006904/0.09926, allocations: 326.6 kB / 471.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.09974, allocations: 250.5 kB / 471.8 MB, free: 3.25 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.01614/0.1159, allocations: 7.674 MB / 479.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.1163, allocations: 350.1 kB / 479.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.078e-05/0.1164, allocations: 20.25 kB / 479.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.1167, allocations: 163.3 kB / 480 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1169, allocations: 95.58 kB / 480.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.117, allocations: 8 kB / 480.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0178/0.1348, allocations: 10.62 MB / 490.8 MB, free: 308 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.1349, allocations: 23.86 kB / 490.8 MB, free: 284 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.135, allocations: 95.53 kB / 490.9 MB, free: 188 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.1453, allocations: 4.463 MB / 495.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1454, allocations: 0 / 495.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1454, allocations: 3.938 kB / 495.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1454, allocations: 0 / 495.4 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.002502/0.1479, allocations: 1.095 MB / 496.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.148, allocations: 8.031 kB / 496.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.148, allocations: 15.81 kB / 496.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.1482, allocations: 198.6 kB / 496.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1482, allocations: 8 kB / 496.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1483, allocations: 7.984 kB / 496.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.1486, allocations: 168.2 kB / 496.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1487, allocations: 0 / 496.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1487, allocations: 0 / 496.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.1487, allocations: 11.98 kB / 496.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.1491, allocations: 160.2 kB / 497 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.1494, allocations: 286 kB / 497.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1497, allocations: 182.9 kB / 497.5 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.15, allocations: 153.8 kB / 497.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2772/0.4272, allocations: 93.61 MB / 0.5774 GB, free: 39.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.4273, allocations: 38.56 kB / 0.5774 GB, free: 39.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.104e-06/0.4273, allocations: 1.641 kB / 0.5774 GB, free: 39.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.000819/0.4281, allocations: 477.9 kB / 0.5779 GB, free: 39.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.4282, allocations: 55.41 kB / 0.5779 GB, free: 39.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.4282, allocations: 141.3 kB / 0.5781 GB, free: 38.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.4283, allocations: 25.7 kB / 0.5781 GB, free: 38.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.4283, allocations: 97.12 kB / 0.5782 GB, free: 38.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.4284, allocations: 152.9 kB / 0.5783 GB, free: 38.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.4284, allocations: 41.7 kB / 0.5784 GB, free: 38.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.4285, allocations: 330.8 kB / 0.5787 GB, free: 38.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.4287, allocations: 120.4 kB / 0.5788 GB, free: 38.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.4289, allocations: 122.1 kB / 0.5789 GB, free: 38.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.4293, allocations: 287 kB / 0.5792 GB, free: 37.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4293, allocations: 0 / 0.5792 GB, free: 37.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004751/0.4298, allocations: 334.6 kB / 0.5795 GB, free: 37.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.4298, allocations: 8 kB / 0.5795 GB, free: 37.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4298, allocations: 0 / 0.5795 GB, free: 37.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4298, allocations: 0 / 0.5795 GB, free: 37.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.43, allocations: 25.66 kB / 0.5795 GB, free: 37.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.43, allocations: 4 kB / 0.5795 GB, free: 37.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.4301, allocations: 43.59 kB / 0.5796 GB, free: 37.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.4301, allocations: 4 kB / 0.5796 GB, free: 37.42 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 (12): * Single equations (assignments): 6 * 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 6.723e-05/0.4302, allocations: 125.5 kB / 0.5797 GB, free: 37.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.4302, allocations: 23.72 kB / 0.5797 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/0.4308, allocations: 402.1 kB / 0.5801 GB, free: 36.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4309, allocations: 11.98 kB / 0.5801 GB, free: 36.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4309, allocations: 3.938 kB / 0.5801 GB, free: 36.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4309, allocations: 0 / 0.5801 GB, free: 36.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.431, allocations: 289.3 kB / 0.5804 GB, free: 36.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4311, allocations: 2.25 kB / 0.5804 GB, free: 36.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4312, allocations: 23.98 kB / 0.5804 GB, free: 36.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4312, allocations: 0 / 0.5804 GB, free: 36.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4312, allocations: 3.984 kB / 0.5804 GB, free: 36.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4312, allocations: 4 kB / 0.5804 GB, free: 36.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4312, allocations: 3.938 kB / 0.5804 GB, free: 36.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.4317, allocations: 377.3 kB / 0.5808 GB, free: 36.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.4318, allocations: 112.7 kB / 0.5809 GB, free: 35.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.4318, allocations: 11.61 kB / 0.5809 GB, free: 35.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.4319, allocations: 15.97 kB / 0.5809 GB, free: 35.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.432, allocations: 15.92 kB / 0.5809 GB, free: 35.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.432, allocations: 4 kB / 0.5809 GB, free: 35.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.537e-05/0.432, allocations: 106.7 kB / 0.5811 GB, free: 35.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.432, allocations: 4 kB / 0.5811 GB, free: 35.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002005/0.434, allocations: 1.112 MB / 0.5821 GB, free: 34.88 MB / 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 (12): * Single equations (assignments): 6 * 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.003113/0.4372, allocations: 1.676 MB / 0.5838 GB, free: 33.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005266/0.4377, allocations: 299.7 kB / 0.5841 GB, free: 33.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4377, allocations: 3.938 kB / 0.5841 GB, free: 33.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.438, allocations: 164.2 kB / 0.5842 GB, free: 32.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/0.4387, allocations: 155 kB / 0.5844 GB, free: 32.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.4393, allocations: 417.6 kB / 0.5848 GB, free: 32.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.4394, allocations: 0.7368 MB / 0.5855 GB, free: 31.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.532e-05/0.4395, allocations: 15.67 kB / 0.5855 GB, free: 31.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.4395, allocations: 15.44 kB / 0.5855 GB, free: 31.58 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4395, allocations: 4 kB / 0.5855 GB, free: 31.57 MB / 414.1 MB Notification: Performance of Templates: time 0.02823/0.4678, allocations: 30.77 MB / 0.6156 GB, free: 0.9141 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1)