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.0009753/0.0009751, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.000986/0.0009861, allocations: 177.3 kB / 15.95 MB, free: 216 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.474/1.474, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005446/0.0005447, allocations: 18.66 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2279, allocations: 47.58 MB / 326.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003897/0.2318, allocations: 3.698 MB / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.2336, allocations: 1.509 MB / 331.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.2336, allocations: 1.375 kB / 331.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.2339, allocations: 39.92 kB / 331.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.2341, allocations: 101.8 kB / 331.8 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.2347, allocations: 225.4 kB / 332 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.235, allocations: 178.7 kB / 332.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.59e-05/0.2351, allocations: 15.2 kB / 332.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.2353, allocations: 121.5 kB / 332.3 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.2355, allocations: 55.19 kB / 332.4 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.2355, allocations: 5.312 kB / 332.4 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.2357, allocations: 96.34 kB / 332.5 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.2358, allocations: 33.48 kB / 332.5 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.2359, allocations: 51.86 kB / 332.5 MB, free: 12.67 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.2361, allocations: 141.6 kB / 332.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2361, allocations: 0 / 332.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2362, allocations: 1.188 kB / 332.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2362, allocations: 4 kB / 332.7 MB, free: 12.59 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.0008879/0.2371, allocations: 453.6 kB / 333.1 MB, free: 12.15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2371, allocations: 9.094 kB / 333.1 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.2373, allocations: 20.97 kB / 333.2 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.2375, allocations: 207.5 kB / 333.4 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2376, allocations: 13.66 kB / 333.4 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.2376, allocations: 13.44 kB / 333.4 MB, free: 11.9 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.238, allocations: 220.5 kB / 333.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.238, allocations: 1.125 kB / 333.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.2381, allocations: 10.41 kB / 333.6 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2381, allocations: 4.719 kB / 333.6 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.2384, allocations: 150.1 kB / 333.8 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.2397, allocations: 0.9519 MB / 334.7 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.2401, allocations: 145.6 kB / 334.9 MB, free: 10.65 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.2407, allocations: 0.4988 MB / 335.4 MB, free: 10.13 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.2407, allocations: 35.64 kB / 335.4 MB, free: 10.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.2407, allocations: 0 / 335.4 MB, free: 10.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002507/0.2433, allocations: 0.7789 MB / 336.2 MB, free: 9.445 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2433, allocations: 51.41 kB / 336.2 MB, free: 9.383 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2434, allocations: 158.8 kB / 336.4 MB, free: 9.219 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.2435, allocations: 25.7 kB / 336.4 MB, free: 9.188 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.2436, allocations: 139.9 kB / 336.5 MB, free: 9.047 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.2436, allocations: 71 kB / 336.6 MB, free: 8.977 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.2436, allocations: 8 kB / 336.6 MB, free: 8.969 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2438, allocations: 326.8 kB / 336.9 MB, free: 8.641 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.244, allocations: 79.95 kB / 337 MB, free: 8.562 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.2443, allocations: 197.9 kB / 337.2 MB, free: 8.32 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.2446, allocations: 104.8 kB / 337.3 MB, free: 8.219 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2446, allocations: 0 / 337.3 MB, free: 8.219 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006566/0.2453, allocations: 331.4 kB / 337.6 MB, free: 7.891 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2453, allocations: 8 kB / 337.6 MB, free: 7.883 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2453, allocations: 3.953 kB / 337.6 MB, free: 7.879 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2453, allocations: 8 kB / 337.7 MB, free: 7.871 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.2457, allocations: 75.89 kB / 337.7 MB, free: 7.797 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2457, allocations: 8 kB / 337.7 MB, free: 7.789 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.2459, allocations: 23.86 kB / 337.8 MB, free: 7.766 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.246, allocations: 24.05 kB / 337.8 MB, free: 7.742 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.0001188/0.2461, allocations: 133.7 kB / 337.9 MB, free: 7.602 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.2462, allocations: 15.81 kB / 337.9 MB, free: 7.586 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006237/0.2468, allocations: 234.7 kB / 338.2 MB, free: 7.355 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2468, allocations: 4 kB / 338.2 MB, free: 7.352 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2468, allocations: 4 kB / 338.2 MB, free: 7.348 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2468, allocations: 3.953 kB / 338.2 MB, free: 7.344 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.248, allocations: 0.5874 MB / 338.8 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2481, allocations: 7.938 kB / 338.8 MB, free: 6.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.2483, allocations: 47.95 kB / 338.8 MB, free: 6.633 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2484, allocations: 4 kB / 338.8 MB, free: 6.629 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.2484, allocations: 7.984 kB / 338.8 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2484, allocations: 4.125 kB / 338.8 MB, free: 6.617 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2484, allocations: 4 kB / 338.8 MB, free: 6.613 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/0.2492, allocations: 445.6 kB / 339.3 MB, free: 6.125 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.2493, allocations: 89.03 kB / 339.4 MB, free: 6.02 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.2493, allocations: 8 kB / 339.4 MB, free: 6.012 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.2496, allocations: 31.84 kB / 339.4 MB, free: 5.98 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.2496, allocations: 7.984 kB / 339.4 MB, free: 5.973 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.2496, allocations: 12 kB / 339.4 MB, free: 5.961 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.55e-05/0.2497, allocations: 115.1 kB / 339.5 MB, free: 5.848 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2497, allocations: 0 / 339.5 MB, free: 5.848 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.2501, allocations: 63.94 kB / 339.6 MB, free: 5.785 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.0001661/0.2503, allocations: 131.2 kB / 339.7 MB, free: 5.645 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005347/0.2508, allocations: 212.2 kB / 339.9 MB, free: 5.438 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2508, allocations: 0 / 339.9 MB, free: 5.438 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.251, allocations: 95.81 kB / 340 MB, free: 5.344 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.2514, allocations: 40.55 kB / 340.1 MB, free: 5.305 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009393/0.2523, allocations: 0.5528 MB / 340.6 MB, free: 4.715 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.2526, allocations: 0.7207 MB / 341.3 MB, free: 3.969 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002547/0.2529, allocations: 49.88 kB / 341.4 MB, free: 3.918 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.2529, allocations: 23.42 kB / 341.4 MB, free: 3.895 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2529, allocations: 0 / 341.4 MB, free: 3.895 MB / 270.1 MB Notification: Performance of Templates: time 0.004893/0.2578, allocations: 2.476 MB / 343.9 MB, free: 1.418 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: