Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009743/0.009743, allocations: 169.3 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3174/0.3174, allocations: 40 MB / 310.7 MB, free: 9.836 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.2. 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.0005216/0.0005216, allocations: 16 kB / 379.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1183, allocations: 57.96 MB / 437.4 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.2363/0.3547, allocations: 21.21 MB / 458.6 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3657, allocations: 8.623 MB / 467.2 MB, free: 33.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009331/0.3666, allocations: 35.75 kB / 467.3 MB, free: 33.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008268/0.3675, allocations: 290.6 kB / 467.6 MB, free: 33.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.3701, allocations: 1 MB / 468.6 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.3723, allocations: 0.8662 MB / 469.4 MB, free: 33.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.3744, allocations: 2.261 MB / 471.7 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008533/0.3753, allocations: 0.5548 MB / 472.2 MB, free: 32.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.3763, allocations: 0.6492 MB / 472.9 MB, free: 32.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00072/0.3771, allocations: 0.6634 MB / 473.6 MB, free: 32.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.01e-05/0.3772, allocations: 39.31 kB / 473.6 MB, free: 32.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.3785, allocations: 0.7022 MB / 474.3 MB, free: 32.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.3787, allocations: 191.9 kB / 474.5 MB, free: 32.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.3791, allocations: 452.6 kB / 474.9 MB, free: 32.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.3804, allocations: 1.419 MB / 476.3 MB, free: 32.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3805, allocations: 3.422 kB / 476.4 MB, free: 32.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3805, allocations: 0 / 476.4 MB, free: 32.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.3805, allocations: 0 / 476.4 MB, free: 32.29 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002119/0.3826, allocations: 1.075 MB / 477.4 MB, free: 31.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3827, allocations: 17.44 kB / 477.4 MB, free: 31.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.383, allocations: 99.39 kB / 477.5 MB, free: 31.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006951/0.3837, allocations: 0.5617 MB / 478.1 MB, free: 31.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.3837, allocations: 48.92 kB / 478.2 MB, free: 31.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.3838, allocations: 55.98 kB / 478.2 MB, free: 31.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.3852, allocations: 0.8282 MB / 479 MB, free: 30.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.3852, allocations: 7.938 kB / 479 MB, free: 30.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.185e-05/0.3853, allocations: 22.34 kB / 479.1 MB, free: 30.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.3853, allocations: 23.59 kB / 479.1 MB, free: 30.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.3868, allocations: 0.7971 MB / 479.9 MB, free: 30.7 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.004159/0.3909, allocations: 3.584 MB / 483.5 MB, free: 28.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.392, allocations: 0.4897 MB / 484 MB, free: 27.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/0.3927, allocations: 336.6 kB / 484.3 MB, free: 27.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.393, allocations: 0.5749 MB / 484.9 MB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.393, allocations: 41.47 kB / 484.9 MB, free: 27.05 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006901/0.3937, allocations: 129.3 kB / 485 MB, free: 27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 3.216e-06/0.3938, allocations: 0 / 485 MB, free: 27 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.05352/0.4473, allocations: 8.601 MB / 493.6 MB, free: 24.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.4474, allocations: 114.7 kB / 493.7 MB, free: 24.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.4486, allocations: 0.6325 MB / 494.4 MB, free: 24.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.4488, allocations: 38.2 kB / 494.4 MB, free: 24.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.4491, allocations: 357.9 kB / 494.8 MB, free: 23.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.4493, allocations: 239 kB / 495 MB, free: 23.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.4495, allocations: 66.33 kB / 495.1 MB, free: 23.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4497, allocations: 387.8 kB / 495.4 MB, free: 23.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.4513, allocations: 0.5541 MB / 496 MB, free: 23.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.4531, allocations: 0.7518 MB / 496.7 MB, free: 22.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/0.4566, allocations: 1.301 MB / 498 MB, free: 22.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.4566, allocations: 5.312 kB / 498 MB, free: 22.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004561/0.4612, allocations: 1.66 MB / 499.7 MB, free: 21.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.4613, allocations: 246.4 kB / 500 MB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4613, allocations: 6.156 kB / 500 MB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01235/0.4737, allocations: 1.678 MB / 0.4899 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.4754, allocations: 274.1 kB / 0.4901 GB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/0.4784, allocations: 1.702 MB / 0.4918 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.4803, allocations: 132.6 kB / 0.4919 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003377/0.4807, allocations: 69.88 kB / 0.492 GB, free: 19.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4807, allocations: 3.688 kB / 0.492 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004779/0.4855, allocations: 1.519 MB / 0.4935 GB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.4856, allocations: 5.734 kB / 0.4935 GB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/0.4884, allocations: 0.5087 MB / 0.494 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.4899, allocations: 283.7 kB / 0.4943 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/0.4942, allocations: 2.975 MB / 0.4972 GB, free: 16.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.4959, allocations: 144.6 kB / 0.4973 GB, free: 16.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.4962, allocations: 57.17 kB / 0.4974 GB, free: 16.65 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006376/0.4968, allocations: 295.4 kB / 0.4976 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.4971, allocations: 83.69 kB / 0.4977 GB, free: 16.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/0.5023, allocations: 1.92 MB / 0.4996 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.5023, allocations: 13.81 kB / 0.4996 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5023, allocations: 0 / 0.4996 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.5023, allocations: 6 kB / 0.4996 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009159/0.5115, allocations: 3.022 MB / 0.5026 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.5116, allocations: 0 / 0.5026 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.5126, allocations: 202.7 kB / 0.5028 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008513/0.5212, allocations: 1.386 MB / 0.5041 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002666/0.5215, allocations: 32.7 kB / 0.5041 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.5236, allocations: 1.601 MB / 0.5057 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5236, allocations: 8 kB / 0.5057 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006405/0.5301, allocations: 2.312 MB / 0.508 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006048/0.5307, allocations: 284 kB / 0.5082 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.531, allocations: 16.5 kB / 0.5083 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.5324, allocations: 126.5 kB / 0.5084 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.5326, allocations: 64.97 kB / 0.5084 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.5327, allocations: 43.39 kB / 0.5085 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006541/0.5334, allocations: 453.1 kB / 0.5089 GB, free: 9.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5334, allocations: 0 / 0.5089 GB, free: 9.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002378/0.5358, allocations: 0.5977 MB / 0.5095 GB, free: 9.887 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (3,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001259/0.537, allocations: 433.5 kB / 0.5099 GB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007508/0.5446, allocations: 2.292 MB / 0.5121 GB, free: 8.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.5446, allocations: 0 / 0.5121 GB, free: 8.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.5465, allocations: 0.6989 MB / 0.5128 GB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.5489, allocations: 374.5 kB / 0.5132 GB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.5523, allocations: 2.129 MB / 0.5153 GB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.5527, allocations: 0.9769 MB / 0.5162 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001545/0.5543, allocations: 270.7 kB / 0.5165 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/0.5547, allocations: 103.3 kB / 0.5166 GB, free: 4.066 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5548, allocations: 0 / 0.5166 GB, free: 4.066 MB / 382.1 MB Notification: Performance of Templates: time 0.04982/0.6046, allocations: 29.66 MB / 0.5455 GB, free: 6.434 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) Environment - environmentSimulation: