Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001054, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.85e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09496, allocations: 47.58 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.993/8.088, allocations: 2.74 GB / 3.1 GB, free: 20.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/8.089, allocations: 97.67 kB / 3.1 GB, free: 20.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.569/9.658, allocations: 294.5 MB / 3.388 GB, free: 57.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.725e-06/9.658, allocations: 0 / 3.388 GB, free: 57.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.925e-05/9.658, allocations: 3.812 kB / 3.388 GB, free: 57.45 MB / 426.7 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.003485/9.662, allocations: 0.9186 MB / 3.389 GB, free: 56.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/9.662, allocations: 7.906 kB / 3.389 GB, free: 56.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/9.663, allocations: 87.31 kB / 3.389 GB, free: 56.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/9.663, allocations: 301.2 kB / 3.389 GB, free: 56.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/9.663, allocations: 27.66 kB / 3.389 GB, free: 56.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.62e-05/9.664, allocations: 34.28 kB / 3.389 GB, free: 56.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/9.665, allocations: 447.3 kB / 3.39 GB, free: 56.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/9.665, allocations: 3.906 kB / 3.39 GB, free: 56.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/9.665, allocations: 11.75 kB / 3.39 GB, free: 56.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/9.665, allocations: 7.531 kB / 3.39 GB, free: 56.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008802/9.666, allocations: 325.4 kB / 3.39 GB, free: 56.11 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003759/9.669, allocations: 2.621 MB / 3.393 GB, free: 53.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/9.67, allocations: 261 kB / 3.393 GB, free: 53.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/9.671, allocations: 106.6 kB / 3.393 GB, free: 53.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05019/9.721, allocations: 15.38 MB / 3.408 GB, free: 41.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/9.721, allocations: 42.5 kB / 3.408 GB, free: 41.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.285e-06/9.721, allocations: 0 / 3.408 GB, free: 41.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.00604/9.727, allocations: 1.175 MB / 3.409 GB, free: 40.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/9.727, allocations: 55.41 kB / 3.409 GB, free: 40.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/9.727, allocations: 230.9 kB / 3.41 GB, free: 39.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/9.727, allocations: 37.69 kB / 3.41 GB, free: 39.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/9.728, allocations: 250.3 kB / 3.41 GB, free: 39.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/9.728, allocations: 110.3 kB / 3.41 GB, free: 39.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/9.728, allocations: 8 kB / 3.41 GB, free: 39.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/9.728, allocations: 330.8 kB / 3.41 GB, free: 39.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/9.728, allocations: 96.88 kB / 3.41 GB, free: 39.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/9.728, allocations: 214.9 kB / 3.411 GB, free: 38.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/9.729, allocations: 135.9 kB / 3.411 GB, free: 38.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/9.729, allocations: 0 / 3.411 GB, free: 38.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001114/9.73, allocations: 418.6 kB / 3.411 GB, free: 38.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/9.73, allocations: 8 kB / 3.411 GB, free: 38.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/9.73, allocations: 4 kB / 3.411 GB, free: 38.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006733/9.737, allocations: 273.9 kB / 3.411 GB, free: 37.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/9.737, allocations: 79.91 kB / 3.411 GB, free: 37.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/9.739, allocations: 1.871 MB / 3.413 GB, free: 35.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/9.74, allocations: 31.89 kB / 3.413 GB, free: 35.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/9.74, allocations: 16.06 kB / 3.413 GB, free: 35.83 MB / 426.7 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 () * 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.0001372/9.74, allocations: 128.9 kB / 3.413 GB, free: 35.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/9.74, allocations: 27.72 kB / 3.413 GB, free: 35.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/9.741, allocations: 0.9478 MB / 3.414 GB, free: 34.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/9.741, allocations: 11.95 kB / 3.414 GB, free: 34.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/9.741, allocations: 0 / 3.414 GB, free: 34.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/9.743, allocations: 1.115 MB / 3.416 GB, free: 33.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/9.745, allocations: 1.588 MB / 3.417 GB, free: 31.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/9.745, allocations: 0 / 3.417 GB, free: 31.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/9.745, allocations: 47.97 kB / 3.417 GB, free: 31.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003025/9.748, allocations: 283.9 kB / 3.417 GB, free: 31.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/9.749, allocations: 8 kB / 3.417 GB, free: 31.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006157/9.749, allocations: 0.6577 MB / 3.418 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/9.749, allocations: 4.062 kB / 3.418 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/9.751, allocations: 0.9488 MB / 3.419 GB, free: 29.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/9.751, allocations: 140.5 kB / 3.419 GB, free: 29.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/9.751, allocations: 8 kB / 3.419 GB, free: 29.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/9.752, allocations: 23.95 kB / 3.419 GB, free: 29.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/9.752, allocations: 23.97 kB / 3.419 GB, free: 29.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/9.752, allocations: 12 kB / 3.419 GB, free: 29.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003591/9.752, allocations: 238.2 kB / 3.419 GB, free: 29.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/9.752, allocations: 0 / 3.419 GB, free: 29.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003375/9.755, allocations: 0.5426 MB / 3.42 GB, free: 28.86 MB / 426.7 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 () * 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.005372/9.761, allocations: 0.8523 MB / 3.421 GB, free: 28.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/9.762, allocations: 0.5181 MB / 3.421 GB, free: 27.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/9.762, allocations: 3.938 kB / 3.421 GB, free: 27.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006114/9.763, allocations: 289.4 kB / 3.422 GB, free: 27.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/9.765, allocations: 183.5 kB / 3.422 GB, free: 27.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/9.766, allocations: 0.784 MB / 3.422 GB, free: 26.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/9.767, allocations: 0.8284 MB / 3.423 GB, free: 25.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/9.767, allocations: 35.44 kB / 3.423 GB, free: 25.42 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/9.767, allocations: 4 kB / 3.423 GB, free: 25.41 MB / 426.7 MB Notification: Performance of Templates: time 0.04378/9.811, allocations: 18.24 MB / 3.441 GB, free: 7.16 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)