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.0009193/0.0009194, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009205/0.000921, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0008591/0.0008593, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2486, allocations: 47.59 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004189/0.2528, allocations: 3.96 MB / 330.4 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.2546, allocations: 1.688 MB / 332.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.2547, allocations: 1.125 kB / 332.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.2549, allocations: 28.31 kB / 332.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.2552, allocations: 123.2 kB / 332.3 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.2558, allocations: 213.8 kB / 332.5 MB, free: 12.56 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.2562, allocations: 313.5 kB / 332.8 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.2563, allocations: 15.7 kB / 332.8 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.2565, allocations: 120.1 kB / 332.9 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.2567, allocations: 83.62 kB / 333 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.2567, allocations: 5.781 kB / 333 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.2569, allocations: 79.8 kB / 333.1 MB, free: 12.24 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.911e-05/0.257, allocations: 33.39 kB / 333.1 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.2571, allocations: 55.48 kB / 333.2 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.2573, allocations: 143.6 kB / 333.3 MB, free: 12.09 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2573, allocations: 0 / 333.3 MB, free: 12.09 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2573, allocations: 0 / 333.3 MB, free: 12.09 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2573, allocations: 0 / 333.3 MB, free: 12.09 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.0007993/0.2581, allocations: 458.2 kB / 333.7 MB, free: 11.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2582, allocations: 13.09 kB / 333.8 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.2583, allocations: 28.52 kB / 333.8 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.2585, allocations: 208.9 kB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2586, allocations: 9.469 kB / 334 MB, free: 11.4 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.2586, allocations: 17.34 kB / 334 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.259, allocations: 213.2 kB / 334.2 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.259, allocations: 1.188 kB / 334.2 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.2591, allocations: 6.375 kB / 334.2 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2591, allocations: 4.625 kB / 334.2 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.2594, allocations: 150.3 kB / 334.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.2606, allocations: 0.9473 MB / 335.3 MB, free: 10.24 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.261, allocations: 142.8 kB / 335.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.2612, allocations: 55.08 kB / 335.5 MB, free: 10.13 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006111/0.2618, allocations: 0.5086 MB / 336 MB, free: 9.598 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.2619, allocations: 41.14 kB / 336.1 MB, free: 9.551 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.2619, allocations: 0 / 336.1 MB, free: 9.551 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002608/0.2645, allocations: 0.7652 MB / 336.8 MB, free: 8.785 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.2646, allocations: 59.39 kB / 336.9 MB, free: 8.715 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.2648, allocations: 150.8 kB / 337 MB, free: 8.559 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.2648, allocations: 29.7 kB / 337.1 MB, free: 8.523 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.2649, allocations: 143.9 kB / 337.2 MB, free: 8.379 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.265, allocations: 70.94 kB / 337.3 MB, free: 8.309 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.265, allocations: 11.94 kB / 337.3 MB, free: 8.297 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2652, allocations: 326.8 kB / 337.6 MB, free: 7.969 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.2655, allocations: 83.88 kB / 337.7 MB, free: 7.887 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.2658, allocations: 198 kB / 337.9 MB, free: 7.645 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.2661, allocations: 104.8 kB / 338 MB, free: 7.543 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2661, allocations: 0 / 338 MB, free: 7.543 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007225/0.2668, allocations: 319.1 kB / 338.3 MB, free: 7.227 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.2669, allocations: 8.422 kB / 338.3 MB, free: 7.219 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.2669, allocations: 8 kB / 338.3 MB, free: 7.211 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.2669, allocations: 8 kB / 338.3 MB, free: 7.203 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.2673, allocations: 79.83 kB / 338.4 MB, free: 7.125 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.2673, allocations: 7.984 kB / 338.4 MB, free: 7.117 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.2676, allocations: 19.98 kB / 338.4 MB, free: 7.098 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.2676, allocations: 12 kB / 338.4 MB, free: 7.086 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.2678, allocations: 137.8 kB / 338.6 MB, free: 6.941 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.2678, allocations: 15.81 kB / 338.6 MB, free: 6.926 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006354/0.2685, allocations: 242.7 kB / 338.8 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2685, allocations: 0 / 338.8 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.2685, allocations: 0 / 338.8 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2685, allocations: 7.953 kB / 338.8 MB, free: 6.68 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.2697, allocations: 0.5952 MB / 339.4 MB, free: 6.016 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2697, allocations: 3.938 kB / 339.4 MB, free: 6.012 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.27, allocations: 51.91 kB / 339.5 MB, free: 5.961 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.27, allocations: 0 / 339.5 MB, free: 5.961 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.2701, allocations: 11.98 kB / 339.5 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.2701, allocations: 4 kB / 339.5 MB, free: 5.945 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2701, allocations: 0 / 339.5 MB, free: 5.945 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.2708, allocations: 410.8 kB / 339.9 MB, free: 5.516 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.2709, allocations: 89.05 kB / 340 MB, free: 5.41 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.271, allocations: 8 kB / 340 MB, free: 5.402 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.2712, allocations: 15.89 kB / 340 MB, free: 5.387 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.2712, allocations: 15.98 kB / 340 MB, free: 5.371 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.2713, allocations: 11.92 kB / 340 MB, free: 5.359 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.489e-05/0.2713, allocations: 115.3 kB / 340.2 MB, free: 5.246 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2714, allocations: 0 / 340.2 MB, free: 5.246 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.2718, allocations: 71.92 kB / 340.2 MB, free: 5.176 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000206/0.272, allocations: 119.2 kB / 340.3 MB, free: 5.047 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005473/0.2725, allocations: 215.6 kB / 340.6 MB, free: 4.836 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2725, allocations: 0 / 340.6 MB, free: 4.836 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.2728, allocations: 101 kB / 340.7 MB, free: 4.738 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.2732, allocations: 31.98 kB / 340.7 MB, free: 4.707 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/0.2742, allocations: 0.549 MB / 341.2 MB, free: 4.121 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.2744, allocations: 0.7168 MB / 342 MB, free: 3.379 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002711/0.2747, allocations: 49.88 kB / 342 MB, free: 3.328 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.2748, allocations: 23.42 kB / 342 MB, free: 3.305 MB / 270.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2748, allocations: 0 / 342 MB, free: 3.305 MB / 270.1 MB Notification: Performance of Templates: time 0.005678/0.2805, allocations: 2.48 MB / 344.5 MB, free: 0.8242 MB / 270.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)