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.001126/0.001126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001201/0.001201, allocations: 189.1 kB / 16.25 MB, free: 6.629 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.582/1.582, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.002199/0.002199, allocations: 51.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2846, allocations: 46.62 MB / 324.9 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02271/0.3074, allocations: 12.81 MB / 337.7 MB, free: 7.254 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.3103, allocations: 1.694 MB / 339.4 MB, free: 5.555 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004323/0.3108, allocations: 4 kB / 339.4 MB, free: 5.551 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007762/0.3116, allocations: 151.2 kB / 339.5 MB, free: 5.402 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008602/0.3125, allocations: 294.5 kB / 339.8 MB, free: 5.113 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3138, allocations: 387.1 kB / 340.2 MB, free: 4.734 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.3152, allocations: 0.829 MB / 341 MB, free: 3.902 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.3154, allocations: 100.7 kB / 341.1 MB, free: 3.805 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008823/0.3163, allocations: 386.6 kB / 341.5 MB, free: 3.426 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005485/0.3169, allocations: 282.8 kB / 341.8 MB, free: 3.148 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.635e-05/0.317, allocations: 28 kB / 341.8 MB, free: 3.121 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00037/0.3174, allocations: 99.88 kB / 341.9 MB, free: 3.023 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.3175, allocations: 91.72 kB / 342 MB, free: 2.934 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.3178, allocations: 179.3 kB / 342.2 MB, free: 2.758 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006675/0.3185, allocations: 476 kB / 342.6 MB, free: 2.293 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3185, allocations: 0 / 342.6 MB, free: 2.293 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3185, allocations: 0 / 342.6 MB, free: 2.293 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.3186, allocations: 0 / 342.6 MB, free: 2.293 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.001033/0.3196, allocations: 0.5886 MB / 343.2 MB, free: 1.656 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3197, allocations: 15.89 kB / 343.2 MB, free: 1.641 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003366/0.32, allocations: 40.66 kB / 343.3 MB, free: 1.602 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.3204, allocations: 275.8 kB / 343.5 MB, free: 1.293 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.3204, allocations: 24.92 kB / 343.6 MB, free: 1.27 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.3205, allocations: 28.36 kB / 343.6 MB, free: 1.242 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.3211, allocations: 325.4 kB / 343.9 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3211, allocations: 0 / 343.9 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.3212, allocations: 12 kB / 343.9 MB, free: 0.875 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3212, allocations: 11.98 kB / 343.9 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.3215, allocations: 189.5 kB / 344.1 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.3236, allocations: 1.74 MB / 345.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.3239, allocations: 126.6 kB / 346 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.324, allocations: 68.88 kB / 346 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.3241, allocations: 170.2 kB / 346.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.3242, allocations: 38.56 kB / 346.2 MB, free: 14.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.3242, allocations: 0 / 346.2 MB, free: 14.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001939/0.3261, allocations: 0.789 MB / 347 MB, free: 13.47 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3262, allocations: 51.41 kB / 347.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.3265, allocations: 286.5 kB / 347.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.3266, allocations: 33.7 kB / 347.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3267, allocations: 195.5 kB / 347.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.3268, allocations: 70.95 kB / 347.7 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3269, allocations: 77.38 kB / 347.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3271, allocations: 334.8 kB / 348.1 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3272, allocations: 63.97 kB / 348.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.3275, allocations: 195.1 kB / 348.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.3279, allocations: 291.3 kB / 348.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3279, allocations: 4 kB / 348.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000527/0.3284, allocations: 329.7 kB / 348.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3284, allocations: 8.5 kB / 348.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3285, allocations: 4 kB / 348.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.454e-05/0.3286, allocations: 32.73 kB / 349 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.3289, allocations: 87.83 kB / 349 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.3301, allocations: 1.386 MB / 350.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.3303, allocations: 12 kB / 350.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.3304, allocations: 20 kB / 350.5 MB, free: 9.723 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.0001674/0.3306, allocations: 161.7 kB / 350.6 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.3306, allocations: 27.66 kB / 350.7 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.331, allocations: 213 kB / 350.9 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3311, allocations: 4 kB / 350.9 MB, free: 9.309 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3311, allocations: 0 / 350.9 MB, free: 9.309 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003853/0.3314, allocations: 483.7 kB / 351.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.3329, allocations: 0.7764 MB / 352.1 MB, free: 7.871 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3329, allocations: 4.031 kB / 352.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.3331, allocations: 47.91 kB / 352.2 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.3332, allocations: 4 kB / 352.2 MB, free: 7.816 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.3332, allocations: 11.94 kB / 352.2 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.978e-05/0.3332, allocations: 7.938 kB / 352.2 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.3332, allocations: 7.938 kB / 352.2 MB, free: 7.789 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.3338, allocations: 391.3 kB / 352.6 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.3339, allocations: 104.9 kB / 352.7 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.334, allocations: 15.94 kB / 352.7 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.3343, allocations: 11.98 kB / 352.7 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.3343, allocations: 19.92 kB / 352.7 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.3344, allocations: 19.98 kB / 352.7 MB, free: 7.176 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.3346, allocations: 202 kB / 352.9 MB, free: 6.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3346, allocations: 0 / 352.9 MB, free: 6.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005125/0.3351, allocations: 99.94 kB / 353 MB, free: 6.883 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.0003904/0.3355, allocations: 143.2 kB / 353.2 MB, free: 6.734 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006163/0.3362, allocations: 318.7 kB / 353.5 MB, free: 6.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3362, allocations: 0 / 353.5 MB, free: 6.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3363, allocations: 71.8 kB / 353.6 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009967/0.3373, allocations: 165.9 kB / 353.7 MB, free: 6.18 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.3386, allocations: 0.7232 MB / 354.4 MB, free: 5.395 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.3391, allocations: 0.7599 MB / 355.2 MB, free: 4.605 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.3394, allocations: 59.22 kB / 355.3 MB, free: 4.547 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.3395, allocations: 31.42 kB / 355.3 MB, free: 4.52 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3395, allocations: 0 / 355.3 MB, free: 4.52 MB / 286.1 MB Notification: Performance of Templates: time 0.01155/0.351, allocations: 5.562 MB / 360.9 MB, free: 14.96 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)