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.001228/0.001228, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001485/0.001485, allocations: 191.1 kB / 16.14 MB, free: 6.707 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.545/1.545, allocations: 205.1 MB / 222 MB, free: 4.742 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.001119/0.001119, allocations: 47.94 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2587, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01281/0.2716, allocations: 12.82 MB / 337.5 MB, free: 7.293 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.2739, allocations: 1.701 MB / 339.2 MB, free: 5.586 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.2741, allocations: 4 kB / 339.2 MB, free: 5.582 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005067/0.2747, allocations: 139.2 kB / 339.4 MB, free: 5.445 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005483/0.2752, allocations: 310.5 kB / 339.7 MB, free: 5.141 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009452/0.2762, allocations: 387.2 kB / 340 MB, free: 4.762 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.2774, allocations: 1.281 MB / 341.3 MB, free: 3.477 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.2777, allocations: 72.69 kB / 341.4 MB, free: 3.406 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006865/0.2783, allocations: 350.6 kB / 341.7 MB, free: 3.062 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.2787, allocations: 278.9 kB / 342 MB, free: 2.789 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.2788, allocations: 16 kB / 342 MB, free: 2.773 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.2791, allocations: 115.8 kB / 342.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.2792, allocations: 79.72 kB / 342.2 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002356/0.2795, allocations: 175.2 kB / 342.4 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.28, allocations: 459.9 kB / 342.8 MB, free: 1.961 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.28, allocations: 0 / 342.8 MB, free: 1.961 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.28, allocations: 0 / 342.8 MB, free: 1.961 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.28, allocations: 0 / 342.8 MB, free: 1.961 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.0009467/0.281, allocations: 0.5848 MB / 343.4 MB, free: 1.328 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.281, allocations: 12.02 kB / 343.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.2813, allocations: 40.66 kB / 343.5 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.2817, allocations: 275.8 kB / 343.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.2818, allocations: 20.94 kB / 343.8 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.2818, allocations: 24.38 kB / 343.8 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/0.2825, allocations: 325.5 kB / 344.1 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.2825, allocations: 3.938 kB / 344.1 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.2826, allocations: 16 kB / 344.1 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.2826, allocations: 8 kB / 344.1 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.2829, allocations: 197.5 kB / 344.3 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.285, allocations: 1.732 MB / 346.1 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.2853, allocations: 134.5 kB / 346.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.2854, allocations: 72.86 kB / 346.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.2856, allocations: 170.2 kB / 346.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.2857, allocations: 38.56 kB / 346.5 MB, free: 14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.2857, allocations: 0 / 346.5 MB, free: 14 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.002068/0.2878, allocations: 0.781 MB / 347.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.2878, allocations: 59.41 kB / 347.3 MB, free: 13.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.2882, allocations: 282.5 kB / 347.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.2883, allocations: 33.7 kB / 347.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.2885, allocations: 199.5 kB / 347.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.2886, allocations: 74.89 kB / 347.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.2887, allocations: 77.38 kB / 348 MB, free: 12.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.289, allocations: 334.8 kB / 348.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2891, allocations: 63.97 kB / 348.3 MB, free: 12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.2894, allocations: 195.1 kB / 348.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.2898, allocations: 287.2 kB / 348.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2899, allocations: 0 / 348.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000567/0.2904, allocations: 338.2 kB / 349.1 MB, free: 11.08 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.2905, allocations: 8.031 kB / 349.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.2905, allocations: 4 kB / 349.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001267/0.2906, allocations: 20.8 kB / 349.2 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.291, allocations: 87.89 kB / 349.3 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.2924, allocations: 1.292 MB / 350.6 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.2926, allocations: 12 kB / 350.6 MB, free: 9.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.2926, allocations: 16 kB / 350.6 MB, free: 9.504 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.0001896/0.2928, allocations: 157.8 kB / 350.7 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.2929, allocations: 31.66 kB / 350.8 MB, free: 9.309 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.2933, allocations: 213.2 kB / 351 MB, free: 9.094 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2933, allocations: 7.938 kB / 351 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.2933, allocations: 0 / 351 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004086/0.2937, allocations: 483.7 kB / 351.5 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.2949, allocations: 0.776 MB / 352.2 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2949, allocations: 4 kB / 352.2 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.2951, allocations: 48.2 kB / 352.3 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.2951, allocations: 4 kB / 352.3 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.2951, allocations: 11.98 kB / 352.3 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2951, allocations: 4 kB / 352.3 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2951, allocations: 48 / 352.3 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.2957, allocations: 407.3 kB / 352.7 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.2958, allocations: 104.8 kB / 352.8 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.2958, allocations: 8 kB / 352.8 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.2961, allocations: 16.06 kB / 352.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.2962, allocations: 23.84 kB / 352.8 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.2962, allocations: 15.98 kB / 352.9 MB, free: 6.953 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.2964, allocations: 198 kB / 353.1 MB, free: 6.762 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2964, allocations: 0 / 353.1 MB, free: 6.762 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005536/0.297, allocations: 103.9 kB / 353.2 MB, free: 6.66 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.0004106/0.2974, allocations: 143.1 kB / 353.3 MB, free: 6.512 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006116/0.298, allocations: 303.2 kB / 353.6 MB, free: 6.203 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2981, allocations: 7.938 kB / 353.6 MB, free: 6.195 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.2982, allocations: 71.84 kB / 353.7 MB, free: 6.125 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.2992, allocations: 153.6 kB / 353.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.3003, allocations: 0.7173 MB / 354.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.3008, allocations: 0.7641 MB / 355.3 MB, free: 4.406 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.301, allocations: 63.2 kB / 355.4 MB, free: 4.344 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.3011, allocations: 31.42 kB / 355.4 MB, free: 4.316 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3011, allocations: 0 / 355.4 MB, free: 4.316 MB / 286.1 MB Notification: Performance of Templates: time 0.009929/0.311, allocations: 5.341 MB / 360.7 MB, free: 14.98 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)