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.001108/0.001107, allocations: 91.86 kB / 16.31 MB, free: 5.672 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.001452/0.001452, allocations: 182.9 kB / 17.21 MB, free: 5.59 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.566/1.566, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4678/0.4678, allocations: 48.77 MB / 320.4 MB, free: 3.812 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: Performance of FrontEnd - loaded program: time 0.0005281/0.0005283, allocations: 12 kB / 391.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1394, allocations: 60.27 MB / 451.4 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.3411/0.4806, allocations: 76.8 MB / 0.5159 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.4973, allocations: 10.56 MB / 0.5262 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.4987, allocations: 31.31 kB / 0.5262 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.5001, allocations: 303.4 kB / 0.5265 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.5026, allocations: 0.6984 MB / 0.5272 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01693/0.5196, allocations: 4.249 MB / 0.5313 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003287/0.5229, allocations: 1.89 MB / 0.5332 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009763/0.5239, allocations: 456.7 kB / 0.5336 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/0.5278, allocations: 2.05 MB / 0.5356 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.5294, allocations: 0.9113 MB / 0.5365 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.5296, allocations: 36 kB / 0.5365 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.5448, allocations: 6.133 MB / 0.5425 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.5452, allocations: 127.4 kB / 0.5426 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.5458, allocations: 197.2 kB / 0.5428 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007491/0.5533, allocations: 2.912 MB / 0.5457 GB, free: 1.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5534, allocations: 0 / 0.5457 GB, free: 1.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5534, allocations: 0 / 0.5457 GB, free: 1.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.5534, allocations: 0 / 0.5457 GB, free: 1.961 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.004666/0.5581, allocations: 1.497 MB / 0.5471 GB, free: 428 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5581, allocations: 12.03 kB / 0.5471 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.5585, allocations: 130.8 kB / 0.5473 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.5593, allocations: 0.5061 MB / 0.5478 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.5595, allocations: 139.1 kB / 0.5479 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-05/0.5596, allocations: 68 kB / 0.548 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.561, allocations: 0.7834 MB / 0.5487 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.5611, allocations: 1.312 kB / 0.5487 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.5611, allocations: 32 kB / 0.5488 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.5612, allocations: 16 kB / 0.5488 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.5624, allocations: 0.5906 MB / 0.5493 GB, free: 14.05 MB / 430.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.004/0.5665, allocations: 3.657 MB / 0.5529 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.5677, allocations: 0.5325 MB / 0.5534 GB, free: 9.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.5682, allocations: 218.1 kB / 0.5536 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05857/0.6267, allocations: 32.43 MB / 0.5853 GB, free: 4.996 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.6268, allocations: 43.56 kB / 0.5854 GB, free: 4.945 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 7.965e-06/0.6269, allocations: 0 / 0.5854 GB, free: 4.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=53): time 0.005139/0.632, allocations: 1.491 MB / 0.5868 GB, free: 3.387 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.6321, allocations: 55.84 kB / 0.5869 GB, free: 3.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008886/0.633, allocations: 0.5669 MB / 0.5874 GB, free: 2.746 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.53e-05/0.6331, allocations: 37.7 kB / 0.5875 GB, free: 2.703 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.6334, allocations: 348.4 kB / 0.5878 GB, free: 2.355 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.6335, allocations: 185.2 kB / 0.588 GB, free: 2.172 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.6336, allocations: 12 kB / 0.588 GB, free: 2.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6338, allocations: 382.8 kB / 0.5883 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.6342, allocations: 173 kB / 0.5885 GB, free: 1.609 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.6346, allocations: 273.2 kB / 0.5888 GB, free: 1.301 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.6351, allocations: 198.1 kB / 0.589 GB, free: 1.109 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6351, allocations: 0 / 0.589 GB, free: 1.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001843/0.6369, allocations: 0.7581 MB / 0.5897 GB, free: 340 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.6371, allocations: 169.7 kB / 0.5899 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.6371, allocations: 4 kB / 0.5899 GB, free: 124 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.6385, allocations: 295.2 kB / 0.5901 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.6389, allocations: 103.8 kB / 0.5902 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.6407, allocations: 1.895 MB / 0.5921 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.6415, allocations: 103.4 kB / 0.5922 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.6415, allocations: 27.98 kB / 0.5922 GB, free: 13.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.6416, allocations: 4 kB / 0.5922 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001355/0.6429, allocations: 0.6294 MB / 0.5928 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6429, allocations: 4 kB / 0.5928 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005015/0.6435, allocations: 170.8 kB / 0.593 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.6439, allocations: 114.6 kB / 0.5931 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/0.6492, allocations: 4.93 MB / 0.5979 GB, free: 7.367 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/0.65, allocations: 103.4 kB / 0.598 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.65, allocations: 27.98 kB / 0.5981 GB, free: 7.238 MB / 478.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.0004319/0.6505, allocations: 261.9 kB / 0.5983 GB, free: 6.973 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.6506, allocations: 75.88 kB / 0.5984 GB, free: 6.898 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.6529, allocations: 1.534 MB / 0.5999 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.653, allocations: 15.98 kB / 0.5999 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.653, allocations: 0 / 0.5999 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.653, allocations: 3.984 kB / 0.5999 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009477/0.6539, allocations: 0.8075 MB / 0.6007 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.6539, allocations: 0 / 0.6007 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.6543, allocations: 78.27 kB / 0.6008 GB, free: 4.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/0.656, allocations: 1.04 MB / 0.6018 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.656, allocations: 8 kB / 0.6018 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.6586, allocations: 2.527 MB / 0.6043 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6586, allocations: 0 / 0.6043 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.6614, allocations: 1.856 MB / 0.6061 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.6617, allocations: 211.7 kB / 0.6063 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.6618, allocations: 15.95 kB / 0.6063 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.6622, allocations: 63.8 kB / 0.6063 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.6624, allocations: 36.5 kB / 0.6064 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.6624, allocations: 19.98 kB / 0.6064 GB, free: 14.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005092/0.6629, allocations: 391.1 kB / 0.6068 GB, free: 14.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6629, allocations: 0 / 0.6068 GB, free: 14.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004145/0.6671, allocations: 1.171 MB / 0.6079 GB, free: 12.95 MB / 494.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.004164/0.6713, allocations: 1.016 MB / 0.6089 GB, free: 11.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002608/0.6739, allocations: 1.284 MB / 0.6102 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6739, allocations: 0 / 0.6102 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000946/0.6749, allocations: 469.4 kB / 0.6106 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.6767, allocations: 364.6 kB / 0.611 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.6797, allocations: 2.062 MB / 0.613 GB, free: 7.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.6802, allocations: 0.9829 MB / 0.6139 GB, free: 6.703 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005946/0.6808, allocations: 193.8 kB / 0.6141 GB, free: 6.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.6809, allocations: 47.44 kB / 0.6142 GB, free: 6.469 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6809, allocations: 0 / 0.6142 GB, free: 6.469 MB / 494.1 MB Notification: Performance of Templates: time 0.2972/0.978, allocations: 42.77 MB / 0.6559 GB, free: 162.3 MB / 0.4981 GB 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: