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.001299/0.001299, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001452/0.001452, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.323/1.323, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 179] 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.2804/0.2804, allocations: 49.6 MB / 337.2 MB, free: 3.984 MB / 270.1 MB " [Timeout remaining time 180] 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.002223/0.002223, allocations: 71.91 kB / 477.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1133, allocations: 62.43 MB / 0.5274 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.392/0.5053, allocations: 139.3 MB / 0.6634 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.5191, allocations: 8.856 MB / 0.6721 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.5196, allocations: 7.938 kB / 0.6721 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.5201, allocations: 103.2 kB / 0.6722 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005955/0.5261, allocations: 2.092 MB / 0.6742 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007229/0.5333, allocations: 2.568 MB / 0.6767 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002503/0.5358, allocations: 2.234 MB / 0.6789 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.5368, allocations: 0.6015 MB / 0.6795 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.5379, allocations: 0.7096 MB / 0.6802 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/0.541, allocations: 1.558 MB / 0.6817 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.5413, allocations: 120 kB / 0.6818 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/0.5516, allocations: 5.721 MB / 0.6874 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007497/0.5524, allocations: 0.6236 MB / 0.688 GB, free: 100 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008526/0.5532, allocations: 0.6113 MB / 0.6886 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0079/0.5611, allocations: 4.524 MB / 0.693 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5611, allocations: 0 / 0.693 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5612, allocations: 0 / 0.693 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.5612, allocations: 0 / 0.693 GB, free: 10.95 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.00567/0.5668, allocations: 1.945 MB / 0.6949 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5669, allocations: 8.031 kB / 0.695 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.5693, allocations: 288.1 kB / 0.6952 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.5706, allocations: 0.5989 MB / 0.6958 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.5706, allocations: 78.38 kB / 0.6959 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.5709, allocations: 132.4 kB / 0.696 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/0.5744, allocations: 1.762 MB / 0.6977 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.5744, allocations: 3.938 kB / 0.6977 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.5745, allocations: 44 kB / 0.6978 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.5745, allocations: 20 kB / 0.6978 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003717/0.5783, allocations: 1.83 MB / 0.6996 GB, free: 4.164 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.006762/0.585, allocations: 3.619 MB / 0.7031 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005211/0.5902, allocations: 2.358 MB / 0.7054 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.5919, allocations: 1.006 MB / 0.7064 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03984/0.6317, allocations: 11.31 MB / 0.7175 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.6318, allocations: 56.56 kB / 0.7175 GB, free: 1.742 MB / 0.545 GB Notification: Performance of pre-optimization done (n=207): time 4.067e-06/0.6318, allocations: 0 / 0.7175 GB, free: 1.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=207): time 0.01431/0.6461, allocations: 4.953 MB / 0.7223 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.6462, allocations: 73.41 kB / 0.7224 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000454/0.6466, allocations: 333.7 kB / 0.7227 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.6468, allocations: 65.7 kB / 0.7228 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.647, allocations: 211.5 kB / 0.723 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007504/0.6477, allocations: 0.7706 MB / 0.7237 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005426/0.6483, allocations: 343.6 kB / 0.7241 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6484, allocations: 333.9 kB / 0.7244 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.6501, allocations: 0.9369 MB / 0.7253 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.652, allocations: 1.203 MB / 0.7265 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/0.6557, allocations: 2.157 MB / 0.7286 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6557, allocations: 0 / 0.7286 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005737/0.6614, allocations: 3.18 MB / 0.7317 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.6614, allocations: 8 kB / 0.7317 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.6615, allocations: 0 / 0.7317 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/0.674, allocations: 2.654 MB / 0.7343 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.6753, allocations: 235.7 kB / 0.7345 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00801/0.6833, allocations: 4.111 MB / 0.7385 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.6845, allocations: 147 kB / 0.7387 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.6847, allocations: 71.97 kB / 0.7387 GB, free: 11.81 MB / 0.5762 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.0006712/0.6854, allocations: 333.6 kB / 0.7391 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.6857, allocations: 107.4 kB / 0.7392 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/0.7002, allocations: 9.158 MB / 0.7481 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/0.7003, allocations: 119.8 kB / 0.7482 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.453e-05/0.7003, allocations: 7.938 kB / 0.7482 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.372e-05/0.7003, allocations: 11.95 kB / 0.7482 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.716, allocations: 10.3 MB / 0.7583 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.7161, allocations: 0 / 0.7583 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002785/0.7188, allocations: 0.5112 MB / 0.7588 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005266/0.7241, allocations: 2.133 MB / 0.7609 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003286/0.7244, allocations: 83.89 kB / 0.761 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2307/0.9552, allocations: 19.65 MB / 0.7801 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9552, allocations: 0 / 0.7801 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/0.9696, allocations: 9.912 MB / 0.7898 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.9709, allocations: 0.5941 MB / 0.7904 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.9712, allocations: 75.64 kB / 0.7905 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.9723, allocations: 75.12 kB / 0.7906 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004931/0.9728, allocations: 193.9 kB / 0.7907 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.973, allocations: 80.48 kB / 0.7908 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003896/0.9733, allocations: 300.1 kB / 0.7911 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.9733, allocations: 1.125 kB / 0.7911 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003229/0.9766, allocations: 1.275 MB / 0.7923 GB, free: 189.1 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: 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.003406/0.98, allocations: 1.066 MB / 0.7934 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008002/0.988, allocations: 3.941 MB / 0.7972 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.988, allocations: 4.906 kB / 0.7972 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005168/0.9932, allocations: 3.519 MB / 0.8007 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/0.9966, allocations: 0.7439 MB / 0.8014 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008538/1.005, allocations: 7.445 MB / 0.8087 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/1.006, allocations: 1.064 MB / 0.8097 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004832/1.006, allocations: 113 kB / 0.8098 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.212e-06/1.006, allocations: 4 kB / 0.8098 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.07487/1.081, allocations: 100.1 MB / 0.9076 GB, free: 84.12 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: 13.647520615719259] Failed to read output from testmodel.py, exit status != 0: 1.0893850340507925 1.097519772 0.5340982919999999 Calling exit ...