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.001579/0.001579, allocations: 109.5 kB / 16.51 MB, free: 6.715 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.001681/0.001681, allocations: 186.5 kB / 17.42 MB, free: 6.074 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.437/1.437, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3062/0.3062, allocations: 48.84 MB / 319.5 MB, free: 11.31 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.001323/0.001323, allocations: 68.02 kB / 389.4 MB, free: 49.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 59.16 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.08166/0.1922, allocations: 83.5 MB / 0.5196 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2697/0.462, allocations: 12 MB / 0.5313 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.4638, allocations: 38.59 kB / 0.5313 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.4653, allocations: 323.4 kB / 0.5316 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.4674, allocations: 0.655 MB / 0.5323 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01543/0.4828, allocations: 4.517 MB / 0.5367 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004006/0.4869, allocations: 2.206 MB / 0.5388 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000983/0.4879, allocations: 0.493 MB / 0.5393 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.4907, allocations: 1.212 MB / 0.5405 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.4918, allocations: 0.7553 MB / 0.5412 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.64e-05/0.4919, allocations: 39.16 kB / 0.5413 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01586/0.5078, allocations: 6.432 MB / 0.5475 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.5082, allocations: 146.8 kB / 0.5477 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009715/0.5092, allocations: 447.9 kB / 0.5481 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.5218, allocations: 4.368 MB / 0.5524 GB, free: 4.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.5218, allocations: 0 / 0.5524 GB, free: 4.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5219, allocations: 4 kB / 0.5524 GB, free: 4.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.5219, allocations: 2.219 kB / 0.5524 GB, free: 4.98 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.00603/0.5279, allocations: 1.64 MB / 0.554 GB, free: 4.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.528, allocations: 7.438 kB / 0.554 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.5284, allocations: 128 kB / 0.5541 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.5291, allocations: 0.5283 MB / 0.5546 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.5293, allocations: 138.1 kB / 0.5548 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.5294, allocations: 70.31 kB / 0.5548 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.5309, allocations: 0.7854 MB / 0.5556 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.5309, allocations: 0 / 0.5556 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/0.531, allocations: 32.41 kB / 0.5556 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.531, allocations: 15.56 kB / 0.5556 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.5324, allocations: 0.5775 MB / 0.5562 GB, free: 3.285 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.003058/0.5354, allocations: 3.636 MB / 0.5598 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.5368, allocations: 0.5242 MB / 0.5603 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.5372, allocations: 208.2 kB / 0.5605 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06385/0.6011, allocations: 32.11 MB / 0.5918 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.6012, allocations: 39.38 kB / 0.5919 GB, free: 5.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 2.916e-06/0.6012, allocations: 0 / 0.5919 GB, free: 5.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.00569/0.6069, allocations: 1.451 MB / 0.5933 GB, free: 4.109 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.6069, allocations: 59.84 kB / 0.5933 GB, free: 4.039 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007859/0.6077, allocations: 0.5724 MB / 0.5939 GB, free: 3.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.6078, allocations: 36.95 kB / 0.5939 GB, free: 3.555 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.608, allocations: 353.5 kB / 0.5943 GB, free: 3.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.6082, allocations: 184.5 kB / 0.5944 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.6084, allocations: 106.3 kB / 0.5945 GB, free: 3.102 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.6086, allocations: 386.9 kB / 0.5949 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.609, allocations: 172.1 kB / 0.5951 GB, free: 2.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.6095, allocations: 281.6 kB / 0.5953 GB, free: 2.367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009672/0.6105, allocations: 471.2 kB / 0.5958 GB, free: 2.023 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6105, allocations: 0 / 0.5958 GB, free: 2.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002098/0.6126, allocations: 0.7606 MB / 0.5965 GB, free: 1.438 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.6127, allocations: 8 kB / 0.5965 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.6127, allocations: 4 kB / 0.5966 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.6142, allocations: 306.5 kB / 0.5968 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.6147, allocations: 98.09 kB / 0.5969 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.6165, allocations: 1.893 MB / 0.5988 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007241/0.6172, allocations: 98.19 kB / 0.5989 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.6173, allocations: 33.36 kB / 0.5989 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005431/0.6179, allocations: 286.1 kB / 0.5992 GB, free: 14.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004366/0.6183, allocations: 263.5 kB / 0.5994 GB, free: 14.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007893/0.6191, allocations: 442.9 kB / 0.5999 GB, free: 14.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.908e-06/0.6191, allocations: 4 kB / 0.5999 GB, free: 14.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001565/0.6207, allocations: 0.6969 MB / 0.6005 GB, free: 13.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6207, allocations: 11.94 kB / 0.6006 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6207, allocations: 0 / 0.6006 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005487/0.6213, allocations: 174.5 kB / 0.6007 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.6217, allocations: 109.5 kB / 0.6008 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00534/0.6271, allocations: 4.929 MB / 0.6056 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.6279, allocations: 89.22 kB / 0.6057 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.6279, allocations: 22.31 kB / 0.6057 GB, free: 8.645 MB / 462.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002528/0.6282, allocations: 211.2 kB / 0.6059 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.6284, allocations: 75.06 kB / 0.606 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.6309, allocations: 1.514 MB / 0.6075 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.6309, allocations: 15.8 kB / 0.6075 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6309, allocations: 0 / 0.6075 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.6309, allocations: 3.984 kB / 0.6075 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.632, allocations: 0.819 MB / 0.6083 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.632, allocations: 0 / 0.6083 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.6324, allocations: 81.05 kB / 0.6084 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.6341, allocations: 1.04 MB / 0.6094 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.6341, allocations: 17.11 kB / 0.6094 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.6363, allocations: 2.509 MB / 0.6119 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6363, allocations: 4.031 kB / 0.6119 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.6392, allocations: 1.845 MB / 0.6137 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.6396, allocations: 200 kB / 0.6139 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.6397, allocations: 23.66 kB / 0.6139 GB, free: 2.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005358/0.6403, allocations: 61.73 kB / 0.614 GB, free: 2.121 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.6404, allocations: 36.31 kB / 0.614 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.6405, allocations: 23.25 kB / 0.614 GB, free: 2.074 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004839/0.641, allocations: 389.9 kB / 0.6144 GB, free: 1.781 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.641, allocations: 0 / 0.6144 GB, free: 1.781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005207/0.6462, allocations: 1.168 MB / 0.6155 GB, free: 0.6719 MB / 462.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,8), (2,8), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007228/0.6534, allocations: 1.063 MB / 0.6166 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002983/0.6564, allocations: 1.262 MB / 0.6178 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6564, allocations: 0 / 0.6178 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.6575, allocations: 450.5 kB / 0.6182 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.6596, allocations: 365.7 kB / 0.6186 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.6631, allocations: 2.055 MB / 0.6206 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/0.6637, allocations: 0.9829 MB / 0.6215 GB, free: 10.94 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006413/0.6644, allocations: 197.7 kB / 0.6217 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.6645, allocations: 43.44 kB / 0.6218 GB, free: 10.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6645, allocations: 4 kB / 0.6218 GB, free: 10.7 MB / 478.1 MB Notification: Performance of Templates: time 0.05893/0.7234, allocations: 42.71 MB / 0.6635 GB, free: 72 kB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.makefile (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)