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.001407/0.001407, 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.001689/0.001688, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.598/1.598, allocations: 205.1 MB / 222 MB, free: 4.723 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.001247/0.001247, allocations: 55.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2264, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03449/0.261, allocations: 33.25 MB / 357.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.279, allocations: 16.67 MB / 374.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.2794, allocations: 7.938 kB / 374.6 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007605/0.2802, allocations: 234.8 kB / 374.9 MB, free: 1.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006141/0.2808, allocations: 350.2 kB / 375.2 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01375/0.2946, allocations: 4.684 MB / 379.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.2962, allocations: 1.418 MB / 381.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.2964, allocations: 89.02 kB / 381.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005038/0.3014, allocations: 2.119 MB / 383.5 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.3018, allocations: 302.8 kB / 383.8 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.3019, allocations: 24 kB / 383.8 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006363/0.3082, allocations: 3.504 MB / 387.3 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.3085, allocations: 91.7 kB / 387.4 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.3088, allocations: 207.2 kB / 387.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.3126, allocations: 2.343 MB / 390 MB, free: 2.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3127, allocations: 0 / 390 MB, free: 2.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3127, allocations: 0 / 390 MB, free: 2.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3127, allocations: 0 / 390 MB, free: 2.676 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.001397/0.3141, allocations: 0.8188 MB / 390.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3141, allocations: 11.97 kB / 390.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007339/0.3149, allocations: 88.5 kB / 390.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.3153, allocations: 303.6 kB / 391.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.3153, allocations: 21.03 kB / 391.2 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.3154, allocations: 32.38 kB / 391.2 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.3162, allocations: 450.1 kB / 391.7 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.3162, allocations: 0 / 391.7 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.3163, allocations: 20 kB / 391.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3163, allocations: 12 kB / 391.7 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.3169, allocations: 313.8 kB / 392 MB, free: 0.4961 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.00298/0.3199, allocations: 2.618 MB / 394.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.3205, allocations: 250.5 kB / 394.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.3207, allocations: 104.8 kB / 395 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03079/0.3515, allocations: 15.47 MB / 410.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.3516, allocations: 42.56 kB / 410.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 3.036e-06/0.3516, allocations: 0 / 410.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.005254/0.3569, allocations: 1.312 MB / 411.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.357, allocations: 55.41 kB / 411.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.3573, allocations: 266.5 kB / 412.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.3574, allocations: 33.7 kB / 412.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.3575, allocations: 188 kB / 412.3 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.572e-05/0.3576, allocations: 114.5 kB / 412.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.3578, allocations: 78.05 kB / 412.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3579, allocations: 346.8 kB / 412.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.3581, allocations: 92.84 kB / 412.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3583, allocations: 226.9 kB / 413.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.3588, allocations: 350.3 kB / 413.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3588, allocations: 4 kB / 413.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008146/0.3596, allocations: 442.5 kB / 413.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3597, allocations: 8 kB / 413.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.3597, allocations: 7.984 kB / 414 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003366/0.3631, allocations: 265.9 kB / 414.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.3634, allocations: 83.83 kB / 414.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.3652, allocations: 1.879 MB / 416.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.3655, allocations: 28.08 kB / 416.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.3656, allocations: 20 kB / 416.2 MB, free: 5.797 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.0002483/0.3659, allocations: 162.3 kB / 416.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-05/0.366, allocations: 43.48 kB / 416.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.3672, allocations: 0.9319 MB / 417.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.3672, allocations: 11.98 kB / 417.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3672, allocations: 0 / 417.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/0.3683, allocations: 1.126 MB / 418.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.3704, allocations: 1.591 MB / 420.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.3705, allocations: 0 / 420.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.3707, allocations: 47.97 kB / 420.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/0.3725, allocations: 291.8 kB / 420.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.3725, allocations: 8 kB / 420.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005785/0.3731, allocations: 0.6656 MB / 421.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3731, allocations: 0 / 421.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.3744, allocations: 0.9525 MB / 422 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.3746, allocations: 112.6 kB / 422.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.3747, allocations: 23.78 kB / 422.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.375, allocations: 20.11 kB / 422.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.375, allocations: 20.05 kB / 422.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.375, allocations: 12 kB / 422.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003125/0.3754, allocations: 239 kB / 422.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3754, allocations: 0 / 422.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001763/0.3771, allocations: 0.492 MB / 423 MB, free: 14.81 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.002272/0.3794, allocations: 0.5183 MB / 423.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3805, allocations: 0.511 MB / 424 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3805, allocations: 4 kB / 424 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004808/0.381, allocations: 290.3 kB / 424.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3821, allocations: 185.5 kB / 424.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.3839, allocations: 1.187 MB / 425.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.3844, allocations: 0.8245 MB / 426.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003703/0.3848, allocations: 111.1 kB / 426.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.3849, allocations: 31.44 kB / 426.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3849, allocations: 7.938 kB / 426.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of Templates: time 0.02898/0.4139, allocations: 18.48 MB / 445.1 MB, free: 8.574 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)