Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001346/0.001346, allocations: 78.8 kB / 21.28 MB, free: 0.5195 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.00154/0.00154, allocations: 164.2 kB / 24.54 MB, free: 3.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 177.2 MB / 204.9 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1388/0.1388, allocations: 19.71 MB / 281 MB, free: 13.06 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002087/0.002087, allocations: 67.91 kB / 417.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2747, allocations: 60.46 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.1853/0.4599, allocations: 142.1 MB / 0.6057 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.4727, allocations: 8.86 MB / 0.6143 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.473, allocations: 3.938 kB / 0.6143 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.4734, allocations: 103.2 kB / 0.6144 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005938/0.4794, allocations: 2.097 MB / 0.6165 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006945/0.4863, allocations: 2.567 MB / 0.619 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002408/0.4887, allocations: 2.238 MB / 0.6212 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007681/0.4895, allocations: 0.6092 MB / 0.6218 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.4907, allocations: 0.9516 MB / 0.6227 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003417/0.4941, allocations: 1.562 MB / 0.6242 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002043/0.4944, allocations: 120 kB / 0.6243 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/0.5051, allocations: 5.728 MB / 0.6299 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000784/0.5059, allocations: 0.6274 MB / 0.6305 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008929/0.5068, allocations: 0.6113 MB / 0.6311 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007924/0.5147, allocations: 4.536 MB / 0.6356 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.5147, allocations: 0 / 0.6356 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5147, allocations: 0 / 0.6356 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.626e-05/0.5148, allocations: 0 / 0.6356 GB, free: 4.945 MB / 0.5294 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.006167/0.5209, allocations: 1.945 MB / 0.6375 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.521, allocations: 8.031 kB / 0.6375 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.5235, allocations: 292 kB / 0.6377 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.5247, allocations: 0.5872 MB / 0.6383 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.5247, allocations: 82.38 kB / 0.6384 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.5251, allocations: 128.2 kB / 0.6385 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/0.5288, allocations: 1.765 MB / 0.6402 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.5288, allocations: 4 kB / 0.6402 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.5289, allocations: 43.98 kB / 0.6403 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1956/0.7246, allocations: 24.55 kB / 0.6403 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004637/0.7292, allocations: 1.818 MB / 0.6421 GB, free: 168.5 MB / 0.5294 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.005873/0.7351, allocations: 3.613 MB / 0.6456 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004719/0.7398, allocations: 2.36 MB / 0.6479 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.7411, allocations: 1.002 MB / 0.6489 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03515/0.7762, allocations: 11.75 MB / 0.6604 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.7762, allocations: 56.5 kB / 0.6604 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=207): time 4.238e-06/0.7763, allocations: 3.938 kB / 0.6604 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=207): time 0.0121/0.7884, allocations: 4.949 MB / 0.6653 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.7884, allocations: 77.41 kB / 0.6653 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.7886, allocations: 331.7 kB / 0.6657 GB, free: 149 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.7888, allocations: 69.7 kB / 0.6657 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.7889, allocations: 213.5 kB / 0.6659 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/0.7893, allocations: 0.77 MB / 0.6667 GB, free: 148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004206/0.7897, allocations: 339.6 kB / 0.667 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.7897, allocations: 334 kB / 0.6673 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.7909, allocations: 0.933 MB / 0.6682 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.7923, allocations: 1.203 MB / 0.6694 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.795, allocations: 2.165 MB / 0.6715 GB, free: 143 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.795, allocations: 0 / 0.6715 GB, free: 143 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004308/0.7993, allocations: 3.18 MB / 0.6746 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.7993, allocations: 4 kB / 0.6746 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.7993, allocations: 2.938 kB / 0.6746 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/0.8107, allocations: 2.659 MB / 0.6772 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.8118, allocations: 235.7 kB / 0.6775 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005271/0.8171, allocations: 4.099 MB / 0.6815 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.8181, allocations: 149.9 kB / 0.6816 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.8183, allocations: 71.97 kB / 0.6817 GB, free: 132.6 MB / 0.5294 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.0004613/0.8187, allocations: 333.6 kB / 0.682 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.819, allocations: 103.4 kB / 0.6821 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009964/0.8289, allocations: 9.176 MB / 0.691 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.909e-05/0.829, allocations: 115.8 kB / 0.6912 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.829, allocations: 0 / 0.6912 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/0.829, allocations: 19.88 kB / 0.6912 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.8394, allocations: 10.29 MB / 0.7012 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.8394, allocations: 3.984 kB / 0.7012 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/0.8419, allocations: 0.5151 MB / 0.7017 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004264/0.8462, allocations: 2.127 MB / 0.7038 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/0.8464, allocations: 91.94 kB / 0.7039 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.8565, allocations: 19.66 MB / 0.7231 GB, free: 88.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8565, allocations: 3.844 kB / 0.7231 GB, free: 88.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.8673, allocations: 9.921 MB / 0.7328 GB, free: 78.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008596/0.8682, allocations: 0.5903 MB / 0.7334 GB, free: 78.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.8684, allocations: 71.94 kB / 0.7334 GB, free: 78.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.8695, allocations: 71.94 kB / 0.7335 GB, free: 77.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003313/0.8698, allocations: 193.9 kB / 0.7337 GB, free: 77.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.8699, allocations: 79.97 kB / 0.7338 GB, free: 77.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002464/0.8702, allocations: 303.1 kB / 0.7341 GB, free: 77.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8702, allocations: 0 / 0.7341 GB, free: 77.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002472/0.8727, allocations: 1.287 MB / 0.7353 GB, free: 76.13 MB / 0.5294 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: 38 ($cse6.region3boundary,$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 (212): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 41 * 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.002958/0.8756, allocations: 1.072 MB / 0.7364 GB, free: 75.13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006576/0.8822, allocations: 3.927 MB / 0.7402 GB, free: 71.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.8822, allocations: 0 / 0.7402 GB, free: 71.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004342/0.8865, allocations: 3.526 MB / 0.7436 GB, free: 67.51 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.8893, allocations: 0.7397 MB / 0.7444 GB, free: 66.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007253/0.8965, allocations: 7.405 MB / 0.7516 GB, free: 59.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/0.8972, allocations: 1.074 MB / 0.7526 GB, free: 58.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.8977, allocations: 112.5 kB / 0.7528 GB, free: 58.13 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/0.8977, allocations: 0 / 0.7528 GB, free: 58.13 MB / 0.5294 GB Notification: Performance of Templates: time 0.09306/0.9908, allocations: 100.8 MB / 0.8512 GB, free: 5.234 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.797101548872888] Failed to read output from testmodel.py, exit status != 0: 1.0004164997953922 1.170177883 0.652978501 Calling exit ...