Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001717/0.001717, allocations: 193.5 kB / 16.13 MB, free: 6.668 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.428/1.428, allocations: 205.1 MB / 222 MB, free: 4.73 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.001177/0.001177, allocations: 51.92 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2278, allocations: 46.63 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03494/0.2628, allocations: 33.25 MB / 357.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.2819, allocations: 16.68 MB / 374.6 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.2825, allocations: 4 kB / 374.6 MB, free: 2.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009337/0.2834, allocations: 234.8 kB / 374.8 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007942/0.2842, allocations: 358.2 kB / 375.2 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01538/0.2996, allocations: 4.676 MB / 379.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.3014, allocations: 1.418 MB / 381.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.3016, allocations: 89.03 kB / 381.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005273/0.3069, allocations: 2.115 MB / 383.5 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.3073, allocations: 310.8 kB / 383.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.3074, allocations: 16 kB / 383.8 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006312/0.3137, allocations: 3.512 MB / 387.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.3139, allocations: 91.64 kB / 387.4 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.3143, allocations: 203.2 kB / 387.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004396/0.3187, allocations: 2.347 MB / 390 MB, free: 2.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3187, allocations: 0 / 390 MB, free: 2.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3187, allocations: 0 / 390 MB, free: 2.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.3187, allocations: 4 kB / 390 MB, free: 2.668 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001425/0.3202, allocations: 0.8149 MB / 390.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3202, allocations: 12.03 kB / 390.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007269/0.3209, allocations: 84.5 kB / 390.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.3213, allocations: 299.6 kB / 391.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.3214, allocations: 25.03 kB / 391.2 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.3214, allocations: 32.38 kB / 391.2 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007834/0.3222, allocations: 446.1 kB / 391.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.3223, allocations: 7.938 kB / 391.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.3223, allocations: 16 kB / 391.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3223, allocations: 12 kB / 391.7 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005707/0.3229, allocations: 309.9 kB / 392 MB, free: 0.5 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.3256, allocations: 2.618 MB / 394.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005195/0.3262, allocations: 258.5 kB / 394.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.3263, allocations: 100.8 kB / 395 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03084/0.3572, allocations: 15.48 MB / 410.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.3573, allocations: 38.56 kB / 410.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.205e-06/0.3573, allocations: 3.938 kB / 410.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.004516/0.3618, allocations: 1.308 MB / 411.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3619, allocations: 55.41 kB / 411.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.3621, allocations: 270.5 kB / 412.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3622, allocations: 29.7 kB / 412.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3623, allocations: 196 kB / 412.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/0.3624, allocations: 110.5 kB / 412.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.3625, allocations: 82.05 kB / 412.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3627, allocations: 342.8 kB / 412.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3629, allocations: 96.84 kB / 412.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.3631, allocations: 222.9 kB / 413.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.3636, allocations: 350.4 kB / 413.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3636, allocations: 0 / 413.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007594/0.3643, allocations: 442.5 kB / 413.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3644, allocations: 8 kB / 413.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3644, allocations: 4 kB / 414 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003244/0.3676, allocations: 265.8 kB / 414.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.3679, allocations: 87.89 kB / 414.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.3695, allocations: 1.879 MB / 416.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.3698, allocations: 32.05 kB / 416.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.3698, allocations: 16 kB / 416.2 MB, free: 5.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.3701, allocations: 162.3 kB / 416.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.3701, allocations: 35.56 kB / 416.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.3712, allocations: 0.9475 MB / 417.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3713, allocations: 7.984 kB / 417.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.3713, allocations: 0 / 417.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009207/0.3722, allocations: 1.114 MB / 418.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.374, allocations: 1.595 MB / 420.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.374, allocations: 0 / 420.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.3742, allocations: 51.91 kB / 420.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.3759, allocations: 287.9 kB / 420.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.3759, allocations: 12 kB / 420.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000514/0.3764, allocations: 0.6655 MB / 421.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3764, allocations: 0 / 421.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.3775, allocations: 0.9526 MB / 422 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.3776, allocations: 108.6 kB / 422.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.3777, allocations: 19.78 kB / 422.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.3779, allocations: 20.11 kB / 422.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.378, allocations: 27.91 kB / 422.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.378, allocations: 4 kB / 422.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002508/0.3783, allocations: 251 kB / 422.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3783, allocations: 0 / 422.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001525/0.3798, allocations: 499.8 kB / 423 MB, free: 14.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0017/0.3815, allocations: 0.5183 MB / 423.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009103/0.3824, allocations: 0.5188 MB / 424 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3824, allocations: 0 / 424 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.3829, allocations: 292.4 kB / 424.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.3839, allocations: 177.5 kB / 424.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3855, allocations: 1.197 MB / 425.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.3859, allocations: 0.8245 MB / 426.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.3862, allocations: 111.1 kB / 426.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.3863, allocations: 35.44 kB / 426.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3863, allocations: 0 / 426.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Templates: time 0.0255/0.4118, allocations: 18.48 MB / 445.1 MB, free: 8.562 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)