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.001712/0.001712, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001955/0.001955, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.606/1.606, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1548/0.1548, allocations: 26.83 MB / 340.7 MB, free: 7.926 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.002132/0.002132, allocations: 67.89 kB / 477.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3052, allocations: 60.48 MB / 0.5251 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.1839/0.489, allocations: 142.2 MB / 0.664 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01309/0.5021, allocations: 8.864 MB / 0.6727 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003091/0.5025, allocations: 11.88 kB / 0.6727 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.5029, allocations: 103.2 kB / 0.6728 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006887/0.5097, allocations: 2.107 MB / 0.6749 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009825/0.5196, allocations: 2.561 MB / 0.6774 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003539/0.5231, allocations: 2.012 MB / 0.6793 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.5244, allocations: 0.5155 MB / 0.6798 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.5259, allocations: 0.6043 MB / 0.6804 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005037/0.531, allocations: 1.472 MB / 0.6819 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006568/0.5316, allocations: 104 kB / 0.682 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02116/0.5528, allocations: 5.713 MB / 0.6875 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.554, allocations: 0.565 MB / 0.6881 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.5555, allocations: 0.5567 MB / 0.6886 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.5677, allocations: 4.395 MB / 0.6929 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.5677, allocations: 0 / 0.6929 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.222e-06/0.5677, allocations: 4 kB / 0.6929 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.497e-05/0.5677, allocations: 7.938 kB / 0.6929 GB, free: 8.367 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.007631/0.5753, allocations: 1.785 MB / 0.6947 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5754, allocations: 12.03 kB / 0.6947 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005229/0.5806, allocations: 288 kB / 0.695 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.5826, allocations: 0.5598 MB / 0.6955 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/0.5827, allocations: 74.31 kB / 0.6956 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/0.583, allocations: 92.38 kB / 0.6957 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006782/0.5897, allocations: 1.663 MB / 0.6973 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.5898, allocations: 4 kB / 0.6973 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/0.59, allocations: 36 kB / 0.6973 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/0.5901, allocations: 24 kB / 0.6974 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007081/0.5971, allocations: 1.662 MB / 0.699 GB, free: 2.055 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.01324/0.6104, allocations: 4.176 MB / 0.7031 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008053/0.6184, allocations: 1.912 MB / 0.7049 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/0.6214, allocations: 0.8655 MB / 0.7058 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05011/0.6715, allocations: 11.76 MB / 0.7173 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.736e-05/0.6716, allocations: 52.56 kB / 0.7173 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 4.238e-06/0.6716, allocations: 0 / 0.7173 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.06782/0.7394, allocations: 14.54 MB / 0.7315 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.7395, allocations: 69.41 kB / 0.7316 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.74, allocations: 397.4 kB / 0.732 GB, free: 128 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.7402, allocations: 57.7 kB / 0.732 GB, free: 64 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2376/0.9777, allocations: 272.4 kB / 0.7323 GB, free: 194.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008499/0.9786, allocations: 0.6396 MB / 0.7329 GB, free: 194.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005784/0.9791, allocations: 296.3 kB / 0.7332 GB, free: 194.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.9792, allocations: 333 kB / 0.7335 GB, free: 193.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.9805, allocations: 0.7377 MB / 0.7342 GB, free: 193.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.9818, allocations: 0.9604 MB / 0.7352 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002983/0.9848, allocations: 1.874 MB / 0.737 GB, free: 192.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.9848, allocations: 1.156 kB / 0.737 GB, free: 192.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004645/0.9895, allocations: 2.692 MB / 0.7396 GB, free: 191.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.9895, allocations: 9.016 kB / 0.7396 GB, free: 191.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.9895, allocations: 4.938 kB / 0.7396 GB, free: 191.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/0.9998, allocations: 2.221 MB / 0.7418 GB, free: 191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/1.001, allocations: 164.8 kB / 0.742 GB, free: 191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/1.006, allocations: 3.536 MB / 0.7454 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.007, allocations: 145.9 kB / 0.7455 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/1.007, allocations: 68.81 kB / 0.7456 GB, free: 189.5 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.0004814/1.008, allocations: 328.7 kB / 0.7459 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/1.008, allocations: 97.91 kB / 0.746 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.018, allocations: 9.254 MB / 0.7551 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.95e-05/1.018, allocations: 115.6 kB / 0.7552 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.018, allocations: 6.375 kB / 0.7552 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/1.018, allocations: 11.95 kB / 0.7552 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.028, allocations: 10.51 MB / 0.7654 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/1.028, allocations: 7.938 kB / 0.7655 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/1.029, allocations: 119.8 kB / 0.7656 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01004/1.039, allocations: 4.914 MB / 0.7704 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004056/1.039, allocations: 55.97 kB / 0.7704 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007873/1.047, allocations: 8.196 MB / 0.7784 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.047, allocations: 3.984 kB / 0.7784 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007881/1.055, allocations: 7.554 MB / 0.7858 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.056, allocations: 0.5435 MB / 0.7863 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/1.056, allocations: 47.95 kB / 0.7864 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/1.057, allocations: 71.89 kB / 0.7864 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/1.057, allocations: 141.7 kB / 0.7866 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.057, allocations: 71.97 kB / 0.7867 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000287/1.058, allocations: 335.1 kB / 0.787 GB, free: 152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.058, allocations: 0 / 0.787 GB, free: 152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002826/1.061, allocations: 1.213 MB / 0.7882 GB, free: 150.8 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.003642/1.064, allocations: 1.032 MB / 0.7892 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005791/1.07, allocations: 3.432 MB / 0.7925 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.07, allocations: 0 / 0.7925 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003929/1.074, allocations: 2.436 MB / 0.7949 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/1.077, allocations: 0.692 MB / 0.7956 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005561/1.083, allocations: 5.412 MB / 0.8009 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/1.083, allocations: 1.016 MB / 0.8018 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007197/1.084, allocations: 387.8 kB / 0.8022 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/1.084, allocations: 67.42 kB / 0.8023 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.683e-06/1.084, allocations: 0 / 0.8023 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.06979/1.154, allocations: 69.79 MB / 0.8704 GB, free: 67.08 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: 12.581756511703134] Failed to read output from testmodel.py, exit status != 0: 1.1631847470998764 1.171134179 0.6010184660000001 Calling exit ...