Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001269/0.001269, allocations: 90.55 kB / 16.3 MB, free: 5.996 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.001276/0.001276, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.715/1.715, allocations: 205.4 MB / 223.4 MB, free: 5.789 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.0005255/0.0005256, allocations: 12 kB / 280.1 MB, free: 13.1 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3092, allocations: 47.58 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004147/0.3134, allocations: 3.699 MB / 331.4 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3152, allocations: 1.524 MB / 332.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.3153, allocations: 1.031 kB / 332.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.3156, allocations: 32 kB / 332.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.3159, allocations: 106.6 kB / 333 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.3165, allocations: 213.4 kB / 333.3 MB, free: 12.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.3168, allocations: 181.5 kB / 333.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.3169, allocations: 15.7 kB / 333.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.3172, allocations: 117.9 kB / 333.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3173, allocations: 63.45 kB / 333.6 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.3173, allocations: 5.312 kB / 333.6 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.3176, allocations: 87.17 kB / 333.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.537e-05/0.3177, allocations: 34.86 kB / 333.7 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.3177, allocations: 55.89 kB / 333.8 MB, free: 12.66 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.318, allocations: 141.6 kB / 333.9 MB, free: 12.58 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.318, allocations: 0 / 333.9 MB, free: 12.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.318, allocations: 0 / 333.9 MB, free: 12.58 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.318, allocations: 0 / 333.9 MB, free: 12.58 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.0009003/0.3189, allocations: 453.8 kB / 334.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.319, allocations: 9.375 kB / 334.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.3192, allocations: 24.48 kB / 334.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.3194, allocations: 208.7 kB / 334.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3194, allocations: 9.812 kB / 334.6 MB, free: 11.9 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.3195, allocations: 13.59 kB / 334.6 MB, free: 11.9 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.3199, allocations: 215.8 kB / 334.9 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3199, allocations: 1 kB / 334.9 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.32, allocations: 11.34 kB / 334.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.32, allocations: 3.875 kB / 334.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.3204, allocations: 141.4 kB / 335 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.3217, allocations: 0.959 MB / 336 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.3221, allocations: 147.1 kB / 336.1 MB, free: 10.65 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/0.3227, allocations: 0.5023 MB / 336.6 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.3227, allocations: 47.56 kB / 336.7 MB, free: 10.07 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.3227, allocations: 1.094 kB / 336.7 MB, free: 10.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002509/0.3252, allocations: 0.7556 MB / 337.4 MB, free: 9.492 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3253, allocations: 51.41 kB / 337.5 MB, free: 9.43 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3254, allocations: 154.8 kB / 337.6 MB, free: 9.27 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.3255, allocations: 37.7 kB / 337.7 MB, free: 9.227 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.3256, allocations: 135.9 kB / 337.8 MB, free: 9.09 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.3256, allocations: 75 kB / 337.9 MB, free: 9.016 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/0.3256, allocations: 7.938 kB / 337.9 MB, free: 9.008 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3258, allocations: 326.8 kB / 338.2 MB, free: 8.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.326, allocations: 79.94 kB / 338.3 MB, free: 8.602 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.3263, allocations: 194 kB / 338.5 MB, free: 8.363 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.3266, allocations: 108.8 kB / 338.6 MB, free: 8.258 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3266, allocations: 0 / 338.6 MB, free: 8.258 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000674/0.3273, allocations: 323.2 kB / 338.9 MB, free: 7.938 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3273, allocations: 4 kB / 338.9 MB, free: 7.934 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3273, allocations: 7.953 kB / 338.9 MB, free: 7.926 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3273, allocations: 8 kB / 338.9 MB, free: 7.918 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.3277, allocations: 76.2 kB / 339 MB, free: 7.844 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.3277, allocations: 11.98 kB / 339 MB, free: 7.832 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.328, allocations: 31.86 kB / 339 MB, free: 7.801 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.328, allocations: 12 kB / 339 MB, free: 7.789 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.0001195/0.3281, allocations: 133.9 kB / 339.2 MB, free: 7.648 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.3282, allocations: 15.81 kB / 339.2 MB, free: 7.633 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006378/0.3288, allocations: 242.6 kB / 339.4 MB, free: 7.395 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3288, allocations: 0 / 339.4 MB, free: 7.395 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3289, allocations: 4 kB / 339.4 MB, free: 7.391 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.3289, allocations: 3.953 kB / 339.4 MB, free: 7.387 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.3301, allocations: 0.5951 MB / 340 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3301, allocations: 8 kB / 340 MB, free: 6.715 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.3304, allocations: 48.09 kB / 340.1 MB, free: 6.668 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3304, allocations: 0 / 340.1 MB, free: 6.668 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.3305, allocations: 11.98 kB / 340.1 MB, free: 6.656 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3305, allocations: 4 kB / 340.1 MB, free: 6.652 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3305, allocations: 0 / 340.1 MB, free: 6.652 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.3313, allocations: 461.5 kB / 340.5 MB, free: 6.148 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.3314, allocations: 85.02 kB / 340.6 MB, free: 6.047 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.3314, allocations: 4 kB / 340.6 MB, free: 6.043 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3316, allocations: 19.84 kB / 340.6 MB, free: 6.023 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.3317, allocations: 15.98 kB / 340.7 MB, free: 6.008 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.3317, allocations: 11.98 kB / 340.7 MB, free: 5.996 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.847e-05/0.3318, allocations: 115.2 kB / 340.8 MB, free: 5.883 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3318, allocations: 0 / 340.8 MB, free: 5.883 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.3322, allocations: 67.92 kB / 340.8 MB, free: 5.816 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.0001999/0.3324, allocations: 123.2 kB / 341 MB, free: 5.684 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005674/0.333, allocations: 211.7 kB / 341.2 MB, free: 5.477 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.333, allocations: 0 / 341.2 MB, free: 5.477 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.3332, allocations: 93 kB / 341.3 MB, free: 5.387 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3336, allocations: 35.94 kB / 341.3 MB, free: 5.352 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3346, allocations: 0.5606 MB / 341.9 MB, free: 4.754 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.3349, allocations: 0.7206 MB / 342.6 MB, free: 4.008 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002591/0.3352, allocations: 49.88 kB / 342.6 MB, free: 3.957 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.3353, allocations: 23.42 kB / 342.7 MB, free: 3.934 MB / 270.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3353, allocations: 0 / 342.7 MB, free: 3.934 MB / 270.1 MB Notification: Performance of Templates: time 0.005679/0.3409, allocations: 2.476 MB / 345.1 MB, free: 1.457 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) Environment - environmentSimulation: