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.0008809/0.0008808, allocations: 99.86 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.0009765/0.0009764, 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.274/1.274, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.2782/0.2782, allocations: 39.99 MB / 310.4 MB, free: 10.04 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.0005107/0.0005109, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1009, allocations: 57.96 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.01932/0.1202, allocations: 18.27 MB / 455 MB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1811/0.3014, allocations: 7.454 MB / 462.5 MB, free: 34.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000909/0.3023, allocations: 35.34 kB / 462.5 MB, free: 34.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009768/0.3033, allocations: 376.6 kB / 462.9 MB, free: 34.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.3058, allocations: 0.9566 MB / 463.8 MB, free: 34.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004492/0.3103, allocations: 1.874 MB / 465.7 MB, free: 34.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.3119, allocations: 1.05 MB / 466.8 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006231/0.3125, allocations: 0.5291 MB / 467.3 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000764/0.3133, allocations: 0.5999 MB / 467.9 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.3138, allocations: 0.4984 MB / 468.4 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.3139, allocations: 45.28 kB / 468.4 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.3151, allocations: 0.5864 MB / 469 MB, free: 33.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.3152, allocations: 182.6 kB / 469.2 MB, free: 33.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3154, allocations: 174.5 kB / 469.4 MB, free: 33.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008464/0.3162, allocations: 1.014 MB / 470.4 MB, free: 33.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.3162, allocations: 0 / 470.4 MB, free: 33.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3162, allocations: 0 / 470.4 MB, free: 33.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.3163, allocations: 0 / 470.4 MB, free: 33.78 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.001898/0.3182, allocations: 1.08 MB / 471.5 MB, free: 33.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3182, allocations: 9.219 kB / 471.5 MB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/0.3185, allocations: 104.1 kB / 471.6 MB, free: 33.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/0.3192, allocations: 0.5434 MB / 472.1 MB, free: 32.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.3192, allocations: 43.06 kB / 472.2 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.419e-05/0.3193, allocations: 52.84 kB / 472.2 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.3205, allocations: 0.8211 MB / 473 MB, free: 32.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.3205, allocations: 0 / 473 MB, free: 32.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/0.3206, allocations: 31.39 kB / 473.1 MB, free: 32.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.3206, allocations: 22.69 kB / 473.1 MB, free: 32.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.3219, allocations: 0.7857 MB / 473.9 MB, free: 32.61 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.003457/0.3254, allocations: 3.638 MB / 477.5 MB, free: 30.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009276/0.3263, allocations: 496.1 kB / 478 MB, free: 30.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.3265, allocations: 0.5694 MB / 478.6 MB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.3266, allocations: 40.44 kB / 478.6 MB, free: 29.81 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004842/0.3271, allocations: 126.9 kB / 478.7 MB, free: 29.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.3271, allocations: 3.984 kB / 478.7 MB, free: 29.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.04797/0.375, allocations: 8.62 MB / 487.4 MB, free: 28.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.3751, allocations: 110 kB / 487.5 MB, free: 27.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/0.3758, allocations: 0.6305 MB / 488.1 MB, free: 27.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.744e-05/0.3759, allocations: 44.8 kB / 488.1 MB, free: 27.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3761, allocations: 359.5 kB / 488.5 MB, free: 27.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.3763, allocations: 240.7 kB / 488.7 MB, free: 27.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.3764, allocations: 19 kB / 488.7 MB, free: 27.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.3765, allocations: 385.8 kB / 489.1 MB, free: 26.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.3778, allocations: 0.5446 MB / 489.7 MB, free: 26.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.3792, allocations: 0.7289 MB / 490.4 MB, free: 26.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.3807, allocations: 0.598 MB / 491 MB, free: 26.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3807, allocations: 0 / 491 MB, free: 26.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003851/0.3845, allocations: 1.628 MB / 492.6 MB, free: 25.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003027/0.3848, allocations: 2.011 MB / 494.6 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3849, allocations: 5.469 kB / 494.6 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/0.3957, allocations: 1.657 MB / 496.3 MB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.3971, allocations: 269.7 kB / 496.6 MB, free: 23.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.3991, allocations: 1.682 MB / 498.2 MB, free: 21.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4005, allocations: 135.3 kB / 498.4 MB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.4007, allocations: 66.94 kB / 498.4 MB, free: 21.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.4007, allocations: 2.719 kB / 498.4 MB, free: 21.78 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003967/0.4047, allocations: 1.523 MB / 500 MB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.4047, allocations: 4.906 kB / 500 MB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/0.4072, allocations: 0.5096 MB / 0.4887 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.4085, allocations: 280.5 kB / 0.489 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.4118, allocations: 3.022 MB / 0.492 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.4131, allocations: 132.4 kB / 0.4921 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.4133, allocations: 63.02 kB / 0.4922 GB, free: 18.59 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.0004537/0.4137, allocations: 289 kB / 0.4924 GB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.4139, allocations: 88.45 kB / 0.4925 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004408/0.4183, allocations: 1.922 MB / 0.4944 GB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.4183, allocations: 11.19 kB / 0.4944 GB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4183, allocations: 0 / 0.4944 GB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.4184, allocations: 11.5 kB / 0.4944 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006647/0.425, allocations: 3.04 MB / 0.4974 GB, free: 16.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.425, allocations: 2.062 kB / 0.4974 GB, free: 16.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009716/0.426, allocations: 196.5 kB / 0.4976 GB, free: 16.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007477/0.4335, allocations: 1.41 MB / 0.4989 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.826e-05/0.4336, allocations: 28.5 kB / 0.499 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.4352, allocations: 1.617 MB / 0.5006 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4352, allocations: 0 / 0.5006 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/0.4407, allocations: 2.35 MB / 0.5028 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.4411, allocations: 293.1 kB / 0.5031 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.4413, allocations: 16.56 kB / 0.5031 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.4424, allocations: 142.3 kB / 0.5033 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.4426, allocations: 64.7 kB / 0.5033 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/0.4426, allocations: 44.33 kB / 0.5034 GB, free: 12.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004828/0.4431, allocations: 445.2 kB / 0.5038 GB, free: 12.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4431, allocations: 3.938 kB / 0.5038 GB, free: 12.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001841/0.445, allocations: 0.5936 MB / 0.5044 GB, free: 12.59 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.0009228/0.4459, allocations: 384.5 kB / 0.5048 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005417/0.4513, allocations: 2.258 MB / 0.507 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4514, allocations: 0 / 0.507 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.453, allocations: 0.7154 MB / 0.5077 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.4545, allocations: 360.4 kB / 0.508 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.4571, allocations: 2.047 MB / 0.51 GB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.4575, allocations: 0.9873 MB / 0.511 GB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001087/0.4586, allocations: 277.7 kB / 0.5112 GB, free: 8.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.4589, allocations: 99.5 kB / 0.5113 GB, free: 8.391 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4589, allocations: 0 / 0.5113 GB, free: 8.391 MB / 382.1 MB Notification: Performance of Templates: time 0.03656/0.4954, allocations: 29.37 MB / 0.54 GB, free: 11.9 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: