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.001388/0.001387, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.347/1.347, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001163/0.001163, allocations: 59.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1916, allocations: 46.64 MB / 325.3 MB, free: 1.816 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005602/0.1972, allocations: 4.466 MB / 329.8 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1994, allocations: 1.81 MB / 331.6 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.1994, allocations: 4 kB / 331.6 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.1997, allocations: 45.89 kB / 331.6 MB, free: 12.67 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.2, allocations: 125 kB / 331.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.2006, allocations: 248.5 kB / 332 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.201, allocations: 291.6 kB / 332.3 MB, free: 12.24 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.201, allocations: 19.83 kB / 332.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.2013, allocations: 125.6 kB / 332.4 MB, free: 12.17 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.2014, allocations: 82.8 kB / 332.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.2014, allocations: 12.25 kB / 332.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.2017, allocations: 97.91 kB / 332.6 MB, free: 12.08 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.2017, allocations: 38.14 kB / 332.6 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.884e-05/0.2018, allocations: 77.36 kB / 332.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.2022, allocations: 204.1 kB / 332.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2022, allocations: 0 / 332.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2022, allocations: 1.125 kB / 332.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.2022, allocations: 0 / 332.9 MB, free: 11.89 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.0009795/0.2032, allocations: 492.4 kB / 333.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2033, allocations: 13.2 kB / 333.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.2035, allocations: 25.94 kB / 333.4 MB, free: 11.42 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.2037, allocations: 201.7 kB / 333.6 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.2037, allocations: 14.31 kB / 333.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.2038, allocations: 18.16 kB / 333.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.2042, allocations: 219.2 kB / 333.9 MB, free: 11.01 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2042, allocations: 1.094 kB / 333.9 MB, free: 11.01 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.2042, allocations: 10.06 kB / 333.9 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2042, allocations: 8.188 kB / 333.9 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.2046, allocations: 154.3 kB / 334 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.2058, allocations: 0.9357 MB / 335 MB, free: 10.02 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.2063, allocations: 154.7 kB / 335.1 MB, free: 9.863 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.2064, allocations: 52.83 kB / 335.2 MB, free: 9.809 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005052/0.2069, allocations: 0.5148 MB / 335.7 MB, free: 9.23 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.207, allocations: 34.56 kB / 335.7 MB, free: 9.188 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.207, allocations: 0 / 335.7 MB, free: 9.188 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002444/0.2094, allocations: 0.7631 MB / 336.5 MB, free: 8.371 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.2095, allocations: 55.41 kB / 336.6 MB, free: 8.305 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.2096, allocations: 150.4 kB / 336.7 MB, free: 8.148 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.2096, allocations: 29.7 kB / 336.7 MB, free: 8.113 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.2097, allocations: 135.8 kB / 336.9 MB, free: 7.977 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.2098, allocations: 82.94 kB / 336.9 MB, free: 7.895 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.224e-05/0.2099, allocations: 57.69 kB / 337 MB, free: 7.832 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.21, allocations: 326.8 kB / 337.3 MB, free: 7.504 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.2102, allocations: 83.94 kB / 337.4 MB, free: 7.422 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.2105, allocations: 197.8 kB / 337.6 MB, free: 7.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.2111, allocations: 298.1 kB / 337.9 MB, free: 6.84 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2111, allocations: 0 / 337.9 MB, free: 6.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006713/0.2118, allocations: 321.1 kB / 338.2 MB, free: 6.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2118, allocations: 8 kB / 338.2 MB, free: 6.512 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2118, allocations: 4 kB / 338.2 MB, free: 6.508 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.2119, allocations: 4 kB / 338.2 MB, free: 6.504 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.2122, allocations: 83.89 kB / 338.3 MB, free: 6.422 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.2122, allocations: 7.938 kB / 338.3 MB, free: 6.414 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.2125, allocations: 24.27 kB / 338.3 MB, free: 6.391 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.2125, allocations: 15.98 kB / 338.3 MB, free: 6.375 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.0001137/0.2126, allocations: 133.7 kB / 338.5 MB, free: 6.234 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.2127, allocations: 15.81 kB / 338.5 MB, free: 6.219 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006465/0.2133, allocations: 246.6 kB / 338.7 MB, free: 5.977 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2133, allocations: 7.875 kB / 338.7 MB, free: 5.969 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2134, allocations: 0 / 338.7 MB, free: 5.969 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2134, allocations: 3.984 kB / 338.7 MB, free: 5.965 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.2146, allocations: 0.599 MB / 339.3 MB, free: 5.297 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2146, allocations: 0 / 339.3 MB, free: 5.297 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.2149, allocations: 51.95 kB / 339.4 MB, free: 5.246 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2149, allocations: 0 / 339.4 MB, free: 5.246 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.2149, allocations: 16.11 kB / 339.4 MB, free: 5.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.215, allocations: 11.88 kB / 339.4 MB, free: 5.219 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.215, allocations: 0 / 339.4 MB, free: 5.219 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008214/0.2158, allocations: 407 kB / 339.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.2158, allocations: 89.03 kB / 339.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.2159, allocations: 11.94 kB / 339.9 MB, free: 4.676 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2161, allocations: 7.984 kB / 339.9 MB, free: 4.668 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.2162, allocations: 23.98 kB / 339.9 MB, free: 4.645 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.2162, allocations: 8 kB / 340 MB, free: 4.637 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.64e-05/0.2163, allocations: 107.2 kB / 340.1 MB, free: 4.531 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2163, allocations: 0 / 340.1 MB, free: 4.531 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.2167, allocations: 60 kB / 340.1 MB, free: 4.473 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.0002716/0.2169, allocations: 135.2 kB / 340.2 MB, free: 4.328 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.2175, allocations: 224.4 kB / 340.5 MB, free: 4.109 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.2175, allocations: 4 kB / 340.5 MB, free: 4.105 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.2178, allocations: 91.81 kB / 340.6 MB, free: 4.016 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.2182, allocations: 35.91 kB / 340.6 MB, free: 3.98 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009853/0.2192, allocations: 479.9 kB / 341.1 MB, free: 3.473 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.2194, allocations: 0.7129 MB / 341.8 MB, free: 2.734 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002536/0.2197, allocations: 45.94 kB / 341.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.2198, allocations: 31.42 kB / 341.9 MB, free: 2.656 MB / 270.1 MB Notification: Performance of SimCode: time 1.573e-06/0.2198, allocations: 0 / 341.9 MB, free: 2.656 MB / 270.1 MB Notification: Performance of Templates: time 0.00554/0.2253, allocations: 2.687 MB / 344.5 MB, free: 15.96 MB / 286.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)