Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00134/0.00134, allocations: 172.7 kB / 15.95 MB, free: 208 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.507/1.507, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0007181/0.0007184, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2226, allocations: 47.58 MB / 326.5 MB, free: 1.625 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.012/0.2347, allocations: 11.71 MB / 338.2 MB, free: 7.922 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.2368, allocations: 1.605 MB / 339.8 MB, free: 6.312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.237, allocations: 3.938 kB / 339.8 MB, free: 6.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.2375, allocations: 131.3 kB / 339.9 MB, free: 6.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005062/0.238, allocations: 294.4 kB / 340.2 MB, free: 5.891 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008756/0.2389, allocations: 335.3 kB / 340.6 MB, free: 5.562 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.24, allocations: 1.047 MB / 341.6 MB, free: 4.512 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.2402, allocations: 76.67 kB / 341.7 MB, free: 4.438 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006243/0.2408, allocations: 338.7 kB / 342 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.2412, allocations: 263 kB / 342.3 MB, free: 3.848 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.2413, allocations: 12 kB / 342.3 MB, free: 3.836 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.2415, allocations: 43.92 kB / 342.3 MB, free: 3.793 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.2416, allocations: 75.77 kB / 342.4 MB, free: 3.719 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.914e-05/0.2417, allocations: 85.58 kB / 342.5 MB, free: 3.629 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.2421, allocations: 356.6 kB / 342.8 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2421, allocations: 0 / 342.8 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2421, allocations: 0 / 342.8 MB, free: 3.281 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.2421, allocations: 4 kB / 342.8 MB, free: 3.277 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007131/0.2428, allocations: 0.5184 MB / 343.3 MB, free: 2.711 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.2428, allocations: 8.031 kB / 343.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.2431, allocations: 43.61 kB / 343.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.2434, allocations: 274.5 kB / 343.7 MB, free: 2.352 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2434, allocations: 16.56 kB / 343.7 MB, free: 2.336 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.2435, allocations: 24 kB / 343.7 MB, free: 2.312 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/0.244, allocations: 321.3 kB / 344 MB, free: 1.961 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.244, allocations: 11.89 kB / 344 MB, free: 1.949 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.244, allocations: 12 kB / 344 MB, free: 1.938 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.244, allocations: 7.938 kB / 344 MB, free: 1.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.2444, allocations: 193.5 kB / 344.2 MB, free: 1.742 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.2462, allocations: 1.736 MB / 346 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.2464, allocations: 130.6 kB / 346.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2466, allocations: 60.84 kB / 346.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.2467, allocations: 170.2 kB / 346.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.2467, allocations: 38.52 kB / 346.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.2468, allocations: 0 / 346.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001641/0.2484, allocations: 0.8005 MB / 347.2 MB, free: 14.54 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.2484, allocations: 59.34 kB / 347.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.2487, allocations: 278.5 kB / 347.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.2488, allocations: 29.7 kB / 347.5 MB, free: 14.15 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2489, allocations: 195.6 kB / 347.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.249, allocations: 82.84 kB / 347.8 MB, free: 13.87 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.249, allocations: 4 kB / 347.8 MB, free: 13.87 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2491, allocations: 342.8 kB / 348.1 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.2492, allocations: 67.75 kB / 348.2 MB, free: 13.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.2494, allocations: 191.1 kB / 348.4 MB, free: 13.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.2496, allocations: 107.9 kB / 348.5 MB, free: 13.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2496, allocations: 0 / 348.5 MB, free: 13.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004809/0.2501, allocations: 329.8 kB / 348.8 MB, free: 12.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2501, allocations: 8 kB / 348.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.2501, allocations: 4 kB / 348.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.553e-05/0.2502, allocations: 20.86 kB / 348.8 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.2506, allocations: 80.39 kB / 348.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009935/0.2516, allocations: 1.292 MB / 350.2 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.2518, allocations: 28.05 kB / 350.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.2518, allocations: 16 kB / 350.3 MB, free: 11.2 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.252, allocations: 157.7 kB / 350.4 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.252, allocations: 31.66 kB / 350.4 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.2524, allocations: 212.9 kB / 350.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2524, allocations: 8 kB / 350.7 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.2524, allocations: 0 / 350.7 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003641/0.2528, allocations: 479.8 kB / 351.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.2538, allocations: 0.7799 MB / 351.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2538, allocations: 4 kB / 351.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.254, allocations: 47.91 kB / 352 MB, free: 9.289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.254, allocations: 4 kB / 352 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.2541, allocations: 7.953 kB / 352 MB, free: 9.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2541, allocations: 4 kB / 352 MB, free: 9.273 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2541, allocations: 4 kB / 352 MB, free: 9.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.2545, allocations: 399.1 kB / 352.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.222e-05/0.2546, allocations: 116.7 kB / 352.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.2547, allocations: 7.953 kB / 352.5 MB, free: 8.695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.2549, allocations: 15.98 kB / 352.5 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.255, allocations: 23.98 kB / 352.5 MB, free: 8.656 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.255, allocations: 15.98 kB / 352.5 MB, free: 8.641 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.2552, allocations: 198 kB / 352.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2552, allocations: 0 / 352.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.2556, allocations: 99.98 kB / 352.8 MB, free: 8.352 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.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 (21): * Single equations (assignments): 21 * 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.000176/0.2558, allocations: 127.1 kB / 353 MB, free: 8.219 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004507/0.2563, allocations: 299.1 kB / 353.3 MB, free: 7.914 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2563, allocations: 0 / 353.3 MB, free: 7.914 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2564, allocations: 67.86 kB / 353.3 MB, free: 7.848 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009227/0.2573, allocations: 170.6 kB / 353.5 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.2583, allocations: 0.7449 MB / 354.2 MB, free: 6.875 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.2587, allocations: 0.7563 MB / 355 MB, free: 6.09 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002469/0.2589, allocations: 59.25 kB / 355 MB, free: 6.035 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/0.259, allocations: 27.44 kB / 355.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.259, allocations: 0 / 355.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of Templates: time 0.009072/0.2681, allocations: 5.136 MB / 360.2 MB, free: 0.875 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)