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.00134/0.00134, allocations: 108 kB / 15.61 MB, free: 152 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.001766/0.001766, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.513/1.513, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001514/0.001514, allocations: 59.92 kB / 278.7 MB, free: 12.33 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2531, allocations: 46.63 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0135/0.2667, allocations: 12.84 MB / 338.2 MB, free: 7.031 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.2691, allocations: 1.713 MB / 339.9 MB, free: 5.312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.2693, allocations: 11.88 kB / 339.9 MB, free: 5.301 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.2699, allocations: 170.9 kB / 340.1 MB, free: 5.133 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.2704, allocations: 314.2 kB / 340.4 MB, free: 4.824 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.2713, allocations: 403 kB / 340.8 MB, free: 4.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008669/0.2722, allocations: 0.829 MB / 341.6 MB, free: 3.598 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.2724, allocations: 104.7 kB / 341.7 MB, free: 3.496 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006093/0.273, allocations: 394.6 kB / 342.1 MB, free: 3.109 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.2734, allocations: 255 kB / 342.3 MB, free: 2.859 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.2735, allocations: 31.98 kB / 342.4 MB, free: 2.828 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.2738, allocations: 103.8 kB / 342.5 MB, free: 2.727 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.2739, allocations: 91.77 kB / 342.5 MB, free: 2.637 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.2741, allocations: 179.3 kB / 342.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.2746, allocations: 468 kB / 343.2 MB, free: 2.004 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2747, allocations: 0 / 343.2 MB, free: 2.004 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.135e-06/0.2747, allocations: 0 / 343.2 MB, free: 2.004 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.2747, allocations: 7.922 kB / 343.2 MB, free: 1.996 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.0008327/0.2755, allocations: 0.5808 MB / 343.8 MB, free: 1.367 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.2756, allocations: 11.89 kB / 343.8 MB, free: 1.355 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.2759, allocations: 40.66 kB / 343.8 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.2762, allocations: 283.7 kB / 344.1 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2763, allocations: 24.92 kB / 344.1 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.2763, allocations: 24.38 kB / 344.1 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.2768, allocations: 313.5 kB / 344.5 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2768, allocations: 7.938 kB / 344.5 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.2768, allocations: 15.98 kB / 344.5 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2769, allocations: 8 kB / 344.5 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.2772, allocations: 185.5 kB / 344.7 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.2791, allocations: 1.751 MB / 346.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.2793, allocations: 134.6 kB / 346.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2795, allocations: 64.84 kB / 346.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.2796, allocations: 170.2 kB / 346.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.2797, allocations: 34.56 kB / 346.8 MB, free: 14.04 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.2797, allocations: 3.938 kB / 346.8 MB, free: 14.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001722/0.2814, allocations: 0.7933 MB / 347.6 MB, free: 13.17 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.2814, allocations: 55.41 kB / 347.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.2817, allocations: 286.5 kB / 347.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.2818, allocations: 29.7 kB / 348 MB, free: 12.78 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.2819, allocations: 199.5 kB / 348.2 MB, free: 12.58 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.282, allocations: 70.94 kB / 348.2 MB, free: 12.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.2821, allocations: 73.39 kB / 348.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2822, allocations: 334.8 kB / 348.6 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2823, allocations: 71.97 kB / 348.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.2825, allocations: 191.1 kB / 348.9 MB, free: 11.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.2829, allocations: 279.2 kB / 349.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2829, allocations: 0 / 349.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004856/0.2834, allocations: 334.3 kB / 349.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2834, allocations: 15.94 kB / 349.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2834, allocations: 4 kB / 349.5 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.261e-05/0.2835, allocations: 28.78 kB / 349.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.2838, allocations: 83.91 kB / 349.6 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.2849, allocations: 1.394 MB / 351 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.2851, allocations: 12 kB / 351 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.2851, allocations: 16 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.0001503/0.2853, allocations: 161.8 kB / 351.2 MB, free: 9.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.2854, allocations: 23.72 kB / 351.2 MB, free: 9.234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.2857, allocations: 208.6 kB / 351.4 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2857, allocations: 4 kB / 351.4 MB, free: 9.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.2857, allocations: 0 / 351.4 MB, free: 9.02 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004021/0.2861, allocations: 483.7 kB / 351.9 MB, free: 8.461 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2872, allocations: 0.7762 MB / 352.7 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2872, allocations: 4.031 kB / 352.7 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.2874, allocations: 47.91 kB / 352.7 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2874, allocations: 7.938 kB / 352.7 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2874, allocations: 11.94 kB / 352.7 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2875, allocations: 4 kB / 352.8 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2875, allocations: 4 kB / 352.8 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.2879, allocations: 395.5 kB / 353.1 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.288, allocations: 104.8 kB / 353.2 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.288, allocations: 12 kB / 353.3 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.2883, allocations: 8 kB / 353.3 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.2883, allocations: 23.91 kB / 353.3 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.2883, allocations: 12 kB / 353.3 MB, free: 6.898 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.2885, allocations: 205.9 kB / 353.5 MB, free: 6.699 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2885, allocations: 0 / 353.5 MB, free: 6.699 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004351/0.289, allocations: 95.94 kB / 353.6 MB, free: 6.605 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.0002751/0.2893, allocations: 147.1 kB / 353.7 MB, free: 6.453 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004917/0.2898, allocations: 311.2 kB / 354 MB, free: 6.137 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.2898, allocations: 8.062 kB / 354 MB, free: 6.129 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.2899, allocations: 67.86 kB / 354.1 MB, free: 6.062 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.2909, allocations: 161.5 kB / 354.3 MB, free: 5.906 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/0.2919, allocations: 0.6254 MB / 354.9 MB, free: 5.219 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.2922, allocations: 0.7639 MB / 355.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002469/0.2925, allocations: 67.19 kB / 355.7 MB, free: 4.363 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.2925, allocations: 27.44 kB / 355.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2925, allocations: 0 / 355.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of Templates: time 0.00994/0.3025, allocations: 5.57 MB / 361.3 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)