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.001407/0.001407, allocations: 79.86 kB / 20.53 MB, free: 1.352 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.001489/0.001489, allocations: 169.4 kB / 23.79 MB, free: 4.508 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.437/1.437, allocations: 177.2 MB / 204.1 MB, free: 9.293 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.1414/0.1414, allocations: 19.7 MB / 280.3 MB, free: 13.07 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.002223/0.002223, allocations: 74.25 kB / 416.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2942, allocations: 60.46 MB / 477.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.1894/0.4836, allocations: 142.1 MB / 0.6049 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.4969, allocations: 8.853 MB / 0.6136 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.4972, allocations: 7.938 kB / 0.6136 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.4977, allocations: 107.2 kB / 0.6137 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006111/0.5038, allocations: 2.096 MB / 0.6157 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007369/0.5111, allocations: 2.571 MB / 0.6182 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002268/0.5134, allocations: 2.016 MB / 0.6202 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008463/0.5142, allocations: 0.5078 MB / 0.6207 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.5156, allocations: 0.8228 MB / 0.6215 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003528/0.5192, allocations: 1.476 MB / 0.6229 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002889/0.5195, allocations: 100 kB / 0.623 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0117/0.5312, allocations: 5.709 MB / 0.6286 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008212/0.532, allocations: 0.569 MB / 0.6292 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.5332, allocations: 0.5605 MB / 0.6297 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008763/0.542, allocations: 4.395 MB / 0.634 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.542, allocations: 0 / 0.634 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.744e-06/0.542, allocations: 0 / 0.634 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.542, allocations: 0 / 0.634 GB, free: 5.812 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.005043/0.5471, allocations: 1.797 MB / 0.6358 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.5471, allocations: 8.031 kB / 0.6358 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/0.5497, allocations: 292 kB / 0.6361 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.5507, allocations: 0.5482 MB / 0.6366 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/0.5508, allocations: 74.38 kB / 0.6367 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.551, allocations: 92.38 kB / 0.6367 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00347/0.5544, allocations: 1.667 MB / 0.6384 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.5545, allocations: 7.922 kB / 0.6384 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.5546, allocations: 36 kB / 0.6384 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.5546, allocations: 24 kB / 0.6384 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2404/0.795, allocations: 1.667 MB / 0.6401 GB, free: 168.4 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.006602/0.8016, allocations: 4.164 MB / 0.6441 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.8052, allocations: 1.907 MB / 0.646 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.8065, allocations: 0.8681 MB / 0.6468 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03535/0.8418, allocations: 11.74 MB / 0.6583 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.8419, allocations: 56.56 kB / 0.6584 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 3.687e-06/0.8419, allocations: 0 / 0.6584 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=180): time 0.06101/0.9029, allocations: 14.54 MB / 0.6726 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.9029, allocations: 77.41 kB / 0.6726 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.9033, allocations: 399 kB / 0.673 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.585e-05/0.9033, allocations: 57.7 kB / 0.6731 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.9035, allocations: 282.5 kB / 0.6733 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.9039, allocations: 0.6337 MB / 0.674 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.9042, allocations: 295.5 kB / 0.6742 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.9043, allocations: 337.9 kB / 0.6746 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.9053, allocations: 0.7456 MB / 0.6753 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.9064, allocations: 0.947 MB / 0.6762 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.9088, allocations: 1.881 MB / 0.6781 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.9088, allocations: 4 kB / 0.6781 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004003/0.9128, allocations: 2.691 MB / 0.6807 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.9128, allocations: 8.562 kB / 0.6807 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.9128, allocations: 8 kB / 0.6807 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/0.9232, allocations: 2.22 MB / 0.6829 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.9239, allocations: 163.8 kB / 0.683 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004953/0.9289, allocations: 3.544 MB / 0.6865 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.9299, allocations: 133.6 kB / 0.6866 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.9301, allocations: 71.97 kB / 0.6867 GB, free: 126.7 MB / 0.5294 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.0005617/0.9306, allocations: 329.9 kB / 0.687 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.9309, allocations: 99.44 kB / 0.6871 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009149/0.9401, allocations: 9.271 MB / 0.6961 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.836e-05/0.9402, allocations: 120.9 kB / 0.6963 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.9402, allocations: 3.375 kB / 0.6963 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.9402, allocations: 15.95 kB / 0.6963 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.9504, allocations: 10.52 MB / 0.7066 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.9504, allocations: 4 kB / 0.7066 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.9509, allocations: 111.9 kB / 0.7067 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01029/0.9612, allocations: 4.935 MB / 0.7115 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/0.9613, allocations: 55.97 kB / 0.7115 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008184/0.9695, allocations: 8.204 MB / 0.7196 GB, free: 92.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9695, allocations: 0 / 0.7196 GB, free: 92.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007187/0.9767, allocations: 7.55 MB / 0.7269 GB, free: 85.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007631/0.9775, allocations: 0.5475 MB / 0.7275 GB, free: 84.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.9776, allocations: 51.89 kB / 0.7275 GB, free: 84.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008106/0.9784, allocations: 67.94 kB / 0.7276 GB, free: 84.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.9787, allocations: 144.8 kB / 0.7277 GB, free: 84.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.9788, allocations: 71.98 kB / 0.7278 GB, free: 84.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002939/0.9791, allocations: 335.1 kB / 0.7281 GB, free: 83.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.9791, allocations: 0 / 0.7281 GB, free: 83.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002604/0.9817, allocations: 1.213 MB / 0.7293 GB, free: 82.75 MB / 0.5294 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.003062/0.9848, allocations: 1.038 MB / 0.7303 GB, free: 81.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00553/0.9903, allocations: 3.435 MB / 0.7337 GB, free: 78.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9903, allocations: 0 / 0.7337 GB, free: 78.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003708/0.994, allocations: 2.437 MB / 0.736 GB, free: 75.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.9967, allocations: 0.706 MB / 0.7367 GB, free: 75.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/1.002, allocations: 5.413 MB / 0.742 GB, free: 69.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/1.003, allocations: 1.02 MB / 0.743 GB, free: 68.67 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006777/1.004, allocations: 372.7 kB / 0.7434 GB, free: 68.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/1.004, allocations: 72.48 kB / 0.7434 GB, free: 68.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/1.004, allocations: 0 / 0.7434 GB, free: 68.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.07309/1.077, allocations: 67.41 MB / 0.8093 GB, free: 1.301 MB / 0.5294 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: 12.30855561979115] Failed to read output from testmodel.py, exit status != 0: 1.0867774933576584 1.102126275 0.556717984 Calling exit ...