Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001345/0.001345, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008469/0.008469, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.507/1.507, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004527/0.0004528, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.242, allocations: 47.59 MB / 327 MB, free: 1.523 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03371/0.2758, allocations: 32.5 MB / 359.5 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02032/0.2961, allocations: 16.42 MB / 376 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.2967, allocations: 4 kB / 376 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.2976, allocations: 230.8 kB / 376.2 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007913/0.2984, allocations: 350.2 kB / 376.5 MB, free: 1.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01539/0.3138, allocations: 4.677 MB / 381.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.3155, allocations: 1.422 MB / 382.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.3157, allocations: 89.02 kB / 382.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/0.3205, allocations: 2.111 MB / 384.8 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004473/0.3209, allocations: 302.8 kB / 385.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.321, allocations: 20 kB / 385.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006697/0.3277, allocations: 3.504 MB / 388.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.3279, allocations: 87.66 kB / 388.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.3284, allocations: 220.9 kB / 389 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005029/0.3335, allocations: 2.335 MB / 391.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3335, allocations: 0 / 391.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3335, allocations: 0 / 391.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.3335, allocations: 0 / 391.3 MB, free: 3.031 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.001841/0.3354, allocations: 0.7448 MB / 392 MB, free: 2.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3354, allocations: 8.031 kB / 392 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.3363, allocations: 88.41 kB / 392.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.3367, allocations: 307.6 kB / 392.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.3368, allocations: 21.03 kB / 392.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.3368, allocations: 32.38 kB / 392.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008167/0.3377, allocations: 446.1 kB / 392.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.3377, allocations: 0 / 392.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.3378, allocations: 23.94 kB / 392.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.3378, allocations: 11.94 kB / 392.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.3384, allocations: 313.9 kB / 393.3 MB, free: 0.9258 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.00336/0.3418, allocations: 2.618 MB / 395.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.3423, allocations: 262.4 kB / 396.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.3425, allocations: 104.8 kB / 396.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03493/0.3774, allocations: 15.59 MB / 411.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.3775, allocations: 38.56 kB / 411.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.244e-06/0.3776, allocations: 0 / 411.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.004697/0.3823, allocations: 1.316 MB / 413.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3823, allocations: 59.41 kB / 413.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.3826, allocations: 266.5 kB / 413.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.3827, allocations: 29.7 kB / 413.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.3828, allocations: 192.1 kB / 413.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.902e-05/0.3829, allocations: 110.4 kB / 413.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.383, allocations: 41.69 kB / 413.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3831, allocations: 338.8 kB / 414.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.3833, allocations: 100.8 kB / 414.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.3836, allocations: 222.9 kB / 414.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.3841, allocations: 350.4 kB / 414.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3841, allocations: 8 kB / 414.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008235/0.3849, allocations: 442.9 kB / 415.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.385, allocations: 12.06 kB / 415.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.385, allocations: 4 kB / 415.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003405/0.3884, allocations: 265.3 kB / 415.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.3887, allocations: 79.91 kB / 415.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.3902, allocations: 1.879 MB / 417.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.3905, allocations: 23.91 kB / 417.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.3906, allocations: 23.92 kB / 417.6 MB, free: 6.141 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.0002466/0.3908, allocations: 165.8 kB / 417.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.3909, allocations: 31.66 kB / 417.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.392, allocations: 0.9474 MB / 418.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.3921, allocations: 11.98 kB / 418.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.3921, allocations: 0 / 418.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00103/0.3931, allocations: 1.107 MB / 419.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.3951, allocations: 1.599 MB / 421.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.3952, allocations: 4 kB / 421.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.3954, allocations: 47.91 kB / 421.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/0.3973, allocations: 299.8 kB / 421.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.3973, allocations: 4 kB / 421.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005817/0.3979, allocations: 0.6693 MB / 422.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3979, allocations: 0 / 422.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.3991, allocations: 0.9527 MB / 423.4 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.3993, allocations: 136.4 kB / 423.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.3994, allocations: 7.938 kB / 423.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.3996, allocations: 20.05 kB / 423.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.3997, allocations: 19.98 kB / 423.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.3997, allocations: 15.98 kB / 423.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002761/0.4, allocations: 239 kB / 423.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4, allocations: 0 / 423.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001971/0.402, allocations: 499.8 kB / 424.3 MB, free: 15.14 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.001897/0.4039, allocations: 0.5184 MB / 424.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.4049, allocations: 0.5182 MB / 425.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4049, allocations: 0 / 425.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.4053, allocations: 294.8 kB / 425.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.4066, allocations: 188.9 kB / 425.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.4084, allocations: 1.248 MB / 427.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.4088, allocations: 0.8206 MB / 427.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000373/0.4092, allocations: 111.2 kB / 428 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.4093, allocations: 31.44 kB / 428 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4093, allocations: 0 / 428 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Templates: time 0.02917/0.4385, allocations: 18.42 MB / 446.4 MB, free: 8.895 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)