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.008351/0.008352, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001656/0.001656, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001182/0.001182, allocations: 47.94 kB / 326.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1079, allocations: 46.62 MB / 373.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005562/0.1135, allocations: 4.486 MB / 377.6 MB, free: 84 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2296/0.3431, allocations: 1.815 MB / 379.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.837e-05/0.3432, allocations: 2.406 kB / 379.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.3435, allocations: 40.16 kB / 379.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.3439, allocations: 121.7 kB / 379.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007141/0.3447, allocations: 252.4 kB / 379.9 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.3451, allocations: 287.8 kB / 380.1 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.3451, allocations: 17.23 kB / 380.1 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.3454, allocations: 121.4 kB / 380.3 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3455, allocations: 87.02 kB / 380.4 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.3456, allocations: 8.75 kB / 380.4 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.3459, allocations: 99.72 kB / 380.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.9e-05/0.346, allocations: 36.2 kB / 380.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3461, allocations: 77.98 kB / 380.6 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.3465, allocations: 205.6 kB / 380.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3465, allocations: 0.5312 kB / 380.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3466, allocations: 1.969 kB / 380.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.3466, allocations: 4.656 kB / 380.8 MB, free: 9.457 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.001038/0.3476, allocations: 495.9 kB / 381.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3477, allocations: 9.344 kB / 381.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.3479, allocations: 19.73 kB / 381.3 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.3482, allocations: 215 kB / 381.5 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.3482, allocations: 10.31 kB / 381.5 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.3483, allocations: 16.38 kB / 381.5 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.3488, allocations: 214.2 kB / 381.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.3488, allocations: 0 / 381.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.3488, allocations: 14.41 kB / 381.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3488, allocations: 3.312 kB / 381.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.3492, allocations: 146.9 kB / 381.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.3505, allocations: 0.9494 MB / 382.8 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.3509, allocations: 149.9 kB / 383 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.3511, allocations: 58.47 kB / 383 MB, free: 7.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000515/0.3516, allocations: 0.5052 MB / 383.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.3516, allocations: 36.52 kB / 383.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.3516, allocations: 4 kB / 383.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002727/0.3544, allocations: 0.7627 MB / 384.4 MB, free: 7.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3544, allocations: 58.11 kB / 384.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3546, allocations: 147.3 kB / 384.6 MB, free: 6.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3546, allocations: 31.02 kB / 384.6 MB, free: 6.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/0.3548, allocations: 152.8 kB / 384.7 MB, free: 6.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.3548, allocations: 71.02 kB / 384.8 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3549, allocations: 64.14 kB / 384.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.3551, allocations: 322.9 kB / 385.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.3553, allocations: 80.97 kB / 385.3 MB, free: 6.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.3557, allocations: 194.2 kB / 385.5 MB, free: 6.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.3563, allocations: 298.1 kB / 385.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3563, allocations: 1.438 kB / 385.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008914/0.3572, allocations: 320.8 kB / 386.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.3573, allocations: 6.469 kB / 386.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.3573, allocations: 3.766 kB / 386.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.531e-05/0.3574, allocations: 6.656 kB / 386.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.3578, allocations: 87.55 kB / 386.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/0.3579, allocations: 10.88 kB / 386.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.3581, allocations: 15.84 kB / 386.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/0.3582, allocations: 16.31 kB / 386.2 MB, free: 6.07 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.0001615/0.3583, allocations: 145.7 kB / 386.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.3584, allocations: 16.45 kB / 386.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008552/0.3593, allocations: 242 kB / 386.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.3593, allocations: 2.906 kB / 386.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3593, allocations: 1.094 kB / 386.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.3593, allocations: 3.422 kB / 386.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.3608, allocations: 0.597 MB / 387.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.3609, allocations: 3.453 kB / 387.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.3612, allocations: 51.28 kB / 387.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.3612, allocations: 6.875 kB / 387.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.3613, allocations: 8.781 kB / 387.3 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3613, allocations: 5.344 kB / 387.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/0.3613, allocations: 4.344 kB / 387.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3623, allocations: 404.9 kB / 387.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.3624, allocations: 89.86 kB / 387.8 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.3624, allocations: 11.83 kB / 387.8 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3627, allocations: 18.19 kB / 387.8 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.3628, allocations: 15.08 kB / 387.8 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.3628, allocations: 9.281 kB / 387.8 MB, free: 5.105 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3629, allocations: 107.2 kB / 387.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3629, allocations: 1.031 kB / 387.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005445/0.3635, allocations: 60.02 kB / 388 MB, free: 5.016 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.0003991/0.3639, allocations: 138 kB / 388.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.3647, allocations: 222.5 kB / 388.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.3648, allocations: 1.312 kB / 388.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.3651, allocations: 94.33 kB / 388.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.3656, allocations: 41.36 kB / 388.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.367, allocations: 470 kB / 388.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3674, allocations: 0.7202 MB / 389.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002618/0.3677, allocations: 46.28 kB / 389.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3678, allocations: 28.94 kB / 389.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3678, allocations: 0 / 389.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of Templates: time 0.008722/0.3766, allocations: 2.724 MB / 392.4 MB, free: 3.559 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)