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.002421/0.002421, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 92.38 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.07e-05, allocations: 4 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3577, allocations: 47.57 MB / 362.4 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.199/8.557, allocations: 2.739 GB / 3.093 GB, free: 85.67 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/8.558, allocations: 97.36 kB / 3.093 GB, free: 85.67 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.302/9.859, allocations: 292.2 MB / 3.379 GB, free: 29.83 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.964e-06/9.859, allocations: 0 / 3.379 GB, free: 29.83 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.698e-05/9.859, allocations: 8 kB / 3.379 GB, free: 29.82 MB / 427.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.003495/9.863, allocations: 0.9173 MB / 3.38 GB, free: 28.86 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/9.863, allocations: 8.031 kB / 3.38 GB, free: 28.86 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/9.864, allocations: 88.5 kB / 3.38 GB, free: 28.77 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/9.865, allocations: 302.2 kB / 3.38 GB, free: 28.44 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/9.865, allocations: 8 kB / 3.38 GB, free: 28.43 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/9.865, allocations: 23.91 kB / 3.38 GB, free: 28.41 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005947/9.866, allocations: 229.5 kB / 3.38 GB, free: 28.18 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/9.866, allocations: 358.3 kB / 3.38 GB, free: 27.79 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/9.866, allocations: 0 / 3.38 GB, free: 27.79 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/9.866, allocations: 0 / 3.38 GB, free: 27.79 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/9.866, allocations: 15.94 kB / 3.38 GB, free: 27.77 MB / 427.1 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.05217/9.919, allocations: 17.75 MB / 3.398 GB, free: 8.02 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/9.919, allocations: 185.6 kB / 3.398 GB, free: 7.832 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/9.919, allocations: 88.84 kB / 3.398 GB, free: 7.742 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4315/10.35, allocations: 15.37 MB / 3.413 GB, free: 59.52 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/10.35, allocations: 39.69 kB / 3.413 GB, free: 59.48 MB / 427.1 MB Notification: Performance of pre-optimization done (n=23): time 3.457e-06/10.35, allocations: 0 / 3.413 GB, free: 59.48 MB / 427.1 MB Notification: Performance of matching and sorting (n=28): time 0.005898/10.36, allocations: 1.122 MB / 3.414 GB, free: 59.2 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/10.36, allocations: 63.05 kB / 3.414 GB, free: 59.13 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/10.36, allocations: 210.1 kB / 3.415 GB, free: 59.04 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/10.36, allocations: 25.7 kB / 3.415 GB, free: 59 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/10.36, allocations: 270 kB / 3.415 GB, free: 58.81 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.308e-05/10.36, allocations: 95.41 kB / 3.415 GB, free: 58.76 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/10.36, allocations: 0 / 3.415 GB, free: 58.76 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 8.572e-05/10.36, allocations: 330.8 kB / 3.415 GB, free: 58.45 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/10.36, allocations: 87.34 kB / 3.415 GB, free: 58.45 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/10.36, allocations: 203.7 kB / 3.415 GB, free: 58.31 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/10.36, allocations: 231.1 kB / 3.416 GB, free: 58.31 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/10.36, allocations: 3.875 kB / 3.416 GB, free: 58.31 MB / 427.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001988/10.36, allocations: 479.1 kB / 3.416 GB, free: 58.25 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/10.36, allocations: 3.938 kB / 3.416 GB, free: 58.25 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/10.36, allocations: 8.531 kB / 3.416 GB, free: 58.25 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/10.36, allocations: 66.97 kB / 3.416 GB, free: 58.23 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/10.36, allocations: 85.33 kB / 3.416 GB, free: 58.23 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/10.36, allocations: 1.919 MB / 3.418 GB, free: 56.53 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/10.37, allocations: 17.64 kB / 3.418 GB, free: 56.53 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/10.37, allocations: 21.84 kB / 3.418 GB, free: 56.53 MB / 427.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 () * 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.0001614/10.37, allocations: 119.5 kB / 3.418 GB, free: 56.42 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/10.37, allocations: 27.34 kB / 3.418 GB, free: 56.41 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/10.37, allocations: 0.8155 MB / 3.419 GB, free: 56.31 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/10.37, allocations: 10.47 kB / 3.419 GB, free: 56.31 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/10.37, allocations: 0 / 3.419 GB, free: 56.31 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001397/10.37, allocations: 1.029 MB / 3.42 GB, free: 55.82 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/10.37, allocations: 1.399 MB / 3.422 GB, free: 55.45 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/10.37, allocations: 0 / 3.422 GB, free: 55.45 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/10.37, allocations: 48.92 kB / 3.422 GB, free: 55.45 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004181/10.37, allocations: 109.4 kB / 3.422 GB, free: 55.44 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/10.37, allocations: 0 / 3.422 GB, free: 55.44 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008529/10.37, allocations: 0.721 MB / 3.422 GB, free: 54.92 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/10.37, allocations: 0 / 3.422 GB, free: 54.92 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/10.38, allocations: 0.9008 MB / 3.423 GB, free: 54.71 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/10.38, allocations: 110.4 kB / 3.423 GB, free: 54.61 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/10.38, allocations: 2.562 kB / 3.423 GB, free: 54.61 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/10.38, allocations: 17.39 kB / 3.423 GB, free: 54.6 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/10.38, allocations: 21.59 kB / 3.423 GB, free: 54.6 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/10.38, allocations: 17.25 kB / 3.423 GB, free: 54.6 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.000245/10.38, allocations: 159.2 kB / 3.424 GB, free: 54.52 MB / 427.1 MB Notification: Performance of sort global known variables: time 5.31e-07/10.38, allocations: 0 / 3.424 GB, free: 54.52 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.003291/10.38, allocations: 0.5094 MB / 3.424 GB, free: 54.52 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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.00559/10.39, allocations: 0.9351 MB / 3.425 GB, free: 54.41 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/10.39, allocations: 486.9 kB / 3.425 GB, free: 54.31 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/10.39, allocations: 3.438 kB / 3.425 GB, free: 54.31 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006287/10.39, allocations: 277.3 kB / 3.426 GB, free: 54.31 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/10.39, allocations: 139.2 kB / 3.426 GB, free: 54.3 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/10.39, allocations: 0.7282 MB / 3.427 GB, free: 54.08 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/10.39, allocations: 0.8189 MB / 3.427 GB, free: 53.38 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/10.39, allocations: 31.06 kB / 3.427 GB, free: 53.38 MB / 427.1 MB Notification: Performance of SimCode: time 2.014e-06/10.39, allocations: 0 / 3.427 GB, free: 53.38 MB / 427.1 MB Notification: Performance of Templates: time 0.0454/10.44, allocations: 17.81 MB / 3.445 GB, free: 52.45 MB / 427.1 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)