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.0009928/0.0009928, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009647/0.0009649, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004736/0.0004737, allocations: 15.98 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2334, allocations: 47.58 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.02784/0.2613, allocations: 27.26 MB / 353.7 MB, free: 8.207 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.277, allocations: 13.36 MB / 367.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/0.2774, allocations: 0 / 367.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007343/0.2781, allocations: 235 kB / 367.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005604/0.2787, allocations: 243.3 kB / 367.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01326/0.2919, allocations: 4.535 MB / 372.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000985/0.293, allocations: 0.5544 MB / 372.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.2932, allocations: 81.02 kB / 372.7 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005785/0.299, allocations: 3.259 MB / 376 MB, free: 1.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.2993, allocations: 195.2 kB / 376.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.2993, allocations: 16 kB / 376.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006989/0.3063, allocations: 3.398 MB / 379.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.3065, allocations: 79.72 kB / 379.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.3066, allocations: 101.6 kB / 379.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.3089, allocations: 1.637 MB / 381.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.3089, allocations: 4 kB / 381.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3089, allocations: 0 / 381.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3089, allocations: 0 / 381.4 MB, free: 12.47 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.001258/0.3102, allocations: 0.7406 MB / 382.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3102, allocations: 8.031 kB / 382.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006874/0.3109, allocations: 87.48 kB / 382.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.3113, allocations: 290.5 kB / 382.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.3113, allocations: 32.61 kB / 382.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.3114, allocations: 35.92 kB / 382.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.3121, allocations: 438.2 kB / 383 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3122, allocations: 0 / 383 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.3122, allocations: 16 kB / 383 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3122, allocations: 12 kB / 383 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/0.3128, allocations: 313.8 kB / 383.3 MB, free: 10.39 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.002746/0.3156, allocations: 2.625 MB / 386 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.3161, allocations: 258.5 kB / 386.2 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03164/0.3478, allocations: 15.59 MB / 401.8 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.3478, allocations: 38.5 kB / 401.8 MB, free: 5.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.494e-06/0.3479, allocations: 0 / 401.8 MB, free: 5.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004411/0.3523, allocations: 1.316 MB / 403.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.3523, allocations: 59.34 kB / 403.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.3526, allocations: 262.6 kB / 403.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.3527, allocations: 29.7 kB / 403.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3528, allocations: 203.9 kB / 403.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/0.3529, allocations: 102.5 kB / 403.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.3529, allocations: 11.94 kB / 403.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3531, allocations: 338.8 kB / 404.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.3532, allocations: 96.84 kB / 404.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.3535, allocations: 222.9 kB / 404.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.3537, allocations: 131.9 kB / 404.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3537, allocations: 4 kB / 404.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006895/0.3544, allocations: 426.9 kB / 405 MB, free: 2.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3544, allocations: 11.95 kB / 405 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3545, allocations: 4 kB / 405 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/0.3576, allocations: 265.4 kB / 405.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.3579, allocations: 84.05 kB / 405.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.3594, allocations: 1.883 MB / 407.2 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.3596, allocations: 27.92 kB / 407.3 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.3597, allocations: 16 kB / 407.3 MB, free: 28 kB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.3599, allocations: 170 kB / 407.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.36, allocations: 31.62 kB / 407.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3611, allocations: 0.9513 MB / 408.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.3611, allocations: 11.98 kB / 408.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.3611, allocations: 0 / 408.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.3621, allocations: 1.114 MB / 409.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.364, allocations: 1.595 MB / 411.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.364, allocations: 0 / 411.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.3643, allocations: 51.91 kB / 411.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.3659, allocations: 295.8 kB / 411.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.366, allocations: 4 kB / 411.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005166/0.3665, allocations: 0.6734 MB / 412.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3665, allocations: 0 / 412.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.3677, allocations: 0.9447 MB / 413.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.3678, allocations: 140.4 kB / 413.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.3679, allocations: 7.984 kB / 413.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.3681, allocations: 20.06 kB / 413.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.3682, allocations: 23.97 kB / 413.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.3682, allocations: 8 kB / 413.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002702/0.3685, allocations: 239 kB / 413.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3685, allocations: 7.875 kB / 413.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001674/0.3702, allocations: 0.4959 MB / 414.1 MB, free: 9.004 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/0.3718, allocations: 0.5107 MB / 414.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008147/0.3726, allocations: 0.5178 MB / 415.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3727, allocations: 1 kB / 415.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.3731, allocations: 296.4 kB / 415.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.3741, allocations: 180.9 kB / 415.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.3757, allocations: 1.213 MB / 416.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3761, allocations: 0.836 MB / 417.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002975/0.3764, allocations: 107.2 kB / 417.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.3765, allocations: 31.42 kB / 417.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3765, allocations: 4 kB / 417.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of Templates: time 0.02606/0.4025, allocations: 18.53 MB / 436.3 MB, free: 2.688 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: