Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008747/0.0008746, allocations: 95.62 kB / 15.05 MB, free: 1.113 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.0009226/0.0009227, allocations: 181.3 kB / 15.95 MB, free: 220 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.277/1.277, allocations: 205.4 MB / 222.1 MB, free: 5.418 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.2785/0.2785, allocations: 40 MB / 310.4 MB, free: 9.859 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.0004849/0.000485, allocations: 12 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09455, allocations: 57.97 MB / 436.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault): time 0.1893/0.2839, allocations: 35.4 MB / 472.2 MB, free: 33.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.3001, allocations: 17.35 MB / 489.5 MB, free: 22.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007608/0.3009, allocations: 25.12 kB / 489.6 MB, free: 22.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3019, allocations: 433.1 kB / 490 MB, free: 21.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009374/0.3113, allocations: 4.081 MB / 494.1 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007237/0.3186, allocations: 2.925 MB / 497 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.3203, allocations: 1.003 MB / 498 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004771/0.3208, allocations: 375.8 kB / 498.4 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.3218, allocations: 0.6461 MB / 499 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008273/0.3301, allocations: 5.833 MB / 0.493 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.3303, allocations: 31.16 kB / 0.493 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/0.3445, allocations: 7.561 MB / 0.5004 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.3449, allocations: 150.3 kB / 0.5006 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.3452, allocations: 175.9 kB / 0.5007 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007638/0.3528, allocations: 3.56 MB / 0.5042 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3529, allocations: 5.281 kB / 0.5042 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3529, allocations: 0 / 0.5042 GB, free: 14.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.3529, allocations: 0 / 0.5042 GB, free: 14.16 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005219/0.3581, allocations: 1.539 MB / 0.5057 GB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.3582, allocations: 8.531 kB / 0.5057 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.3604, allocations: 311.4 kB / 0.506 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000739/0.3611, allocations: 0.5137 MB / 0.5065 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.3612, allocations: 50.53 kB / 0.5066 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.3613, allocations: 51.25 kB / 0.5066 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.3634, allocations: 0.9926 MB / 0.5076 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3634, allocations: 1.562 kB / 0.5076 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.3635, allocations: 26.44 kB / 0.5076 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.3635, allocations: 21.22 kB / 0.5076 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.3657, allocations: 0.9171 MB / 0.5085 GB, free: 11.37 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.004386/0.3701, allocations: 4.833 MB / 0.5132 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.3722, allocations: 0.7616 MB / 0.514 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04608/0.4183, allocations: 24.43 MB / 0.5378 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.4184, allocations: 42.56 kB / 0.5379 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/0.4184, allocations: 0 / 0.5379 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.006646/0.425, allocations: 1.826 MB / 0.5397 GB, free: 11.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.4251, allocations: 110.8 kB / 0.5398 GB, free: 11.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.4257, allocations: 0.5144 MB / 0.5403 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/0.4258, allocations: 33.7 kB / 0.5403 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.4261, allocations: 332.1 kB / 0.5406 GB, free: 10.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.4262, allocations: 149.8 kB / 0.5408 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.4262, allocations: 12 kB / 0.5408 GB, free: 10.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4264, allocations: 366.8 kB / 0.5411 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006097/0.427, allocations: 265 kB / 0.5414 GB, free: 9.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007072/0.4277, allocations: 451.2 kB / 0.5418 GB, free: 9.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.4284, allocations: 301.5 kB / 0.5421 GB, free: 8.738 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.4284, allocations: 4 kB / 0.5421 GB, free: 8.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001848/0.4302, allocations: 0.8806 MB / 0.543 GB, free: 7.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006757/0.4309, allocations: 2.007 MB / 0.5449 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4309, allocations: 11.12 kB / 0.5449 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.4327, allocations: 352.5 kB / 0.5453 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.4333, allocations: 135.8 kB / 0.5454 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.4344, allocations: 0.8426 MB / 0.5462 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.4352, allocations: 119.4 kB / 0.5463 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.4353, allocations: 41.11 kB / 0.5464 GB, free: 4.168 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.4353, allocations: 4 kB / 0.5464 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001948/0.4372, allocations: 0.8202 MB / 0.5472 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4372, allocations: 8 kB / 0.5472 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000922/0.4382, allocations: 216.7 kB / 0.5474 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.4387, allocations: 143.8 kB / 0.5475 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009259/0.4396, allocations: 0.7865 MB / 0.5483 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006459/0.4403, allocations: 111.4 kB / 0.5484 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.4404, allocations: 35.98 kB / 0.5484 GB, free: 2.02 MB / 414.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: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003956/0.4408, allocations: 284.9 kB / 0.5487 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.4409, allocations: 59.34 kB / 0.5488 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003946/0.4448, allocations: 3.125 MB / 0.5518 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.895e-05/0.4449, allocations: 47.91 kB / 0.5519 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4449, allocations: 4 kB / 0.5519 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4449, allocations: 0 / 0.5519 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.4466, allocations: 1.486 MB / 0.5533 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4466, allocations: 0 / 0.5533 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.4469, allocations: 87.88 kB / 0.5534 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/0.449, allocations: 1.061 MB / 0.5544 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.4491, allocations: 15.98 kB / 0.5545 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.4508, allocations: 1.493 MB / 0.5559 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4508, allocations: 4.031 kB / 0.5559 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.4536, allocations: 2.102 MB / 0.558 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/0.4541, allocations: 332.3 kB / 0.5583 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4542, allocations: 12 kB / 0.5583 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.4547, allocations: 83.77 kB / 0.5584 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.4549, allocations: 44.48 kB / 0.5584 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.4549, allocations: 27.98 kB / 0.5584 GB, free: 7.629 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005493/0.4555, allocations: 467 kB / 0.5589 GB, free: 7.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4555, allocations: 3.938 kB / 0.5589 GB, free: 7.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005014/0.4605, allocations: 1.358 MB / 0.5602 GB, free: 5.812 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.005413/0.4659, allocations: 1.359 MB / 0.5616 GB, free: 4.449 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002838/0.4688, allocations: 1.411 MB / 0.5629 GB, free: 3.043 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4688, allocations: 3.938 kB / 0.5629 GB, free: 3.039 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.4699, allocations: 0.8162 MB / 0.5637 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.4715, allocations: 313.1 kB / 0.564 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.4749, allocations: 2.936 MB / 0.5669 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.4755, allocations: 1.162 MB / 0.568 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001032/0.4765, allocations: 0.7608 MB / 0.5688 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.4767, allocations: 59.42 kB / 0.5688 GB, free: 12.95 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4767, allocations: 0 / 0.5688 GB, free: 12.95 MB / 446.1 MB Notification: Performance of Templates: time 0.06253/0.5392, allocations: 49.05 MB / 0.6167 GB, free: 11.88 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) Environment - environmentSimulation: