Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.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.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001291/0.001291, 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.348/1.348, allocations: 205.1 MB / 223.3 MB, free: 12.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.296/0.296, 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.001345/0.001345, allocations: 64.3 kB / 389.4 MB, free: 49.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1179, allocations: 59.16 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4542/0.5722, allocations: 159.5 MB / 0.5938 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.5857, allocations: 10.62 MB / 0.6042 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.5862, allocations: 13.91 kB / 0.6042 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.5868, allocations: 82.61 kB / 0.6042 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006451/0.5934, allocations: 1.679 MB / 0.6059 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00804/0.6015, allocations: 2.107 MB / 0.6079 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.6038, allocations: 2.427 MB / 0.6103 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005377/0.6044, allocations: 474.8 kB / 0.6108 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000634/0.605, allocations: 0.5138 MB / 0.6113 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003161/0.6082, allocations: 1.53 MB / 0.6128 GB, free: 408 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.6084, allocations: 53.22 kB / 0.6128 GB, free: 408 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/0.6197, allocations: 5.841 MB / 0.6185 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007521/0.6205, allocations: 0.5182 MB / 0.619 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009096/0.6214, allocations: 0.5835 MB / 0.6196 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.6317, allocations: 4.346 MB / 0.6238 GB, free: 7.309 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6317, allocations: 0 / 0.6238 GB, free: 7.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6318, allocations: 0 / 0.6238 GB, free: 7.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.6318, allocations: 4 kB / 0.6238 GB, free: 7.305 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.005561/0.6373, allocations: 1.837 MB / 0.6256 GB, free: 5.414 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.6374, allocations: 8.031 kB / 0.6256 GB, free: 5.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.6399, allocations: 279.5 kB / 0.6259 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.6408, allocations: 0.6082 MB / 0.6265 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/0.6409, allocations: 70.38 kB / 0.6266 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.641, allocations: 92.56 kB / 0.6267 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003271/0.6443, allocations: 1.667 MB / 0.6283 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.6444, allocations: 0 / 0.6283 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.6445, allocations: 40 kB / 0.6283 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.6445, allocations: 28 kB / 0.6284 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003332/0.6479, allocations: 1.686 MB / 0.63 GB, free: 0.8555 MB / 446.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.007113/0.655, allocations: 5.614 MB / 0.6355 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003918/0.6589, allocations: 2.041 MB / 0.6375 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.6604, allocations: 0.9554 MB / 0.6384 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04221/0.7026, allocations: 20.05 MB / 0.658 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.28e-05/0.7027, allocations: 57.19 kB / 0.658 GB, free: 1.555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 1.393e-05/0.7028, allocations: 3.984 kB / 0.658 GB, free: 1.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=180): time 0.06611/0.7689, allocations: 14.66 MB / 0.6724 GB, free: 2.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.769, allocations: 69.41 kB / 0.6724 GB, free: 2.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.7696, allocations: 453.9 kB / 0.6729 GB, free: 2.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.7697, allocations: 49.7 kB / 0.6729 GB, free: 2.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.7699, allocations: 269.9 kB / 0.6732 GB, free: 1.996 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006156/0.7705, allocations: 0.6083 MB / 0.6738 GB, free: 1.379 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004689/0.771, allocations: 295.4 kB / 0.674 GB, free: 1.082 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.7712, allocations: 334 kB / 0.6744 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.7725, allocations: 0.7417 MB / 0.6751 GB, free: 8 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.7739, allocations: 0.9548 MB / 0.676 GB, free: 15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/0.7768, allocations: 1.882 MB / 0.6778 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.7768, allocations: 4 kB / 0.6779 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005124/0.7819, allocations: 2.749 MB / 0.6805 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.782, allocations: 4.562 kB / 0.6805 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.782, allocations: 12 kB / 0.6806 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/0.7935, allocations: 2.231 MB / 0.6827 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/0.7944, allocations: 163.8 kB / 0.6829 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006517/0.8009, allocations: 3.533 MB / 0.6863 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.8021, allocations: 150.5 kB / 0.6865 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.8022, allocations: 71.95 kB / 0.6866 GB, free: 4.109 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(36,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0006499/0.8029, allocations: 329.5 kB / 0.6869 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.8032, allocations: 98.88 kB / 0.687 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.8153, allocations: 9.375 MB / 0.6961 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/0.8154, allocations: 127.8 kB / 0.6962 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.8155, allocations: 0 / 0.6962 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.8155, allocations: 11.95 kB / 0.6962 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.8283, allocations: 10.77 MB / 0.7068 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.8284, allocations: 8.031 kB / 0.7068 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/0.829, allocations: 123.7 kB / 0.7069 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/0.8421, allocations: 4.989 MB / 0.7118 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/0.8425, allocations: 55.97 kB / 0.7118 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.8526, allocations: 7.874 MB / 0.7195 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8527, allocations: 0 / 0.7195 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009707/0.8624, allocations: 7.535 MB / 0.7269 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.8637, allocations: 0.6098 MB / 0.7275 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.8639, allocations: 55.75 kB / 0.7275 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009107/0.8648, allocations: 91.7 kB / 0.7276 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.8651, allocations: 133.8 kB / 0.7277 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.8653, allocations: 75.97 kB / 0.7278 GB, free: 9.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005513/0.8658, allocations: 414.8 kB / 0.7282 GB, free: 9.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8658, allocations: 0 / 0.7282 GB, free: 9.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004034/0.8699, allocations: 1.195 MB / 0.7294 GB, free: 7.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 37 ($cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(36,147)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004552/0.8745, allocations: 1.011 MB / 0.7303 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007085/0.8816, allocations: 3.389 MB / 0.7337 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8816, allocations: 0 / 0.7337 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005106/0.8867, allocations: 2.697 MB / 0.7363 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2145/1.101, allocations: 0.7207 MB / 0.737 GB, free: 225.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009535/1.111, allocations: 6.288 MB / 0.7431 GB, free: 223.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/1.112, allocations: 1.592 MB / 0.7447 GB, free: 222.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001125/1.113, allocations: 396.5 kB / 0.7451 GB, free: 222.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/1.114, allocations: 71.61 kB / 0.7451 GB, free: 222.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.453e-06/1.114, allocations: 0 / 0.7451 GB, free: 222.5 MB / 0.545 GB Notification: Performance of Templates: time 0.09145/1.205, allocations: 71.08 MB / 0.8145 GB, free: 165.9 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1)