Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3324/0.3324, allocations: 49.57 MB / 337.1 MB, free: 4.113 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 76.45 kB / 477.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.147, allocations: 62.43 MB / 0.5274 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.4949/0.6418, allocations: 161.6 MB / 0.6851 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.6561, allocations: 10.02 MB / 0.6949 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004377/0.6565, allocations: 11.88 kB / 0.6949 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.657, allocations: 107.2 kB / 0.695 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006287/0.6632, allocations: 2.095 MB / 0.6971 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008495/0.6717, allocations: 2.604 MB / 0.6996 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.6747, allocations: 2.238 MB / 0.7018 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.676, allocations: 0.6053 MB / 0.7024 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.6775, allocations: 0.7018 MB / 0.7031 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003865/0.6814, allocations: 1.574 MB / 0.7046 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000419/0.6818, allocations: 123.9 kB / 0.7047 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01349/0.6953, allocations: 5.975 MB / 0.7106 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009913/0.6963, allocations: 0.6313 MB / 0.7112 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.6979, allocations: 0.6927 MB / 0.7119 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.709, allocations: 4.508 MB / 0.7163 GB, free: 3.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.709, allocations: 0 / 0.7163 GB, free: 3.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.455e-06/0.709, allocations: 0 / 0.7163 GB, free: 3.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.07e-05/0.7091, allocations: 0 / 0.7163 GB, free: 3.789 MB / 0.545 GB 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.007695/0.7168, allocations: 1.961 MB / 0.7182 GB, free: 1.793 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.7168, allocations: 8.031 kB / 0.7182 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/0.7196, allocations: 288.1 kB / 0.7185 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.721, allocations: 0.5911 MB / 0.719 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.7212, allocations: 74.38 kB / 0.7191 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000353/0.7215, allocations: 140.5 kB / 0.7192 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004198/0.7257, allocations: 1.757 MB / 0.721 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.7257, allocations: 3.938 kB / 0.721 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.7259, allocations: 36 kB / 0.721 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.7259, allocations: 24 kB / 0.721 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003968/0.7299, allocations: 1.846 MB / 0.7228 GB, free: 12.98 MB / 0.5606 GB 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.008253/0.7381, allocations: 4.634 MB / 0.7273 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00559/0.7437, allocations: 2.357 MB / 0.7296 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.7455, allocations: 0.9983 MB / 0.7306 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04172/0.7872, allocations: 11.28 MB / 0.7416 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.621e-05/0.7873, allocations: 48.56 kB / 0.7417 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=207): time 4.268e-06/0.7873, allocations: 4 kB / 0.7417 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=207): time 0.01725/0.8045, allocations: 4.953 MB / 0.7465 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.8046, allocations: 77.34 kB / 0.7466 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.8052, allocations: 389.7 kB / 0.747 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003762/0.8056, allocations: 65.7 kB / 0.747 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.8058, allocations: 207.5 kB / 0.7472 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/0.807, allocations: 0.7706 MB / 0.748 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008109/0.8078, allocations: 339.6 kB / 0.7483 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.808, allocations: 337.9 kB / 0.7486 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.8099, allocations: 0.9369 MB / 0.7495 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.8121, allocations: 1.095 MB / 0.7506 GB, free: 156 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004217/0.8163, allocations: 2.161 MB / 0.7527 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.8163, allocations: 0 / 0.7527 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006493/0.8228, allocations: 3.184 MB / 0.7558 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.8229, allocations: 11.94 kB / 0.7558 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.8229, allocations: 0 / 0.7558 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01339/0.8363, allocations: 2.667 MB / 0.7584 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.8377, allocations: 239.7 kB / 0.7587 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008461/0.8462, allocations: 4.095 MB / 0.7627 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.8476, allocations: 162.8 kB / 0.7628 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/0.8479, allocations: 71.95 kB / 0.7629 GB, free: 3.539 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (84): * Single equations (assignments): 83 * 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,117)} Notification: Performance of prepare postOptimizeDAE: time 0.0007681/0.8486, allocations: 337.6 kB / 0.7632 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/0.849, allocations: 107.4 kB / 0.7633 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3274/1.176, allocations: 9.05 MB / 0.7722 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001374/1.177, allocations: 116.9 kB / 0.7723 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/1.177, allocations: 3.75 kB / 0.7723 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/1.177, allocations: 12.84 kB / 0.7723 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/1.193, allocations: 10.83 MB / 0.7829 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/1.193, allocations: 6.844 kB / 0.7829 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/1.196, allocations: 0.5068 MB / 0.7834 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005397/1.202, allocations: 2.178 MB / 0.7855 GB, free: 200 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005869/1.202, allocations: 78.83 kB / 0.7856 GB, free: 200 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01557/1.218, allocations: 19.88 MB / 0.805 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.218, allocations: 0.7031 kB / 0.805 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/1.236, allocations: 9.861 MB / 0.8146 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/1.238, allocations: 0.5942 MB / 0.8152 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/1.238, allocations: 79.59 kB / 0.8153 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/1.239, allocations: 84.2 kB / 0.8154 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003974/1.24, allocations: 179.1 kB / 0.8155 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.24, allocations: 84.91 kB / 0.8156 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003804/1.24, allocations: 376 kB / 0.816 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.24, allocations: 7.656 kB / 0.816 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003261/1.244, allocations: 1.268 MB / 0.8172 GB, free: 177.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 27 (coolingTower.M[1],coolingTower.M[2],coolingTower.M[3],coolingTower.M[4],coolingTower.M[5],coolingTower.M[6],coolingTower.M[7],coolingTower.M[8],coolingTower.M[9],coolingTower.hltilde[1],coolingTower.hltilde[2],coolingTower.hltilde[3],coolingTower.hltilde[4],coolingTower.hltilde[5],coolingTower.hltilde[6],coolingTower.hltilde[7],coolingTower.hltilde[8],coolingTower.hltilde[9],coolingTower.Tp[1],coolingTower.Tp[2],coolingTower.Tp[3],coolingTower.Tp[4],coolingTower.Tp[5],coolingTower.Tp[6],coolingTower.Tp[7],coolingTower.Tp[8],coolingTower.Tp[9]) * 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 (210): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 39 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0031/1.247, allocations: 1.074 MB / 0.8183 GB, free: 177 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006866/1.254, allocations: 3.898 MB / 0.8221 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.254, allocations: 4 kB / 0.8221 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004316/1.258, allocations: 3.488 MB / 0.8255 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.261, allocations: 0.7879 MB / 0.8262 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00738/1.269, allocations: 7.395 MB / 0.8335 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/1.269, allocations: 1.647 MB / 0.8351 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/1.27, allocations: 115.4 kB / 0.8352 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/1.27, allocations: 0 / 0.8352 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.07637/1.346, allocations: 99.79 MB / 0.9326 GB, free: 59.64 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.226392450043932] Failed to read output from testmodel.py, exit status != 0: 1.355424711946398 1.363488427 0.65214978 Calling exit ...