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.001527/0.001527, allocations: 108 kB / 15.6 MB, free: 132 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.001845/0.001845, allocations: 198 kB / 16.54 MB, free: 6.672 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.476/1.476, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001231/0.001231, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2291, allocations: 46.64 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01344/0.2426, allocations: 12.84 MB / 338.2 MB, free: 7.039 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.2448, allocations: 1.713 MB / 339.9 MB, free: 5.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.245, allocations: 4 kB / 339.9 MB, free: 5.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.2455, allocations: 174.9 kB / 340.1 MB, free: 5.145 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005573/0.2461, allocations: 310.2 kB / 340.4 MB, free: 4.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009427/0.2471, allocations: 411 kB / 340.8 MB, free: 4.438 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009623/0.248, allocations: 0.829 MB / 341.6 MB, free: 3.605 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.2482, allocations: 100.7 kB / 341.7 MB, free: 3.508 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007711/0.249, allocations: 394.6 kB / 342.1 MB, free: 3.121 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.2494, allocations: 262.9 kB / 342.3 MB, free: 2.863 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.2495, allocations: 28 kB / 342.4 MB, free: 2.836 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.2498, allocations: 99.8 kB / 342.5 MB, free: 2.738 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.2499, allocations: 87.78 kB / 342.5 MB, free: 2.652 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.2501, allocations: 183.3 kB / 342.7 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.2506, allocations: 468 kB / 343.2 MB, free: 2.016 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2506, allocations: 4 kB / 343.2 MB, free: 2.012 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2506, allocations: 0 / 343.2 MB, free: 2.012 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2506, allocations: 0 / 343.2 MB, free: 2.012 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.0007338/0.2513, allocations: 0.5809 MB / 343.8 MB, free: 1.383 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2514, allocations: 19.83 kB / 343.8 MB, free: 1.363 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.2517, allocations: 44.64 kB / 343.8 MB, free: 1.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.252, allocations: 275.7 kB / 344.1 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.252, allocations: 24.88 kB / 344.1 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.2521, allocations: 24.38 kB / 344.1 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.2526, allocations: 325.5 kB / 344.5 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2526, allocations: 3.938 kB / 344.5 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.2527, allocations: 12 kB / 344.5 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2527, allocations: 4 kB / 344.5 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.253, allocations: 197.5 kB / 344.7 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.2548, allocations: 1.74 MB / 346.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.2551, allocations: 134.5 kB / 346.5 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.2552, allocations: 68.88 kB / 346.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.2553, allocations: 170.2 kB / 346.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.2554, allocations: 34.56 kB / 346.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/0.2554, allocations: 0 / 346.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001676/0.2571, allocations: 0.8011 MB / 347.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.2571, allocations: 55.41 kB / 347.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.2574, allocations: 282.5 kB / 347.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.2574, allocations: 29.7 kB / 348 MB, free: 12.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2576, allocations: 191.5 kB / 348.2 MB, free: 12.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.2576, allocations: 78.94 kB / 348.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.2577, allocations: 77.38 kB / 348.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2579, allocations: 334.8 kB / 348.6 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.258, allocations: 63.97 kB / 348.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.2582, allocations: 195.1 kB / 348.9 MB, free: 11.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.2585, allocations: 279.2 kB / 349.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2585, allocations: 4 kB / 349.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004816/0.259, allocations: 337.9 kB / 349.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.259, allocations: 4 kB / 349.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2591, allocations: 8 kB / 349.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.151e-05/0.2592, allocations: 24.8 kB / 349.5 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.2595, allocations: 83.83 kB / 349.6 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.2606, allocations: 1.395 MB / 351 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2607, allocations: 19.98 kB / 351 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.2608, allocations: 19.94 kB / 351 MB, free: 9.426 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.0001504/0.2609, allocations: 153.7 kB / 351.2 MB, free: 9.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.261, allocations: 27.72 kB / 351.2 MB, free: 9.238 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.2614, allocations: 208.6 kB / 351.4 MB, free: 9.027 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2614, allocations: 4.062 kB / 351.4 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.2614, allocations: 0 / 351.4 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003854/0.2618, allocations: 483.7 kB / 351.9 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.2629, allocations: 0.776 MB / 352.7 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2629, allocations: 4 kB / 352.7 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.2631, allocations: 43.92 kB / 352.7 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2631, allocations: 4 kB / 352.7 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.2631, allocations: 15.92 kB / 352.7 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.2631, allocations: 4 kB / 352.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.2631, allocations: 7.938 kB / 352.8 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.2636, allocations: 395.8 kB / 353.1 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.2637, allocations: 104.8 kB / 353.2 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.2637, allocations: 11.94 kB / 353.3 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.2639, allocations: 4 kB / 353.3 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.264, allocations: 23.92 kB / 353.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.264, allocations: 15.98 kB / 353.3 MB, free: 6.902 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.2642, allocations: 202 kB / 353.5 MB, free: 6.707 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2642, allocations: 0 / 353.5 MB, free: 6.707 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004263/0.2646, allocations: 99.98 kB / 353.6 MB, free: 6.609 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.0002816/0.2649, allocations: 139.1 kB / 353.7 MB, free: 6.465 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000479/0.2654, allocations: 314.5 kB / 354 MB, free: 6.145 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2654, allocations: 0 / 354 MB, free: 6.145 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.2656, allocations: 75.89 kB / 354.1 MB, free: 6.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009482/0.2665, allocations: 162.1 kB / 354.3 MB, free: 5.914 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.2676, allocations: 0.6333 MB / 354.9 MB, free: 5.219 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.268, allocations: 0.7561 MB / 355.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.2682, allocations: 63.19 kB / 355.7 MB, free: 4.375 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.2683, allocations: 27.44 kB / 355.8 MB, free: 4.352 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2683, allocations: 0 / 355.8 MB, free: 4.352 MB / 286.1 MB Notification: Performance of Templates: time 0.009679/0.278, allocations: 5.582 MB / 361.3 MB, free: 14.77 MB / 302.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)