Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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.002324/0.002323, 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 2.147/2.147, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001081/0.001081, allocations: 90.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2808/0.2808, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.542e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 58.86 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.202/8.319, allocations: 2.794 GB / 3.267 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/8.32, allocations: 94.69 kB / 3.267 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.802/11.12, allocations: 0.4911 GB / 3.758 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.914e-06/11.12, allocations: 0 / 3.758 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.099e-05/11.12, allocations: 24.3 kB / 3.758 GB, free: 56.34 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007403/11.13, allocations: 1.694 MB / 3.76 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/11.13, allocations: 9.188 kB / 3.76 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/11.13, allocations: 232.9 kB / 3.76 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/11.13, allocations: 0.5795 MB / 3.76 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/11.13, allocations: 106.5 kB / 3.76 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/11.13, allocations: 62.84 kB / 3.761 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/11.14, allocations: 1.09 MB / 3.762 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/11.14, allocations: 2.531 kB / 3.762 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/11.14, allocations: 32.17 kB / 3.762 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.34e-05/11.14, allocations: 52.83 kB / 3.762 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/11.14, allocations: 0.8176 MB / 3.762 GB, free: 55.05 MB / 0.5105 GB 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.007672/11.15, allocations: 5.557 MB / 3.768 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/11.15, allocations: 0.5571 MB / 3.768 GB, free: 51.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/11.15, allocations: 203.1 kB / 3.769 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.145/11.29, allocations: 47.35 MB / 3.815 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/11.29, allocations: 43.41 kB / 3.815 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 3.907e-06/11.29, allocations: 0 / 3.815 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.008306/11.3, allocations: 2.015 MB / 3.817 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/11.3, allocations: 187.2 kB / 3.817 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009853/11.3, allocations: 0.5634 MB / 3.818 GB, free: 21.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/11.3, allocations: 32.03 kB / 3.818 GB, free: 21.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/11.3, allocations: 418.5 kB / 3.818 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/11.3, allocations: 170.3 kB / 3.818 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/11.3, allocations: 19.28 kB / 3.818 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/11.3, allocations: 342.7 kB / 3.819 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/11.3, allocations: 218.4 kB / 3.819 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007534/11.31, allocations: 0.5739 MB / 3.819 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/11.31, allocations: 344.5 kB / 3.82 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/11.31, allocations: 3.375 kB / 3.82 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001938/11.31, allocations: 0.8414 MB / 3.82 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/11.31, allocations: 11.78 kB / 3.82 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/11.31, allocations: 14.62 kB / 3.82 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006601/11.31, allocations: 269.7 kB / 3.821 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/11.32, allocations: 279.4 kB / 3.821 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/11.32, allocations: 2.019 MB / 3.823 GB, free: 34.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/11.32, allocations: 64.72 kB / 3.823 GB, free: 34.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.849e-05/11.32, allocations: 40.16 kB / 3.823 GB, free: 34.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002775/11.32, allocations: 161.6 kB / 3.823 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/11.32, allocations: 81.7 kB / 3.823 GB, free: 34.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/11.33, allocations: 2.004 MB / 3.825 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/11.33, allocations: 28.73 kB / 3.825 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/11.33, allocations: 2.734 kB / 3.825 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/11.33, allocations: 3.328 kB / 3.825 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00493/11.33, allocations: 2.993 MB / 3.828 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/11.33, allocations: 0 / 3.828 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/11.33, allocations: 188.1 kB / 3.828 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/11.34, allocations: 292.6 kB / 3.829 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.461e-05/11.34, allocations: 14.22 kB / 3.829 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/11.34, allocations: 2.077 MB / 3.831 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/11.34, allocations: 11 kB / 3.831 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003003/11.34, allocations: 1.933 MB / 3.833 GB, free: 31.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006515/11.34, allocations: 297.3 kB / 3.833 GB, free: 30.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/11.34, allocations: 14.06 kB / 3.833 GB, free: 30.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008438/11.34, allocations: 31.78 kB / 3.833 GB, free: 30.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/11.34, allocations: 32.31 kB / 3.833 GB, free: 30.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/11.34, allocations: 18.64 kB / 3.833 GB, free: 30.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001055/11.34, allocations: 0.5626 MB / 3.834 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.91e-07/11.34, allocations: 0 / 3.834 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006232/11.35, allocations: 1.136 MB / 3.835 GB, free: 30.67 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.00993/11.36, allocations: 1.563 MB / 3.836 GB, free: 30.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002873/11.36, allocations: 0.8799 MB / 3.837 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/11.36, allocations: 0 / 3.837 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/11.36, allocations: 0.6159 MB / 3.838 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/11.37, allocations: 380.4 kB / 3.838 GB, free: 30.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/11.37, allocations: 1.658 MB / 3.84 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008968/11.37, allocations: 1.114 MB / 3.841 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/11.37, allocations: 68.56 kB / 3.841 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of SimCode: time 2.093e-06/11.37, allocations: 0 / 3.841 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.07755/11.45, allocations: 40.02 MB / 3.88 GB, free: 25.91 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)