Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.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.001305/0.001305, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001453/0.001453, allocations: 210 kB / 24.48 MB, free: 3.938 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.426/1.426, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.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.1495/0.1495, allocations: 26.84 MB / 341.5 MB, free: 8.055 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.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") [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.002059/0.002059, allocations: 67.89 kB / 478 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3259, allocations: 60.48 MB / 0.5259 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.1861/0.512, allocations: 142.2 MB / 0.6648 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.5252, allocations: 8.864 MB / 0.6734 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.5255, allocations: 11.88 kB / 0.6735 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.5259, allocations: 99.25 kB / 0.6735 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006387/0.5323, allocations: 2.101 MB / 0.6756 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006833/0.5391, allocations: 2.564 MB / 0.6781 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002248/0.5414, allocations: 2.016 MB / 0.6801 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006484/0.542, allocations: 0.5194 MB / 0.6806 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007868/0.5428, allocations: 0.6043 MB / 0.6812 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003057/0.5458, allocations: 1.476 MB / 0.6826 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.5461, allocations: 104 kB / 0.6827 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/0.5578, allocations: 5.701 MB / 0.6883 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007401/0.5585, allocations: 0.565 MB / 0.6888 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008773/0.5594, allocations: 0.5567 MB / 0.6894 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008565/0.568, allocations: 4.395 MB / 0.6937 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.568, allocations: 0 / 0.6937 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.568, allocations: 4 kB / 0.6937 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.212e-05/0.568, allocations: 0 / 0.6937 GB, free: 8.43 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.004994/0.573, allocations: 1.789 MB / 0.6954 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.573, allocations: 16.03 kB / 0.6954 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.5755, allocations: 288 kB / 0.6957 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.5768, allocations: 0.5559 MB / 0.6962 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.5769, allocations: 70.38 kB / 0.6963 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.577, allocations: 96.31 kB / 0.6964 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.5805, allocations: 1.663 MB / 0.698 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.5806, allocations: 0 / 0.698 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.5807, allocations: 40 kB / 0.6981 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.5807, allocations: 28 kB / 0.6981 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003506/0.5842, allocations: 1.662 MB / 0.6997 GB, free: 2.109 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.007109/0.5913, allocations: 4.164 MB / 0.7038 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/0.5952, allocations: 1.921 MB / 0.7057 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.5967, allocations: 0.8616 MB / 0.7065 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04402/0.6407, allocations: 11.76 MB / 0.718 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.6408, allocations: 48.56 kB / 0.718 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 4.378e-06/0.6408, allocations: 0 / 0.718 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.06874/0.7095, allocations: 14.55 MB / 0.7322 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.7096, allocations: 73.41 kB / 0.7323 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005155/0.7101, allocations: 401.4 kB / 0.7327 GB, free: 164 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.7102, allocations: 49.7 kB / 0.7327 GB, free: 108 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2121/0.9223, allocations: 275.7 kB / 0.733 GB, free: 194.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006992/0.923, allocations: 0.6385 MB / 0.7336 GB, free: 194 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005202/0.9235, allocations: 292.5 kB / 0.7339 GB, free: 194 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.154e-05/0.9236, allocations: 333 kB / 0.7342 GB, free: 193.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.9248, allocations: 0.7435 MB / 0.735 GB, free: 193.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.9261, allocations: 0.9552 MB / 0.7359 GB, free: 193 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/0.929, allocations: 1.881 MB / 0.7377 GB, free: 192.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.929, allocations: 0.9688 kB / 0.7377 GB, free: 192.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004485/0.9335, allocations: 2.685 MB / 0.7404 GB, free: 191.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.9335, allocations: 9.5 kB / 0.7404 GB, free: 191.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.9335, allocations: 4.781 kB / 0.7404 GB, free: 191.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.9436, allocations: 2.222 MB / 0.7425 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.9443, allocations: 159.8 kB / 0.7427 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005222/0.9495, allocations: 3.538 MB / 0.7461 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/0.9505, allocations: 143.7 kB / 0.7463 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.9506, allocations: 67.72 kB / 0.7463 GB, free: 189.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (65): * Single equations (assignments): 64 * 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,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0004397/0.951, allocations: 331.7 kB / 0.7467 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.9513, allocations: 100.9 kB / 0.7468 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00952/0.9608, allocations: 9.253 MB / 0.7558 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-05/0.9609, allocations: 115 kB / 0.7559 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9609, allocations: 3.938 kB / 0.7559 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.9609, allocations: 11.95 kB / 0.7559 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009515/0.9704, allocations: 10.52 MB / 0.7662 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.9704, allocations: 3.938 kB / 0.7662 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/0.9709, allocations: 119.8 kB / 0.7663 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009878/0.9808, allocations: 4.913 MB / 0.7711 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/0.981, allocations: 51.98 kB / 0.7711 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007424/0.9885, allocations: 8.2 MB / 0.7792 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9885, allocations: 3.938 kB / 0.7792 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007119/0.9956, allocations: 7.55 MB / 0.7865 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009671/0.9965, allocations: 0.5471 MB / 0.7871 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.9967, allocations: 51.94 kB / 0.7871 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/0.9975, allocations: 71.89 kB / 0.7872 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.9977, allocations: 145.7 kB / 0.7873 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.9978, allocations: 71.97 kB / 0.7874 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002816/0.9981, allocations: 335.1 kB / 0.7877 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9981, allocations: 0 / 0.7877 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002427/1.001, allocations: 1.213 MB / 0.7889 GB, free: 150.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (75): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 21 * 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,147)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003251/1.004, allocations: 1.024 MB / 0.7899 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005597/1.009, allocations: 3.424 MB / 0.7932 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.009, allocations: 4 kB / 0.7932 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003739/1.013, allocations: 2.439 MB / 0.7956 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/1.016, allocations: 0.6984 MB / 0.7963 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00553/1.022, allocations: 5.502 MB / 0.8017 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/1.022, allocations: 1.013 MB / 0.8027 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/1.022, allocations: 67.42 kB / 0.8027 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/1.022, allocations: 0 / 0.8027 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.04417/1.067, allocations: 42.87 MB / 0.8446 GB, free: 93.83 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.149357157992199] Failed to read output from testmodel.py, exit status != 0: 1.0749295930145308 1.083610128 0.5133159 Calling exit ...