Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009446/0.0009446, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005886/0.005886, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.534/1.534, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.0004424/0.0004425, allocations: 8 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2354, allocations: 47.59 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01298/0.2485, allocations: 12.33 MB / 339.4 MB, free: 6.996 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.2509, allocations: 1.678 MB / 341.1 MB, free: 5.312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.2512, allocations: 4 kB / 341.1 MB, free: 5.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005693/0.2518, allocations: 147.2 kB / 341.2 MB, free: 5.164 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006204/0.2524, allocations: 302.5 kB / 341.5 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009646/0.2534, allocations: 395.2 kB / 341.9 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.2547, allocations: 1.281 MB / 343.2 MB, free: 3.195 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.2549, allocations: 72.67 kB / 343.2 MB, free: 3.125 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006426/0.2556, allocations: 350.7 kB / 343.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.2559, allocations: 262.9 kB / 343.8 MB, free: 2.523 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.256, allocations: 16 kB / 343.8 MB, free: 2.508 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.2562, allocations: 115.8 kB / 344 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.151e-05/0.2564, allocations: 75.78 kB / 344 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.2565, allocations: 189 kB / 344.2 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.257, allocations: 467.9 kB / 344.7 MB, free: 1.672 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.257, allocations: 3.938 kB / 344.7 MB, free: 1.668 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.257, allocations: 0 / 344.7 MB, free: 1.668 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.257, allocations: 0 / 344.7 MB, free: 1.668 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.0006764/0.2577, allocations: 0.503 MB / 345.2 MB, free: 1.117 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2578, allocations: 11.97 kB / 345.2 MB, free: 1.105 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.2581, allocations: 52.55 kB / 345.2 MB, free: 1.055 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.2584, allocations: 279.7 kB / 345.5 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2584, allocations: 20.94 kB / 345.5 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.2585, allocations: 24.38 kB / 345.6 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.259, allocations: 321.5 kB / 345.9 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.259, allocations: 0 / 345.9 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.259, allocations: 15.94 kB / 345.9 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2591, allocations: 8 kB / 345.9 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.2594, allocations: 189.6 kB / 346.1 MB, free: 148 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.2613, allocations: 1.736 MB / 347.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.2615, allocations: 134.6 kB / 348 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.818e-05/0.2616, allocations: 68.84 kB / 348 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.2617, allocations: 170.2 kB / 348.2 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2618, allocations: 34.56 kB / 348.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.2618, allocations: 4 kB / 348.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001685/0.2635, allocations: 0.7965 MB / 349 MB, free: 12.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2635, allocations: 63.41 kB / 349.1 MB, free: 12.85 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.2638, allocations: 282.5 kB / 349.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.2639, allocations: 29.7 kB / 349.4 MB, free: 12.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.264, allocations: 191.5 kB / 349.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.2641, allocations: 82.92 kB / 349.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.2641, allocations: 33.7 kB / 349.7 MB, free: 12.22 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2642, allocations: 330.8 kB / 350 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.2644, allocations: 75.75 kB / 350.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.2646, allocations: 191.1 kB / 350.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.2649, allocations: 279.2 kB / 350.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2649, allocations: 8 kB / 350.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000468/0.2654, allocations: 333.7 kB / 350.9 MB, free: 10.9 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2654, allocations: 8.5 kB / 350.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2654, allocations: 8 kB / 350.9 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.955e-05/0.2655, allocations: 24.8 kB / 350.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.2659, allocations: 91.83 kB / 351 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.267, allocations: 1.288 MB / 352.3 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.2672, allocations: 16 kB / 352.3 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.2673, allocations: 16 kB / 352.3 MB, free: 9.312 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.2675, allocations: 157.6 kB / 352.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.2675, allocations: 35.75 kB / 352.5 MB, free: 9.113 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.2679, allocations: 209.2 kB / 352.7 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.2679, allocations: 0 / 352.7 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.2679, allocations: 3.984 kB / 352.7 MB, free: 8.898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003698/0.2683, allocations: 483.7 kB / 353.2 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.2693, allocations: 0.776 MB / 354 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2693, allocations: 4 kB / 354 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2695, allocations: 43.91 kB / 354 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2695, allocations: 8.281 kB / 354 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2695, allocations: 8 kB / 354 MB, free: 7.398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2696, allocations: 4 kB / 354 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2696, allocations: 7.938 kB / 354 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.27, allocations: 399.3 kB / 354.4 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.2701, allocations: 100.8 kB / 354.5 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.2701, allocations: 8 kB / 354.5 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.2704, allocations: 24.05 kB / 354.6 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.2704, allocations: 19.86 kB / 354.6 MB, free: 6.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.2705, allocations: 15.98 kB / 354.6 MB, free: 6.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.2706, allocations: 202 kB / 354.8 MB, free: 6.574 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2707, allocations: 0 / 354.8 MB, free: 6.574 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00046/0.2711, allocations: 99.94 kB / 354.9 MB, free: 6.477 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 (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.0002928/0.2714, allocations: 139.2 kB / 355 MB, free: 6.332 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005092/0.2719, allocations: 307.1 kB / 355.3 MB, free: 6.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.272, allocations: 4.25 kB / 355.3 MB, free: 6.016 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.2721, allocations: 71.8 kB / 355.4 MB, free: 5.945 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.2731, allocations: 157.6 kB / 355.6 MB, free: 5.789 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2742, allocations: 0.7686 MB / 356.3 MB, free: 4.961 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.2746, allocations: 0.7602 MB / 357.1 MB, free: 4.172 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.2749, allocations: 63.19 kB / 357.2 MB, free: 4.113 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.2749, allocations: 31.38 kB / 357.2 MB, free: 4.086 MB / 286.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2749, allocations: 0 / 357.2 MB, free: 4.086 MB / 286.1 MB Notification: Performance of Templates: time 0.009642/0.2846, allocations: 5.316 MB / 362.5 MB, free: 14.77 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)