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.0008233/0.0008233, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008563/0.0008563, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8651/0.8651, allocations: 158.6 MB / 185.7 MB, free: 3.023 MB / 170.7 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.1762/0.1762, allocations: 36.35 MB / 274.3 MB, free: 10.9 MB / 266.7 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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 414.3 MB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.219e-05, allocations: 6.219 kB / 414.3 MB, free: 6.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.2645/0.2645, allocations: 139.2 MB / 0.5406 GB, free: 1.957 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007503/0.272, allocations: 8.84 MB / 0.5492 GB, free: 9.137 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.2722, allocations: 11.88 kB / 0.5492 GB, free: 9.125 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.2726, allocations: 103.2 kB / 0.5493 GB, free: 9.023 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003579/0.2762, allocations: 2.099 MB / 0.5514 GB, free: 6.918 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004927/0.2811, allocations: 2.612 MB / 0.5539 GB, free: 4.301 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.2825, allocations: 2.266 MB / 0.5561 GB, free: 2.031 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.2829, allocations: 0.6091 MB / 0.5567 GB, free: 1.414 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006768/0.2836, allocations: 0.9439 MB / 0.5577 GB, free: 480 kB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.2856, allocations: 1.539 MB / 0.5592 GB, free: 14.92 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.2857, allocations: 124 kB / 0.5593 GB, free: 14.8 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00698/0.2927, allocations: 5.716 MB / 0.5649 GB, free: 9.074 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004602/0.2931, allocations: 0.651 MB / 0.5655 GB, free: 8.422 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006151/0.2937, allocations: 0.5536 MB / 0.566 GB, free: 7.867 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005446/0.2992, allocations: 5.546 MB / 0.5715 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2992, allocations: 0 / 0.5715 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2992, allocations: 0 / 0.5715 GB, free: 2.309 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2992, allocations: 4 kB / 0.5715 GB, free: 2.305 MB / 474.7 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.003009/0.3022, allocations: 1.929 MB / 0.5733 GB, free: 344 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3022, allocations: 12.03 kB / 0.5734 GB, free: 332 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.3024, allocations: 156.2 kB / 0.5735 GB, free: 168 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.3037, allocations: 288.1 kB / 0.5738 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.3043, allocations: 0.5904 MB / 0.5744 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.3044, allocations: 84.81 kB / 0.5744 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.3045, allocations: 136.2 kB / 0.5746 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.3066, allocations: 1.754 MB / 0.5763 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3066, allocations: 0 / 0.5763 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.591e-05/0.3067, allocations: 43.94 kB / 0.5763 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.3067, allocations: 20 kB / 0.5763 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.3089, allocations: 1.823 MB / 0.5781 GB, free: 11.39 MB / 490.7 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.00423/0.3131, allocations: 3.768 MB / 0.5818 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.3161, allocations: 2.358 MB / 0.5841 GB, free: 5.199 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.3172, allocations: 0.9982 MB / 0.5851 GB, free: 4.199 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01923/0.3364, allocations: 11.3 MB / 0.5961 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.3364, allocations: 60.5 kB / 0.5962 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=207): time 3.587e-06/0.3364, allocations: 0 / 0.5962 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of matching and sorting (n=207): time 0.008154/0.3446, allocations: 4.96 MB / 0.601 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3446, allocations: 73.41 kB / 0.6011 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.345, allocations: 397.6 kB / 0.6015 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.3451, allocations: 61.7 kB / 0.6015 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.3452, allocations: 211.5 kB / 0.6017 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000439/0.3457, allocations: 0.759 MB / 0.6025 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.346, allocations: 339.6 kB / 0.6028 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.3461, allocations: 337.9 kB / 0.6031 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.3471, allocations: 0.9408 MB / 0.604 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.3483, allocations: 1.192 MB / 0.6052 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.3505, allocations: 2.168 MB / 0.6073 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3505, allocations: 3.938 kB / 0.6073 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.003601/0.3541, allocations: 3.178 MB / 0.6104 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3541, allocations: 10.48 kB / 0.6104 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3541, allocations: 0 / 0.6104 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005876/0.36, allocations: 2.656 MB / 0.613 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.3606, allocations: 239.7 kB / 0.6133 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.3647, allocations: 4.103 MB / 0.6173 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.3653, allocations: 162.8 kB / 0.6174 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.3654, allocations: 71.91 kB / 0.6175 GB, free: 2.809 MB / 0.5105 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.0003904/0.3658, allocations: 337.5 kB / 0.6178 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.366, allocations: 107.3 kB / 0.6179 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1545/0.5204, allocations: 9.058 MB / 0.6268 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-05/0.5205, allocations: 117.2 kB / 0.6269 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/0.5205, allocations: 6.781 kB / 0.6269 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.5206, allocations: 17.2 kB / 0.6269 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009569/0.5301, allocations: 10.56 MB / 0.6372 GB, free: 180 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5301, allocations: 0 / 0.6372 GB, free: 180 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.5316, allocations: 0.5049 MB / 0.6377 GB, free: 180 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/0.5339, allocations: 2.176 MB / 0.6398 GB, free: 179.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.534, allocations: 83.64 kB / 0.6399 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00603/0.54, allocations: 19.82 MB / 0.6593 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.54, allocations: 0 / 0.6593 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007024/0.5471, allocations: 9.86 MB / 0.6689 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.5476, allocations: 0.5953 MB / 0.6695 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.5477, allocations: 76.58 kB / 0.6695 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.5482, allocations: 83.89 kB / 0.6696 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.5485, allocations: 181.8 kB / 0.6698 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.735e-05/0.5486, allocations: 87.95 kB / 0.6699 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002336/0.5488, allocations: 374.8 kB / 0.6702 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5488, allocations: 3.25 kB / 0.6702 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001824/0.5506, allocations: 1.279 MB / 0.6715 GB, free: 148.9 MB / 0.5105 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.008259/0.5589, allocations: 10.18 MB / 0.6814 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003943/0.5628, allocations: 3.915 MB / 0.6853 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5628, allocations: 0 / 0.6853 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002404/0.5652, allocations: 3.488 MB / 0.6887 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.567, allocations: 0.7894 MB / 0.6894 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.5825, allocations: 18.72 MB / 0.7077 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.5829, allocations: 1.066 MB / 0.7088 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006483/0.5836, allocations: 410.5 kB / 0.7092 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/0.5841, allocations: 0.7932 MB / 0.7099 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/0.5841, allocations: 0 / 0.7099 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08071/0.6648, allocations: 97.71 MB / 0.8053 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.84, allocations: 11.8 kB / 0.8054 GB, free: 11.15 MB / 0.5105 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking_fmu --startTime=-50 --stopTime=200 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.739504373632371] Failed to read output from testmodel.py, exit status != 0: 11.984410697594285 12.133939454 11.832172029 Calling exit ...