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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 123.4 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002328/0.002328, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.481/1.481, allocations: 207.6 MB / 231.8 MB, free: 3.992 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4233/0.4233, allocations: 49.51 MB / 333.2 MB, free: 0.7656 MB / 254.1 MB " [Timeout remaining time 179] 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.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.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.002171/0.002171, allocations: 66.56 kB / 471.9 MB, free: 40.8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1319, allocations: 62.34 MB / 0.5218 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.6183/0.7502, allocations: 161.3 MB / 0.6793 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.7619, allocations: 9.969 MB / 0.689 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.7623, allocations: 6.719 kB / 0.6891 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004667/0.7628, allocations: 107.4 kB / 0.6892 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005721/0.7685, allocations: 2.094 MB / 0.6912 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009552/0.7781, allocations: 2.594 MB / 0.6937 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002772/0.7808, allocations: 2.23 MB / 0.6959 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009127/0.7818, allocations: 0.6018 MB / 0.6965 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009182/0.7827, allocations: 0.7005 MB / 0.6972 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003681/0.7864, allocations: 1.586 MB / 0.6987 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.7866, allocations: 116.5 kB / 0.6988 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01445/0.801, allocations: 5.963 MB / 0.7047 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.802, allocations: 0.6249 MB / 0.7053 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.8031, allocations: 0.6888 MB / 0.7059 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.8149, allocations: 4.516 MB / 0.7104 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.8149, allocations: 4 kB / 0.7104 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8149, allocations: 2.906 kB / 0.7104 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.537e-05/0.8149, allocations: 0 / 0.7104 GB, free: 9.445 MB / 0.5137 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.006967/0.8219, allocations: 2.02 MB / 0.7123 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.822, allocations: 14.11 kB / 0.7124 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.8246, allocations: 286.2 kB / 0.7126 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.8258, allocations: 0.6522 MB / 0.7133 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.8258, allocations: 79.16 kB / 0.7133 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/0.8261, allocations: 140.4 kB / 0.7135 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/0.8297, allocations: 1.757 MB / 0.7152 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.8297, allocations: 4 kB / 0.7152 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.8298, allocations: 40.97 kB / 0.7152 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.8298, allocations: 22.44 kB / 0.7153 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/0.8333, allocations: 1.84 MB / 0.717 GB, free: 6.77 MB / 0.5137 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.007424/0.8407, allocations: 4.741 MB / 0.7217 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005174/0.8459, allocations: 2.353 MB / 0.724 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.8477, allocations: 1.014 MB / 0.725 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04769/0.8954, allocations: 20.14 MB / 0.7446 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.983e-05/0.8955, allocations: 56.5 kB / 0.7447 GB, free: 10.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=207): time 3.456e-06/0.8955, allocations: 0 / 0.7447 GB, free: 10.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=207): time 0.01642/0.9119, allocations: 6.316 MB / 0.7509 GB, free: 4.156 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.912, allocations: 73.41 kB / 0.7509 GB, free: 4.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/0.9126, allocations: 389.6 kB / 0.7513 GB, free: 3.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.9128, allocations: 65.7 kB / 0.7514 GB, free: 3.613 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.913, allocations: 199.5 kB / 0.7515 GB, free: 3.414 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008931/0.9139, allocations: 0.7737 MB / 0.7523 GB, free: 2.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006153/0.9145, allocations: 347.5 kB / 0.7526 GB, free: 2.305 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.9147, allocations: 334 kB / 0.753 GB, free: 1.973 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.9164, allocations: 0.9408 MB / 0.7539 GB, free: 1.031 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.9182, allocations: 1.087 MB / 0.7549 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/0.922, allocations: 2.165 MB / 0.757 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.922, allocations: 4 kB / 0.7571 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005986/0.928, allocations: 3.184 MB / 0.7602 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.928, allocations: 4 kB / 0.7602 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.928, allocations: 7.609 kB / 0.7602 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/0.9408, allocations: 2.664 MB / 0.7628 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.9421, allocations: 241 kB / 0.763 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00755/0.9497, allocations: 4.092 MB / 0.767 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.9511, allocations: 154.9 kB / 0.7671 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.9513, allocations: 75.97 kB / 0.7672 GB, free: 3.309 MB / 0.5606 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.0007044/0.952, allocations: 325.6 kB / 0.7675 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/0.9523, allocations: 115.3 kB / 0.7676 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.9661, allocations: 8.77 MB / 0.7762 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001173/0.9662, allocations: 111.8 kB / 0.7763 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/0.9662, allocations: 4 kB / 0.7763 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.228e-05/0.9663, allocations: 11.95 kB / 0.7763 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.9827, allocations: 10.55 MB / 0.7866 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.9827, allocations: 48 / 0.7866 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002753/0.9854, allocations: 0.5073 MB / 0.7871 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005207/0.9906, allocations: 2.132 MB / 0.7892 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003392/0.991, allocations: 83.94 kB / 0.7893 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01961/1.011, allocations: 20.65 MB / 0.8094 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.011, allocations: 4.031 kB / 0.8095 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/1.028, allocations: 9.55 MB / 0.8188 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/1.029, allocations: 0.6656 MB / 0.8194 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/1.03, allocations: 75.88 kB / 0.8195 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.031, allocations: 83.88 kB / 0.8196 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004335/1.031, allocations: 170 kB / 0.8197 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/1.031, allocations: 83.95 kB / 0.8198 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005069/1.032, allocations: 378.8 kB / 0.8202 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/1.032, allocations: 3.938 kB / 0.8202 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00438/1.036, allocations: 1.28 MB / 0.8214 GB, free: 9.785 MB / 0.6231 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.004857/1.041, allocations: 1.075 MB / 0.8225 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009769/1.051, allocations: 3.837 MB / 0.8262 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.051, allocations: 0 / 0.8262 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00705/1.058, allocations: 3.43 MB / 0.8296 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00418/1.062, allocations: 0.7862 MB / 0.8303 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.073, allocations: 7.249 MB / 0.8374 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/1.075, allocations: 1.655 MB / 0.839 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006731/1.075, allocations: 111.4 kB / 0.8392 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of SimCode: time 1.924e-06/1.075, allocations: 0 / 0.8392 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of Templates: time 0.4168/1.492, allocations: 99.79 MB / 0.9366 GB, free: 307.4 MB / 0.7012 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.737666728906333] Failed to read output from testmodel.py, exit status != 0: 1.5007954379543662 1.509429807 0.692221792 Calling exit ...