Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 94.08 kB / 16.3 MB, free: 5.996 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.001783/0.001783, allocations: 179.8 kB / 17.2 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 223.3 MB, free: 13.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2688/0.2688, allocations: 48.77 MB / 320.4 MB, free: 11.33 MB / 270.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: Performance of FrontEnd - loaded program: time 0.0005667/0.0005669, allocations: 14.16 kB / 391.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.09952, allocations: 60.28 MB / 451.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.06568/0.1652, allocations: 69.1 MB / 0.5083 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.1782, allocations: 9.845 MB / 0.5179 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008233/0.1791, allocations: 35.75 kB / 0.518 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009767/0.1801, allocations: 302.4 kB / 0.5182 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.1818, allocations: 0.6348 MB / 0.5189 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01438/0.1962, allocations: 4.344 MB / 0.5231 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002196/0.1984, allocations: 1.054 MB / 0.5241 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008611/0.1993, allocations: 468.5 kB / 0.5246 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003303/0.2026, allocations: 1.926 MB / 0.5265 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.2038, allocations: 0.7829 MB / 0.5272 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.535e-05/0.2039, allocations: 32 kB / 0.5273 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2552/0.4591, allocations: 6.306 MB / 0.5334 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.4595, allocations: 130.3 kB / 0.5335 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.4599, allocations: 194.9 kB / 0.5337 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008083/0.468, allocations: 2.901 MB / 0.5366 GB, free: 14.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.468, allocations: 0 / 0.5366 GB, free: 14.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.468, allocations: 1.469 kB / 0.5366 GB, free: 14.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.468, allocations: 3.844 kB / 0.5366 GB, free: 14.92 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006642/0.4747, allocations: 1.484 MB / 0.538 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.4748, allocations: 9.188 kB / 0.538 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005032/0.4753, allocations: 127.5 kB / 0.5381 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000842/0.4761, allocations: 0.5075 MB / 0.5386 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.4763, allocations: 141.8 kB / 0.5388 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.4764, allocations: 69.19 kB / 0.5388 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.478, allocations: 0.7821 MB / 0.5396 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.478, allocations: 1.156 kB / 0.5396 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-05/0.4781, allocations: 29.33 kB / 0.5396 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.4781, allocations: 18.39 kB / 0.5397 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.4794, allocations: 0.5911 MB / 0.5402 GB, free: 13.57 MB / 414.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.003582/0.483, allocations: 3.656 MB / 0.5438 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.4844, allocations: 0.5294 MB / 0.5443 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06631/0.5508, allocations: 32.43 MB / 0.576 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.5508, allocations: 38 kB / 0.576 GB, free: 5.285 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.965e-06/0.5509, allocations: 0 / 0.576 GB, free: 5.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.004753/0.5556, allocations: 1.48 MB / 0.5775 GB, free: 4.578 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.5557, allocations: 56.81 kB / 0.5775 GB, free: 4.516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.5564, allocations: 0.563 MB / 0.5781 GB, free: 20.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.5565, allocations: 35.67 kB / 0.5781 GB, free: 20.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.5567, allocations: 355.1 kB / 0.5784 GB, free: 20.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.5568, allocations: 188.4 kB / 0.5786 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.5569, allocations: 14.53 kB / 0.5786 GB, free: 19.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.557, allocations: 379.8 kB / 0.579 GB, free: 19.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.5574, allocations: 170.5 kB / 0.5792 GB, free: 19.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.5579, allocations: 271.6 kB / 0.5794 GB, free: 19.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.5583, allocations: 205.8 kB / 0.5796 GB, free: 19.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.5583, allocations: 0 / 0.5796 GB, free: 19.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001672/0.56, allocations: 0.7524 MB / 0.5804 GB, free: 19.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004295/0.5604, allocations: 1.135 MB / 0.5815 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.5604, allocations: 5.781 kB / 0.5815 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.5617, allocations: 292.3 kB / 0.5817 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.5621, allocations: 103.9 kB / 0.5818 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.5637, allocations: 1.885 MB / 0.5837 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.5644, allocations: 112.7 kB / 0.5838 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.5645, allocations: 34.8 kB / 0.5838 GB, free: 16.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.5645, allocations: 3.219 kB / 0.5838 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001309/0.5658, allocations: 0.6237 MB / 0.5844 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5659, allocations: 6.219 kB / 0.5844 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.5663, allocations: 173.3 kB / 0.5846 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.5668, allocations: 111.8 kB / 0.5847 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004822/0.5716, allocations: 4.972 MB / 0.5896 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/0.5723, allocations: 102.7 kB / 0.5897 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.5724, allocations: 19.31 kB / 0.5897 GB, free: 11.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003893/0.5728, allocations: 268 kB / 0.5899 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.5729, allocations: 81.77 kB / 0.59 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.575, allocations: 1.529 MB / 0.5915 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.575, allocations: 14.36 kB / 0.5915 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.575, allocations: 1.641 kB / 0.5915 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.575, allocations: 3.984 kB / 0.5915 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009066/0.5759, allocations: 0.8199 MB / 0.5923 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5759, allocations: 288 / 0.5923 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.5763, allocations: 82.14 kB / 0.5924 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.5778, allocations: 1.034 MB / 0.5934 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.5779, allocations: 20.59 kB / 0.5934 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.5798, allocations: 2.509 MB / 0.5959 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5798, allocations: 0 / 0.5959 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.5823, allocations: 1.865 MB / 0.5977 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.5827, allocations: 207.3 kB / 0.5979 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.229e-05/0.5828, allocations: 16.92 kB / 0.5979 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/0.5833, allocations: 66.36 kB / 0.598 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.5834, allocations: 37.44 kB / 0.598 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.5834, allocations: 16.81 kB / 0.598 GB, free: 7.297 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004296/0.5839, allocations: 389.9 kB / 0.5984 GB, free: 7.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5839, allocations: 0 / 0.5984 GB, free: 7.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005511/0.5894, allocations: 1.167 MB / 0.5996 GB, free: 5.895 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 8,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.006401/0.5958, allocations: 1.02 MB / 0.6006 GB, free: 4.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.5986, allocations: 1.29 MB / 0.6018 GB, free: 3.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5986, allocations: 0 / 0.6018 GB, free: 3.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009835/0.5996, allocations: 464.1 kB / 0.6023 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.6015, allocations: 355.2 kB / 0.6026 GB, free: 3.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.6042, allocations: 2.05 MB / 0.6046 GB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.6047, allocations: 1.002 MB / 0.6056 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005634/0.6053, allocations: 201.7 kB / 0.6058 GB, free: 216 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.6054, allocations: 50 kB / 0.6058 GB, free: 172 kB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6054, allocations: 0 / 0.6058 GB, free: 172 kB / 446.1 MB Notification: Performance of Templates: time 0.06036/0.6658, allocations: 42.75 MB / 0.6476 GB, free: 5.598 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe 2>&1) Environment - environmentSimulation: