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.001984/0.001984, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.002546/0.002546, allocations: 200 kB / 18.01 MB, free: 5.055 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.552/1.552, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.001438/0.001438, allocations: 51.92 kB / 327.8 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006593/0.1165, allocations: 4.49 MB / 379 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2351/0.3516, allocations: 1.809 MB / 380.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.3518, allocations: 1.375 kB / 380.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.3522, allocations: 39.42 kB / 380.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000539/0.3528, allocations: 118.1 kB / 380.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009577/0.3537, allocations: 253.6 kB / 381.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.3542, allocations: 288.2 kB / 381.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.148e-05/0.3543, allocations: 14.02 kB / 381.5 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.3546, allocations: 131.8 kB / 381.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.3548, allocations: 82.17 kB / 381.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.3548, allocations: 9.625 kB / 381.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.3552, allocations: 101.5 kB / 381.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.3553, allocations: 36.97 kB / 381.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3554, allocations: 69.2 kB / 381.9 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.3559, allocations: 211.4 kB / 382.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3559, allocations: 0.5 kB / 382.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3559, allocations: 0 / 382.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3559, allocations: 0.5312 kB / 382.1 MB, free: 9.492 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.001018/0.3569, allocations: 491.3 kB / 382.6 MB, free: 9.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.357, allocations: 11.25 kB / 382.6 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.3572, allocations: 26.91 kB / 382.6 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.3575, allocations: 207.3 kB / 382.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3575, allocations: 12.59 kB / 382.8 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.3576, allocations: 17.69 kB / 382.8 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.358, allocations: 214.2 kB / 383 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3581, allocations: 1.125 kB / 383 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.3581, allocations: 6 kB / 383.1 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3581, allocations: 8.156 kB / 383.1 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.3585, allocations: 151.2 kB / 383.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.3598, allocations: 0.9522 MB / 384.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.3602, allocations: 150.5 kB / 384.3 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.3603, allocations: 58.75 kB / 384.4 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004565/0.3608, allocations: 0.5001 MB / 384.9 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.3608, allocations: 32.77 kB / 384.9 MB, free: 7.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.3608, allocations: 0 / 384.9 MB, free: 7.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002584/0.3634, allocations: 0.7792 MB / 385.7 MB, free: 7.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3635, allocations: 55.17 kB / 385.7 MB, free: 7.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.3636, allocations: 151.5 kB / 385.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3637, allocations: 29.39 kB / 385.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.3637, allocations: 137 kB / 386 MB, free: 6.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.3638, allocations: 80.3 kB / 386.1 MB, free: 6.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.3639, allocations: 60.27 kB / 386.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.364, allocations: 326.4 kB / 386.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.3642, allocations: 80.66 kB / 386.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.3645, allocations: 190.5 kB / 386.8 MB, free: 6.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/0.3651, allocations: 302.4 kB / 387.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3651, allocations: 2.719 kB / 387.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007267/0.3659, allocations: 323.6 kB / 387.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3659, allocations: 7.469 kB / 387.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3659, allocations: 2.688 kB / 387.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.3659, allocations: 5.469 kB / 387.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.3663, allocations: 82.91 kB / 387.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.3664, allocations: 6.609 kB / 387.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.3666, allocations: 23 kB / 387.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.3666, allocations: 12.73 kB / 387.5 MB, free: 6.109 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.0001089/0.3667, allocations: 145.9 kB / 387.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.3668, allocations: 11.77 kB / 387.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007079/0.3675, allocations: 244.5 kB / 387.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3675, allocations: 2.812 kB / 387.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3675, allocations: 0 / 387.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.3676, allocations: 1.266 kB / 387.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.3689, allocations: 0.5892 MB / 388.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3689, allocations: 1.125 kB / 388.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.3692, allocations: 52.83 kB / 388.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3692, allocations: 2.25 kB / 388.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.3692, allocations: 8.781 kB / 388.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3692, allocations: 9.312 kB / 388.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3692, allocations: 2.094 kB / 388.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008761/0.3701, allocations: 404.8 kB / 389 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.3702, allocations: 90.97 kB / 389.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.3702, allocations: 12.55 kB / 389.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.3705, allocations: 13.7 kB / 389.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3705, allocations: 20.06 kB / 389.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.3705, allocations: 8.844 kB / 389.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.137e-05/0.3706, allocations: 107.4 kB / 389.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3706, allocations: 0 / 389.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004105/0.371, allocations: 63.12 kB / 389.3 MB, free: 5.062 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.0002365/0.3713, allocations: 134.6 kB / 389.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006562/0.3719, allocations: 215.5 kB / 389.6 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.372, allocations: 4.125 kB / 389.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.3722, allocations: 96.38 kB / 389.7 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.3727, allocations: 45.16 kB / 389.8 MB, free: 4.852 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3737, allocations: 469.3 kB / 390.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.3739, allocations: 0.7193 MB / 390.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.3741, allocations: 45 kB / 391 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.835e-05/0.3742, allocations: 25.16 kB / 391 MB, free: 3.828 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3742, allocations: 0 / 391 MB, free: 3.828 MB / 318.1 MB Notification: Performance of Templates: time 0.007323/0.3816, allocations: 2.766 MB / 393.8 MB, free: 3.594 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.makefile (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)