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.001038/0.001038, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001149/0.001149, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.466/1.466, allocations: 205.1 MB / 222 MB, free: 4.988 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04333/0.04333, allocations: 9.078 MB / 278.4 MB, free: 12.64 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.001234/0.001234, allocations: 63.91 kB / 337.3 MB, free: 25.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09748, allocations: 48.17 MB / 385.5 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01917/0.1167, allocations: 18.37 MB / 403.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.1322, allocations: 17.98 MB / 421.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.1325, allocations: 0 / 421.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007172/0.1333, allocations: 266.6 kB / 422.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004966/0.1338, allocations: 210.7 kB / 422.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2189/0.3526, allocations: 5.976 MB / 428.3 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.3531, allocations: 340.2 kB / 428.6 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.9e-05/0.3532, allocations: 17.97 kB / 428.6 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.3535, allocations: 153.5 kB / 428.8 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.3537, allocations: 98.48 kB / 428.9 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3537, allocations: 4.531 kB / 428.9 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01838/0.3721, allocations: 9.685 MB / 438.6 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.3722, allocations: 23.97 kB / 438.6 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.3725, allocations: 95.64 kB / 438.7 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.3858, allocations: 4.331 MB / 443 MB, free: 16.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3858, allocations: 3.562 kB / 443 MB, free: 16.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3859, allocations: 2.844 kB / 443 MB, free: 16.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.3859, allocations: 0 / 443 MB, free: 16.21 MB / 318.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.003416/0.3893, allocations: 1.094 MB / 444.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3894, allocations: 11 kB / 444.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.845e-05/0.3894, allocations: 22.47 kB / 444.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.3896, allocations: 200.8 kB / 444.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3897, allocations: 3.938 kB / 444.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3897, allocations: 3.125 kB / 444.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.3901, allocations: 165.7 kB / 444.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3901, allocations: 1.875 kB / 444.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3901, allocations: 7.656 kB / 444.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.3902, allocations: 7.859 kB / 444.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.3906, allocations: 160.8 kB / 444.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.3909, allocations: 281.7 kB / 445 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.3913, allocations: 181 kB / 445.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.3915, allocations: 158.7 kB / 445.3 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1483/0.5399, allocations: 93.62 MB / 0.5263 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.54, allocations: 38.56 kB / 0.5263 GB, free: 7.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/0.54, allocations: 1.094 kB / 0.5263 GB, free: 7.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.00104/0.541, allocations: 479.6 kB / 0.5268 GB, free: 7.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.5411, allocations: 51.41 kB / 0.5268 GB, free: 7.328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.5412, allocations: 143.3 kB / 0.527 GB, free: 7.184 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.5412, allocations: 29.7 kB / 0.527 GB, free: 7.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.5413, allocations: 93.12 kB / 0.5271 GB, free: 7.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.5414, allocations: 151.9 kB / 0.5272 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-05/0.5415, allocations: 45.61 kB / 0.5273 GB, free: 6.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5417, allocations: 334.8 kB / 0.5276 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.5419, allocations: 120.4 kB / 0.5277 GB, free: 6.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.5422, allocations: 122.1 kB / 0.5278 GB, free: 6.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.5427, allocations: 283.7 kB / 0.5281 GB, free: 6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5427, allocations: 0 / 0.5281 GB, free: 6 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005866/0.5433, allocations: 331.1 kB / 0.5284 GB, free: 5.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.5433, allocations: 6.344 kB / 0.5284 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5433, allocations: 4 kB / 0.5284 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5433, allocations: 0 / 0.5284 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.5435, allocations: 35.91 kB / 0.5285 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.5435, allocations: 0 / 0.5285 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.5437, allocations: 30.7 kB / 0.5285 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.5437, allocations: 7.984 kB / 0.5285 GB, free: 5.598 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 0.0001189/0.5439, allocations: 121.8 kB / 0.5286 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.5439, allocations: 19.72 kB / 0.5286 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007544/0.5447, allocations: 414.1 kB / 0.529 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.5447, allocations: 11.98 kB / 0.529 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5447, allocations: 0 / 0.529 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5447, allocations: 0 / 0.529 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.545, allocations: 290.2 kB / 0.5293 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.545, allocations: 0 / 0.5293 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.5452, allocations: 23.98 kB / 0.5293 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5452, allocations: 1.078 kB / 0.5293 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.5452, allocations: 8.859 kB / 0.5293 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5452, allocations: 0 / 0.5293 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5452, allocations: 9.141 kB / 0.5294 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.5459, allocations: 371.6 kB / 0.5297 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.546, allocations: 121.5 kB / 0.5298 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.5461, allocations: 4 kB / 0.5298 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.5462, allocations: 21.84 kB / 0.5298 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.5463, allocations: 7.984 kB / 0.5299 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.5463, allocations: 8.078 kB / 0.5299 GB, free: 4.121 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.634e-05/0.5464, allocations: 99.27 kB / 0.53 GB, free: 4.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5464, allocations: 0 / 0.53 GB, free: 4.023 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003591/0.55, allocations: 1.121 MB / 0.5311 GB, free: 2.902 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.006407/0.5564, allocations: 1.675 MB / 0.5327 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007657/0.5572, allocations: 299.8 kB / 0.533 GB, free: 1.105 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5572, allocations: 0 / 0.533 GB, free: 1.105 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.5575, allocations: 164.3 kB / 0.5331 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009479/0.5585, allocations: 158.8 kB / 0.5333 GB, free: 0.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.5594, allocations: 0.4933 MB / 0.5338 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.5597, allocations: 0.7332 MB / 0.5345 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.5599, allocations: 22 kB / 0.5345 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.5599, allocations: 15.44 kB / 0.5345 GB, free: 15.49 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.56, allocations: 1.75 kB / 0.5345 GB, free: 15.49 MB / 430.1 MB Notification: Performance of Templates: time 0.04898/0.6089, allocations: 30.35 MB / 0.5642 GB, free: 1.234 MB / 446.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)