Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001059/0.001059, 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.001127/0.001127, allocations: 197.1 kB / 16.14 MB, free: 6.262 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.305/1.305, allocations: 205.1 MB / 222 MB, free: 4.984 MB / 174.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.001221/0.001221, allocations: 51.92 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2385, allocations: 46.62 MB / 324.7 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005589/0.2441, allocations: 4.507 MB / 329.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2461, allocations: 1.811 MB / 331 MB, free: 12.72 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.2462, allocations: 5.281 kB / 331 MB, free: 12.72 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.2465, allocations: 40.72 kB / 331 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.2468, allocations: 113.1 kB / 331.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/0.2474, allocations: 233.9 kB / 331.4 MB, free: 12.44 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.2478, allocations: 374.3 kB / 331.7 MB, free: 12.24 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.2479, allocations: 19.78 kB / 331.7 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.2481, allocations: 115.1 kB / 331.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.2483, allocations: 89.11 kB / 331.9 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.2483, allocations: 5.406 kB / 332 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.2486, allocations: 107.7 kB / 332.1 MB, free: 12.08 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.2486, allocations: 29.97 kB / 332.1 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.2487, allocations: 73.64 kB / 332.2 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.2491, allocations: 204.7 kB / 332.4 MB, free: 11.9 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2492, allocations: 0 / 332.4 MB, free: 11.9 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.2492, allocations: 0 / 332.4 MB, free: 11.9 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2492, allocations: 1.25 kB / 332.4 MB, free: 11.9 MB / 270.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.001062/0.2503, allocations: 496.2 kB / 332.8 MB, free: 11.44 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2503, allocations: 9.844 kB / 332.9 MB, free: 11.44 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.2505, allocations: 29.58 kB / 332.9 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.2507, allocations: 201.4 kB / 333.1 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.2508, allocations: 14.34 kB / 333.1 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.2508, allocations: 16.97 kB / 333.1 MB, free: 11.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.2512, allocations: 219.4 kB / 333.3 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2513, allocations: 0.875 kB / 333.3 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.2513, allocations: 7.219 kB / 333.3 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2513, allocations: 7.781 kB / 333.3 MB, free: 11.01 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.2517, allocations: 154.9 kB / 333.5 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.253, allocations: 0.9357 MB / 334.4 MB, free: 10.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.2534, allocations: 147.9 kB / 334.6 MB, free: 9.953 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2536, allocations: 54.95 kB / 334.6 MB, free: 9.922 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/0.2541, allocations: 0.5097 MB / 335.1 MB, free: 9.387 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.2542, allocations: 39.66 kB / 335.2 MB, free: 9.34 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.2542, allocations: 0 / 335.2 MB, free: 9.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002582/0.2568, allocations: 0.7648 MB / 335.9 MB, free: 8.562 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2568, allocations: 51.41 kB / 336 MB, free: 8.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.257, allocations: 154.4 kB / 336.1 MB, free: 8.34 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.257, allocations: 29.7 kB / 336.2 MB, free: 8.305 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.2571, allocations: 135.8 kB / 336.3 MB, free: 8.168 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.2572, allocations: 78.92 kB / 336.4 MB, free: 8.09 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.2573, allocations: 61.69 kB / 336.4 MB, free: 8.023 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2574, allocations: 326.8 kB / 336.8 MB, free: 7.695 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.2576, allocations: 87.88 kB / 336.8 MB, free: 7.609 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.2579, allocations: 193.8 kB / 337 MB, free: 7.371 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/0.2585, allocations: 294.2 kB / 337.3 MB, free: 7.035 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2586, allocations: 3.938 kB / 337.3 MB, free: 7.031 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006944/0.2593, allocations: 321.4 kB / 337.6 MB, free: 6.711 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2593, allocations: 12 kB / 337.7 MB, free: 6.699 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.2593, allocations: 8 kB / 337.7 MB, free: 6.691 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2593, allocations: 4 kB / 337.7 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.2597, allocations: 79.83 kB / 337.7 MB, free: 6.609 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.2597, allocations: 11.94 kB / 337.8 MB, free: 6.598 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.26, allocations: 19.98 kB / 337.8 MB, free: 6.578 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.26, allocations: 12 kB / 337.8 MB, free: 6.566 MB / 270.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.0001192/0.2601, allocations: 141.7 kB / 337.9 MB, free: 6.418 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.2602, allocations: 15.81 kB / 337.9 MB, free: 6.402 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006457/0.2608, allocations: 238.8 kB / 338.2 MB, free: 6.168 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2609, allocations: 4 kB / 338.2 MB, free: 6.164 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2609, allocations: 11.88 kB / 338.2 MB, free: 6.152 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.2609, allocations: 3.984 kB / 338.2 MB, free: 6.148 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.2622, allocations: 0.5912 MB / 338.8 MB, free: 5.488 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2622, allocations: 0 / 338.8 MB, free: 5.488 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.2625, allocations: 51.95 kB / 338.8 MB, free: 5.438 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2625, allocations: 0 / 338.8 MB, free: 5.438 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.2625, allocations: 11.98 kB / 338.8 MB, free: 5.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.2625, allocations: 11.88 kB / 338.9 MB, free: 5.414 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2625, allocations: 4.125 kB / 338.9 MB, free: 5.41 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008011/0.2633, allocations: 398.6 kB / 339.2 MB, free: 4.992 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.2634, allocations: 85.02 kB / 339.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.2635, allocations: 15.92 kB / 339.3 MB, free: 4.875 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.2637, allocations: 11.89 kB / 339.4 MB, free: 4.863 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.2637, allocations: 19.92 kB / 339.4 MB, free: 4.844 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.2638, allocations: 12.06 kB / 339.4 MB, free: 4.832 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.141e-05/0.2639, allocations: 107.2 kB / 339.5 MB, free: 4.727 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2639, allocations: 0 / 339.5 MB, free: 4.727 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004111/0.2643, allocations: 67.94 kB / 339.6 MB, free: 4.66 MB / 270.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.0003343/0.2646, allocations: 131.2 kB / 339.7 MB, free: 4.52 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005846/0.2652, allocations: 220.3 kB / 339.9 MB, free: 4.305 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.2652, allocations: 192 / 339.9 MB, free: 4.305 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.2655, allocations: 95.95 kB / 340 MB, free: 4.211 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.2659, allocations: 40.19 kB / 340 MB, free: 4.172 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.267, allocations: 0.5122 MB / 340.5 MB, free: 3.621 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2673, allocations: 0.7128 MB / 341.3 MB, free: 2.883 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.2675, allocations: 49.88 kB / 341.3 MB, free: 2.832 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.161e-05/0.2676, allocations: 23.42 kB / 341.3 MB, free: 2.809 MB / 270.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2677, allocations: 4 kB / 341.3 MB, free: 2.805 MB / 270.1 MB Notification: Performance of Templates: time 0.0057/0.2734, allocations: 2.577 MB / 343.9 MB, free: 232 kB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)