Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009295/0.0009294, 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.001013/0.001013, 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.249/1.249, 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.2+maint.om/package.mo): time 0.2655/0.2655, allocations: 40 MB / 310.4 MB, free: 9.605 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.0009131/0.0009132, allocations: 20 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1171, allocations: 57.95 MB / 436.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.1851/0.3022, allocations: 35.41 MB / 472.2 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.3186, allocations: 17.36 MB / 489.5 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007071/0.3194, allocations: 29.09 kB / 489.6 MB, free: 22.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3204, allocations: 425.8 kB / 490 MB, free: 22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009011/0.3295, allocations: 4.077 MB / 494.1 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006546/0.336, allocations: 2.93 MB / 497 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.3373, allocations: 1.024 MB / 498 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/0.3378, allocations: 380.8 kB / 498.4 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009316/0.3387, allocations: 0.6416 MB / 499 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008321/0.3471, allocations: 5.833 MB / 0.493 GB, free: 16.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.3473, allocations: 31.16 kB / 0.4931 GB, free: 16.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/0.361, allocations: 7.557 MB / 0.5004 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.3613, allocations: 158.8 kB / 0.5006 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.3617, allocations: 171.9 kB / 0.5007 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007241/0.3689, allocations: 3.567 MB / 0.5042 GB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.369, allocations: 0 / 0.5042 GB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.369, allocations: 0 / 0.5042 GB, free: 14.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.369, allocations: 0 / 0.5042 GB, free: 14.26 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.005131/0.3741, allocations: 1.548 MB / 0.5057 GB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3742, allocations: 12.75 kB / 0.5058 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.3764, allocations: 307.8 kB / 0.506 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007413/0.3771, allocations: 0.5136 MB / 0.5066 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/0.3772, allocations: 54.05 kB / 0.5066 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.804e-05/0.3773, allocations: 57.81 kB / 0.5067 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.3794, allocations: 0.9964 MB / 0.5076 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.3795, allocations: 5.125 kB / 0.5076 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.3795, allocations: 23.19 kB / 0.5077 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.3796, allocations: 20.41 kB / 0.5077 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.3818, allocations: 0.9155 MB / 0.5086 GB, free: 11.45 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.003825/0.3856, allocations: 4.571 MB / 0.513 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.3879, allocations: 0.789 MB / 0.5138 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1083/0.4962, allocations: 56.34 MB / 0.5688 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.4963, allocations: 42.94 kB / 0.5689 GB, free: 9.914 MB / 446.1 MB Notification: Performance of pre-optimization done (n=48): time 1.964e-06/0.4963, allocations: 0 / 0.5689 GB, free: 9.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.006803/0.5031, allocations: 2.311 MB / 0.5711 GB, free: 7.547 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.5032, allocations: 107.2 kB / 0.5712 GB, free: 7.418 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.5038, allocations: 0.5106 MB / 0.5717 GB, free: 6.898 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.5039, allocations: 29.7 kB / 0.5718 GB, free: 6.863 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.5041, allocations: 324.1 kB / 0.5721 GB, free: 6.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.5043, allocations: 181.4 kB / 0.5722 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.5044, allocations: 20 kB / 0.5723 GB, free: 6.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5045, allocations: 366.8 kB / 0.5726 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/0.5051, allocations: 281.1 kB / 0.5729 GB, free: 5.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.5059, allocations: 442.1 kB / 0.5733 GB, free: 5.199 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.5066, allocations: 322 kB / 0.5736 GB, free: 4.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5066, allocations: 4 kB / 0.5736 GB, free: 4.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002394/0.509, allocations: 0.9984 MB / 0.5746 GB, free: 3.871 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006023/0.5096, allocations: 1.745 MB / 0.5763 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.5097, allocations: 5.562 kB / 0.5763 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/0.512, allocations: 476.3 kB / 0.5767 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.5125, allocations: 135.8 kB / 0.5769 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.5139, allocations: 0.9308 MB / 0.5778 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/0.5146, allocations: 87.94 kB / 0.5779 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.5147, allocations: 35.98 kB / 0.5779 GB, free: 316 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.5147, allocations: 4 kB / 0.5779 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002452/0.5172, allocations: 0.931 MB / 0.5788 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5172, allocations: 8 kB / 0.5788 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.5186, allocations: 340.8 kB / 0.5791 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.5191, allocations: 135.8 kB / 0.5793 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.5204, allocations: 0.8904 MB / 0.5801 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006477/0.521, allocations: 91.81 kB / 0.5802 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.5211, allocations: 33.67 kB / 0.5803 GB, free: 13.86 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003587/0.5215, allocations: 288.9 kB / 0.5805 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.5216, allocations: 63.25 kB / 0.5806 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003633/0.5252, allocations: 2.927 MB / 0.5835 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.5253, allocations: 51.86 kB / 0.5835 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5253, allocations: 0 / 0.5835 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.5253, allocations: 3.984 kB / 0.5835 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004833/0.5302, allocations: 4.113 MB / 0.5875 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.5302, allocations: 7.938 kB / 0.5875 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/0.5309, allocations: 167.8 kB / 0.5877 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003431/0.5313, allocations: 77.47 kB / 0.5878 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.5313, allocations: 12 kB / 0.5878 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006266/0.532, allocations: 1.185 MB / 0.5889 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.532, allocations: 0 / 0.5889 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003366/0.5354, allocations: 2.605 MB / 0.5915 GB, free: 2.211 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.5359, allocations: 330.8 kB / 0.5918 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.536, allocations: 13.06 kB / 0.5918 GB, free: 1.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.5366, allocations: 75.89 kB / 0.5919 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.5367, allocations: 52.48 kB / 0.5919 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.5368, allocations: 23.98 kB / 0.592 GB, free: 1.707 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005616/0.5373, allocations: 467 kB / 0.5924 GB, free: 1.246 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5373, allocations: 0 / 0.5924 GB, free: 1.246 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00497/0.5423, allocations: 1.328 MB / 0.5937 GB, free: 15.91 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00697/0.5493, allocations: 1.378 MB / 0.595 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003447/0.5528, allocations: 1.503 MB / 0.5965 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.5528, allocations: 0 / 0.5965 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.5543, allocations: 0.8716 MB / 0.5974 GB, free: 12.17 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.5562, allocations: 318.7 kB / 0.5977 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.5602, allocations: 3.146 MB / 0.6007 GB, free: 8.688 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.5609, allocations: 1.162 MB / 0.6019 GB, free: 7.496 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001135/0.562, allocations: 0.7151 MB / 0.6026 GB, free: 6.777 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.5622, allocations: 67.42 kB / 0.6026 GB, free: 6.711 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5622, allocations: 3.938 kB / 0.6026 GB, free: 6.707 MB / 478.1 MB Notification: Performance of Templates: time 0.2093/0.7715, allocations: 49.47 MB / 0.6509 GB, free: 150 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) Environment - environmentSimulation: