Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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.001162/0.001161, allocations: 103.3 kB / 15.06 MB, free: 1.098 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.001153/0.001153, allocations: 173.3 kB / 15.95 MB, free: 212 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.653/1.653, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3351/0.3351, allocations: 38.03 MB / 308.4 MB, free: 10.38 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001004, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1454, allocations: 57.53 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2841/0.4296, allocations: 33.12 MB / 467.1 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01831/0.448, allocations: 17.19 MB / 484.3 MB, free: 26.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.4493, allocations: 24.53 kB / 484.3 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.4505, allocations: 393.7 kB / 484.7 MB, free: 26.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01371/0.4643, allocations: 3.988 MB / 488.6 MB, free: 24.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007904/0.4722, allocations: 2.108 MB / 490.8 MB, free: 22.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.4745, allocations: 1.151 MB / 491.9 MB, free: 22.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000802/0.4753, allocations: 409.3 kB / 492.3 MB, free: 22.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.4862, allocations: 6.272 MB / 498.6 MB, free: 21.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01651/0.5028, allocations: 8.757 MB / 0.4954 GB, free: 20.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003231/0.5032, allocations: 33.84 kB / 0.4955 GB, free: 20.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01845/0.5216, allocations: 7.03 MB / 0.5023 GB, free: 18.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005188/0.5222, allocations: 222.2 kB / 0.5026 GB, free: 18.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.5227, allocations: 190.2 kB / 0.5027 GB, free: 18.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008377/0.5311, allocations: 3.36 MB / 0.506 GB, free: 18.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5311, allocations: 0 / 0.506 GB, free: 18.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5311, allocations: 0 / 0.506 GB, free: 18.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.5311, allocations: 3.938 kB / 0.506 GB, free: 18.06 MB / 382.1 MB 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.005426/0.5365, allocations: 1.467 MB / 0.5075 GB, free: 17.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.5366, allocations: 10.72 kB / 0.5075 GB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.5381, allocations: 219.2 kB / 0.5077 GB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000916/0.539, allocations: 0.5226 MB / 0.5082 GB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.5392, allocations: 112 kB / 0.5083 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.5393, allocations: 67.02 kB / 0.5084 GB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.5412, allocations: 1.061 MB / 0.5094 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.5412, allocations: 11.94 kB / 0.5094 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.582e-05/0.5413, allocations: 31.98 kB / 0.5094 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.721e-05/0.5414, allocations: 48.91 kB / 0.5095 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.5428, allocations: 0.8154 MB / 0.5103 GB, free: 14.65 MB / 382.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.004768/0.5476, allocations: 5.574 MB / 0.5157 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.5487, allocations: 0.5286 MB / 0.5162 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09652/0.6452, allocations: 47.89 MB / 0.563 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.643e-05/0.6454, allocations: 42.5 kB / 0.563 GB, free: 2.633 MB / 430.1 MB Notification: Performance of pre-optimization done (n=39): time 5.831e-06/0.6454, allocations: 3.984 kB / 0.563 GB, free: 2.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.007462/0.6529, allocations: 2.134 MB / 0.5651 GB, free: 448 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.653, allocations: 196 kB / 0.5653 GB, free: 208 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.6542, allocations: 0.6251 MB / 0.5659 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/0.6543, allocations: 33.7 kB / 0.566 GB, free: 15.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.6547, allocations: 411 kB / 0.5664 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.6549, allocations: 161.8 kB / 0.5665 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.6549, allocations: 16 kB / 0.5665 GB, free: 14.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.6551, allocations: 382.7 kB / 0.5669 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.6555, allocations: 225.9 kB / 0.5671 GB, free: 14.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/0.6562, allocations: 0.5829 MB / 0.5677 GB, free: 13.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.6567, allocations: 335.6 kB / 0.568 GB, free: 13.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.6568, allocations: 7.984 kB / 0.568 GB, free: 13.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001491/0.6582, allocations: 0.8837 MB / 0.5689 GB, free: 12.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.6583, allocations: 8.969 kB / 0.5689 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.6583, allocations: 12 kB / 0.5689 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/0.6614, allocations: 276.5 kB / 0.5691 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.6627, allocations: 283.6 kB / 0.5694 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.6647, allocations: 2.031 MB / 0.5714 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000769/0.6655, allocations: 55.88 kB / 0.5715 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/0.6656, allocations: 51.98 kB / 0.5715 GB, free: 9.492 MB / 446.1 MB 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],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked 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.0004868/0.6661, allocations: 273.5 kB / 0.5718 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.6663, allocations: 71.16 kB / 0.5718 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.6688, allocations: 2.026 MB / 0.5738 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/0.6688, allocations: 31.91 kB / 0.5738 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6688, allocations: 0 / 0.5738 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.6688, allocations: 3.984 kB / 0.5738 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.6729, allocations: 2.996 MB / 0.5768 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6729, allocations: 4 kB / 0.5768 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008803/0.6738, allocations: 185.5 kB / 0.5769 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/0.6756, allocations: 311.8 kB / 0.5772 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.6756, allocations: 12 kB / 0.5773 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.6777, allocations: 2.081 MB / 0.5793 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.6777, allocations: 12.78 kB / 0.5793 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/0.6808, allocations: 1.955 MB / 0.5812 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008645/0.6817, allocations: 287.3 kB / 0.5815 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/0.682, allocations: 15.95 kB / 0.5815 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/0.6829, allocations: 31.97 kB / 0.5815 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.683, allocations: 36.39 kB / 0.5816 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/0.6831, allocations: 15.94 kB / 0.5816 GB, free: 14.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009249/0.684, allocations: 0.5693 MB / 0.5821 GB, free: 14.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.684, allocations: 0 / 0.5821 GB, free: 14.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006645/0.6907, allocations: 1.093 MB / 0.5832 GB, free: 13.19 MB / 462.1 MB 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 () * Number of clocked 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.01061/0.7013, allocations: 1.186 MB / 0.5844 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.7039, allocations: 0.9125 MB / 0.5853 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.7039, allocations: 0 / 0.5853 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.7054, allocations: 0.648 MB / 0.5859 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.7077, allocations: 371.5 kB / 0.5862 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/0.7121, allocations: 2.581 MB / 0.5888 GB, free: 7.477 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.7132, allocations: 1.113 MB / 0.5898 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001115/0.7143, allocations: 338.3 kB / 0.5902 GB, free: 6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.7145, allocations: 67.42 kB / 0.5902 GB, free: 5.934 MB / 462.1 MB Notification: Performance of SimCode: time 2.745e-06/0.7146, allocations: 0 / 0.5902 GB, free: 5.934 MB / 462.1 MB Notification: Performance of Templates: time 0.3011/1.016, allocations: 44.68 MB / 0.6339 GB, free: 150.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) Environment - environmentSimulation: