Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007839/0.007839, allocations: 99.41 kB / 15.73 MB, free: 5.594 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.00141/0.00141, allocations: 195.1 kB / 16.67 MB, free: 5.527 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001248/0.001248, allocations: 47.92 kB / 326.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1121, allocations: 46.62 MB / 373.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005759/0.1179, allocations: 4.474 MB / 377.6 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2375/0.3555, allocations: 1.816 MB / 379.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.088e-05/0.3556, allocations: 0 / 379.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.356, allocations: 44.19 kB / 379.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.3563, allocations: 121.2 kB / 379.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.357, allocations: 251 kB / 379.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003614/0.3574, allocations: 286.9 kB / 380.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.016e-05/0.3575, allocations: 12.72 kB / 380.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.3577, allocations: 124.6 kB / 380.3 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.3579, allocations: 87.05 kB / 380.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.358, allocations: 9.125 kB / 380.4 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.3584, allocations: 99.7 kB / 380.4 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.3585, allocations: 36.97 kB / 380.5 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.3587, allocations: 75.05 kB / 380.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006868/0.3594, allocations: 211.9 kB / 380.8 MB, free: 9.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.3594, allocations: 0 / 380.8 MB, free: 9.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.3594, allocations: 0.5625 kB / 380.8 MB, free: 9.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3594, allocations: 0 / 380.8 MB, free: 9.484 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001459/0.3609, allocations: 492.7 kB / 381.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.361, allocations: 9.469 kB / 381.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.3612, allocations: 23.17 kB / 381.3 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.3618, allocations: 209.8 kB / 381.5 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.3619, allocations: 10.06 kB / 381.5 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.3619, allocations: 17.28 kB / 381.5 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/0.3626, allocations: 217 kB / 381.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.3627, allocations: 1.578 kB / 381.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.3627, allocations: 6.188 kB / 381.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.3627, allocations: 4.781 kB / 381.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.3633, allocations: 158.9 kB / 381.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.3652, allocations: 0.945 MB / 382.8 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.3659, allocations: 150.5 kB / 383 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.3661, allocations: 64.38 kB / 383 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007686/0.3669, allocations: 0.5001 MB / 383.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.3669, allocations: 36.36 kB / 383.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3669, allocations: 0 / 383.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.003353/0.3703, allocations: 0.7778 MB / 384.4 MB, free: 7.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.3704, allocations: 53.62 kB / 384.4 MB, free: 7.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.3706, allocations: 151.9 kB / 384.6 MB, free: 7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.3706, allocations: 29.75 kB / 384.6 MB, free: 6.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3707, allocations: 140.5 kB / 384.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.3708, allocations: 74.45 kB / 384.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.371, allocations: 59.41 kB / 384.9 MB, free: 6.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3711, allocations: 330.5 kB / 385.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.3715, allocations: 79.69 kB / 385.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.3718, allocations: 193.7 kB / 385.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/0.3725, allocations: 295.4 kB / 385.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3725, allocations: 1.672 kB / 385.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008487/0.3734, allocations: 321.3 kB / 386 MB, free: 6.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.3734, allocations: 9.969 kB / 386.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3734, allocations: 3.75 kB / 386.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.3735, allocations: 5.953 kB / 386.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.3739, allocations: 77.7 kB / 386.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.3739, allocations: 10.84 kB / 386.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.3742, allocations: 19.59 kB / 386.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.3742, allocations: 16.17 kB / 386.2 MB, free: 6.098 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001221/0.3743, allocations: 146 kB / 386.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.3744, allocations: 11.94 kB / 386.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007037/0.3751, allocations: 239 kB / 386.6 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3751, allocations: 6.25 kB / 386.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3751, allocations: 1.125 kB / 386.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3751, allocations: 5.219 kB / 386.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.3765, allocations: 0.5891 MB / 387.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3765, allocations: 8.062 kB / 387.2 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.3768, allocations: 52.11 kB / 387.2 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3768, allocations: 2.406 kB / 387.2 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.3768, allocations: 5.344 kB / 387.2 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.3768, allocations: 7.281 kB / 387.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3768, allocations: 1.156 kB / 387.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008544/0.3777, allocations: 408.5 kB / 387.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.3777, allocations: 90.94 kB / 387.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.3778, allocations: 10.84 kB / 387.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.378, allocations: 15.14 kB / 387.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3781, allocations: 14.55 kB / 387.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.3781, allocations: 9.891 kB / 387.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.842e-05/0.3782, allocations: 114.8 kB / 387.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3782, allocations: 0 / 387.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004124/0.3786, allocations: 63.97 kB / 388 MB, free: 5.047 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002351/0.3789, allocations: 127 kB / 388.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.3795, allocations: 221.9 kB / 388.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3795, allocations: 2.344 kB / 388.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.3798, allocations: 89.56 kB / 388.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.3802, allocations: 48.94 kB / 388.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.3813, allocations: 472.4 kB / 388.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.3814, allocations: 0.7158 MB / 389.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.3817, allocations: 51.3 kB / 389.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.088e-05/0.3818, allocations: 27.48 kB / 389.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3818, allocations: 0.9062 kB / 389.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of Templates: time 0.006879/0.3886, allocations: 2.723 MB / 392.4 MB, free: 3.594 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)