Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001142/0.001142, allocations: 100 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.001161/0.001162, allocations: 177.3 kB / 15.95 MB, free: 216 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.836/1.836, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3765/0.3765, allocations: 38.03 MB / 308.4 MB, free: 10.37 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.0008939/0.0008941, allocations: 20 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1435, allocations: 57.51 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault): time 0.3093/0.4528, allocations: 35.4 MB / 469.3 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02022/0.4731, allocations: 17.36 MB / 486.7 MB, free: 24.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.4749, allocations: 25.53 kB / 486.7 MB, free: 24.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.4766, allocations: 422 kB / 487.1 MB, free: 24.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01431/0.4909, allocations: 4.084 MB / 491.2 MB, free: 22.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01024/0.5012, allocations: 2.929 MB / 494.1 MB, free: 21.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.5034, allocations: 1.003 MB / 495.1 MB, free: 20.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006959/0.5041, allocations: 376.5 kB / 495.5 MB, free: 20.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.5055, allocations: 0.6437 MB / 496.2 MB, free: 20.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.5158, allocations: 5.833 MB / 0.4902 GB, free: 19.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.5161, allocations: 32 kB / 0.4903 GB, free: 19.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01982/0.5359, allocations: 7.556 MB / 0.4976 GB, free: 17.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00042/0.5364, allocations: 150.6 kB / 0.4978 GB, free: 17.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005322/0.5369, allocations: 171.7 kB / 0.4979 GB, free: 17.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.5503, allocations: 3.563 MB / 0.5014 GB, free: 16.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5504, allocations: 9.031 kB / 0.5014 GB, free: 16.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.509e-06/0.5504, allocations: 0 / 0.5014 GB, free: 16.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.5504, allocations: 0 / 0.5014 GB, free: 16.95 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.008181/0.5586, allocations: 1.539 MB / 0.5029 GB, free: 16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.5587, allocations: 9.062 kB / 0.5029 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.5612, allocations: 315.4 kB / 0.5032 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/0.5622, allocations: 0.5115 MB / 0.5037 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.766e-05/0.5623, allocations: 47.06 kB / 0.5038 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.5624, allocations: 56.12 kB / 0.5038 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.5649, allocations: 0.988 MB / 0.5048 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.5649, allocations: 5.109 kB / 0.5048 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.28e-05/0.565, allocations: 35.42 kB / 0.5048 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-05/0.565, allocations: 21 kB / 0.5049 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.5677, allocations: 0.9119 MB / 0.5058 GB, free: 14.73 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.005648/0.5733, allocations: 4.838 MB / 0.5105 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.5757, allocations: 0.7505 MB / 0.5112 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05144/0.6271, allocations: 24.43 MB / 0.5351 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.6272, allocations: 38.56 kB / 0.5351 GB, free: 1.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 5.951e-06/0.6272, allocations: 7.984 kB / 0.5351 GB, free: 1.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.00725/0.6345, allocations: 1.826 MB / 0.5369 GB, free: 72 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.6346, allocations: 110.8 kB / 0.537 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008375/0.6355, allocations: 0.5145 MB / 0.5375 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/0.6356, allocations: 33.7 kB / 0.5375 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.6358, allocations: 332 kB / 0.5379 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.636, allocations: 141.9 kB / 0.538 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.6361, allocations: 12 kB / 0.538 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.6362, allocations: 370.7 kB / 0.5384 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.6369, allocations: 272.9 kB / 0.5386 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007556/0.6376, allocations: 443.3 kB / 0.539 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/0.6384, allocations: 297.5 kB / 0.5393 GB, free: 13.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.6384, allocations: 11.88 kB / 0.5393 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002071/0.6404, allocations: 0.8806 MB / 0.5402 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009398/0.6414, allocations: 2.015 MB / 0.5422 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.6414, allocations: 8 kB / 0.5422 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.6434, allocations: 356.5 kB / 0.5425 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.6439, allocations: 131.8 kB / 0.5426 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.6451, allocations: 0.8451 MB / 0.5435 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/0.646, allocations: 123.3 kB / 0.5436 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/0.6461, allocations: 35.17 kB / 0.5436 GB, free: 8.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6461, allocations: 4 kB / 0.5436 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002073/0.6482, allocations: 0.824 MB / 0.5444 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.6482, allocations: 8 kB / 0.5444 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009891/0.6492, allocations: 216.7 kB / 0.5446 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.6497, allocations: 143.8 kB / 0.5448 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.6508, allocations: 0.7865 MB / 0.5455 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/0.6516, allocations: 103.5 kB / 0.5456 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.6516, allocations: 31.98 kB / 0.5457 GB, free: 6.73 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.0005366/0.6522, allocations: 293.9 kB / 0.5459 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.6523, allocations: 67.23 kB / 0.546 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004454/0.6568, allocations: 3.112 MB / 0.549 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-05/0.6568, allocations: 43.92 kB / 0.5491 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6569, allocations: 4 kB / 0.5491 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.6569, allocations: 3.984 kB / 0.5491 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.6589, allocations: 1.486 MB / 0.5505 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6589, allocations: 0 / 0.5505 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.6593, allocations: 88.75 kB / 0.5506 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/0.6615, allocations: 1.065 MB / 0.5517 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.6615, allocations: 15.98 kB / 0.5517 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.6634, allocations: 1.489 MB / 0.5531 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6634, allocations: 0 / 0.5531 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.6667, allocations: 2.11 MB / 0.5552 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/0.6674, allocations: 330.7 kB / 0.5555 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.6675, allocations: 15.06 kB / 0.5555 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.6681, allocations: 83.77 kB / 0.5556 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.6683, allocations: 44.48 kB / 0.5557 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.6684, allocations: 23.98 kB / 0.5557 GB, free: 12.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006406/0.669, allocations: 471 kB / 0.5561 GB, free: 11.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.943e-06/0.669, allocations: 0 / 0.5561 GB, free: 11.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007626/0.6767, allocations: 1.362 MB / 0.5575 GB, free: 10.51 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.01054/0.6872, allocations: 1.361 MB / 0.5588 GB, free: 9.152 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003283/0.6905, allocations: 1.41 MB / 0.5602 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.6906, allocations: 0 / 0.5602 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.6918, allocations: 0.8162 MB / 0.561 GB, free: 6.938 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.6937, allocations: 314.5 kB / 0.5613 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.6976, allocations: 2.94 MB / 0.5641 GB, free: 3.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.6983, allocations: 1.158 MB / 0.5653 GB, free: 2.473 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001248/0.6996, allocations: 0.7617 MB / 0.566 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.6997, allocations: 59.42 kB / 0.5661 GB, free: 1.656 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6998, allocations: 0 / 0.5661 GB, free: 1.656 MB / 430.1 MB Notification: Performance of Templates: time 0.07557/0.7753, allocations: 49.06 MB / 0.614 GB, free: 0.5664 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) Environment - environmentSimulation: