Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0009974/0.0009974, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001022/0.001022, allocations: 177.3 kB / 15.94 MB, free: 228 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.427/1.427, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.2886/0.2886, allocations: 38.03 MB / 308.4 MB, free: 10.46 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.0006101/0.0006102, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1176, allocations: 57.51 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.02062/0.1383, allocations: 18.26 MB / 452.2 MB, free: 3.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2049/0.3432, allocations: 7.457 MB / 459.6 MB, free: 33.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008873/0.3442, allocations: 33.12 kB / 459.7 MB, free: 33.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009898/0.3452, allocations: 382.7 kB / 460.1 MB, free: 33.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.3476, allocations: 0.9541 MB / 461 MB, free: 33.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00461/0.3522, allocations: 1.872 MB / 462.9 MB, free: 33.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.3541, allocations: 1.055 MB / 463.9 MB, free: 33.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008309/0.3549, allocations: 0.5268 MB / 464.5 MB, free: 33.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009238/0.3558, allocations: 0.6016 MB / 465.1 MB, free: 33.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.3564, allocations: 0.501 MB / 465.6 MB, free: 33.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.393e-05/0.3565, allocations: 38.81 kB / 465.6 MB, free: 33.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.3577, allocations: 0.5955 MB / 466.2 MB, free: 33.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.3578, allocations: 179.7 kB / 466.4 MB, free: 33.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.358, allocations: 172 kB / 466.5 MB, free: 33.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.3591, allocations: 1.013 MB / 467.6 MB, free: 33.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3591, allocations: 3.938 kB / 467.6 MB, free: 33.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3591, allocations: 0 / 467.6 MB, free: 33.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3591, allocations: 3.156 kB / 467.6 MB, free: 33.6 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.002116/0.3612, allocations: 1.078 MB / 468.6 MB, free: 32.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3613, allocations: 6.562 kB / 468.6 MB, free: 32.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/0.3616, allocations: 101 kB / 468.7 MB, free: 32.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006886/0.3623, allocations: 0.5499 MB / 469.3 MB, free: 32.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.3623, allocations: 40.09 kB / 469.3 MB, free: 32.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.3624, allocations: 57.94 kB / 469.4 MB, free: 32.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.3635, allocations: 0.8087 MB / 470.2 MB, free: 32.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.3636, allocations: 9.188 kB / 470.2 MB, free: 32.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.3636, allocations: 26.91 kB / 470.2 MB, free: 32.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/0.3637, allocations: 23.52 kB / 470.3 MB, free: 32.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.365, allocations: 0.7912 MB / 471 MB, free: 32.42 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.003621/0.3686, allocations: 3.628 MB / 474.7 MB, free: 30.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/0.3696, allocations: 497 kB / 475.2 MB, free: 30.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.3699, allocations: 0.5748 MB / 475.7 MB, free: 29.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.3699, allocations: 36.56 kB / 475.8 MB, free: 29.63 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005378/0.3705, allocations: 137.9 kB / 475.9 MB, free: 29.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 1.934e-06/0.3705, allocations: 2.406 kB / 475.9 MB, free: 29.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.05027/0.4208, allocations: 8.623 MB / 484.5 MB, free: 28.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4209, allocations: 112.5 kB / 484.6 MB, free: 28.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.4217, allocations: 0.6261 MB / 485.3 MB, free: 27.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.4218, allocations: 35.23 kB / 485.3 MB, free: 27.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.422, allocations: 362.6 kB / 485.7 MB, free: 27.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.4222, allocations: 246.8 kB / 485.9 MB, free: 27.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.4223, allocations: 14.12 kB / 485.9 MB, free: 27.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4224, allocations: 391.5 kB / 486.3 MB, free: 27.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.4238, allocations: 0.5393 MB / 486.8 MB, free: 27.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.4254, allocations: 0.731 MB / 487.6 MB, free: 27.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.427, allocations: 0.5983 MB / 488.2 MB, free: 27.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.427, allocations: 3.125 kB / 488.2 MB, free: 27.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004052/0.4311, allocations: 1.626 MB / 489.8 MB, free: 26.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004892/0.4316, allocations: 2.008 MB / 491.8 MB, free: 24.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.4316, allocations: 10.09 kB / 491.8 MB, free: 24.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/0.4432, allocations: 1.667 MB / 493.5 MB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.4447, allocations: 272.6 kB / 493.7 MB, free: 24.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.4469, allocations: 1.673 MB / 495.4 MB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.4485, allocations: 135.8 kB / 495.5 MB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.4487, allocations: 62.03 kB / 495.6 MB, free: 23.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4487, allocations: 4.406 kB / 495.6 MB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00445/0.4532, allocations: 1.521 MB / 497.1 MB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.4532, allocations: 5.812 kB / 497.1 MB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/0.4559, allocations: 0.5006 MB / 497.6 MB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.4573, allocations: 284.2 kB / 497.9 MB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.4612, allocations: 3.025 MB / 0.4892 GB, free: 20.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.4628, allocations: 139.6 kB / 0.4893 GB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.463, allocations: 58.05 kB / 0.4894 GB, free: 20.17 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 (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 {1 10,3 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005431/0.4635, allocations: 294.2 kB / 0.4897 GB, free: 19.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.4637, allocations: 80.03 kB / 0.4897 GB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/0.4688, allocations: 1.928 MB / 0.4916 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.4689, allocations: 9.797 kB / 0.4916 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4689, allocations: 1.531 kB / 0.4916 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.4689, allocations: 4.5 kB / 0.4916 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007771/0.4767, allocations: 3.043 MB / 0.4946 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.4767, allocations: 4 kB / 0.4946 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.4777, allocations: 199.9 kB / 0.4948 GB, free: 17.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008/0.4857, allocations: 1.399 MB / 0.4962 GB, free: 17.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.4859, allocations: 35.86 kB / 0.4962 GB, free: 17.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.4876, allocations: 1.62 MB / 0.4978 GB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4876, allocations: 0 / 0.4978 GB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006034/0.4936, allocations: 2.35 MB / 0.5001 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/0.4942, allocations: 288.5 kB / 0.5004 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.4944, allocations: 16.31 kB / 0.5004 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.4957, allocations: 130.7 kB / 0.5005 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.4958, allocations: 65.77 kB / 0.5006 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.4959, allocations: 44.45 kB / 0.5006 GB, free: 14.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005477/0.4965, allocations: 445.9 kB / 0.501 GB, free: 14.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4965, allocations: 4 kB / 0.501 GB, free: 14.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002125/0.4986, allocations: 0.5973 MB / 0.5016 GB, free: 14.58 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 (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 6,3 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/0.4998, allocations: 386.8 kB / 0.502 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006211/0.506, allocations: 2.255 MB / 0.5042 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.506, allocations: 0 / 0.5042 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.5079, allocations: 0.7219 MB / 0.5049 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.5098, allocations: 357.9 kB / 0.5052 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.5133, allocations: 2.038 MB / 0.5072 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.5137, allocations: 0.9875 MB / 0.5082 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001637/0.5154, allocations: 287.8 kB / 0.5085 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.5159, allocations: 98.09 kB / 0.5086 GB, free: 10.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.516, allocations: 0 / 0.5086 GB, free: 10.39 MB / 382.1 MB Notification: Performance of Templates: time 0.04612/0.5621, allocations: 29.37 MB / 0.5372 GB, free: 15.34 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) Environment - environmentSimulation: