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.001657/0.001657, allocations: 75.12 kB / 21.28 MB, free: 384 kB / 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.001746/0.001746, allocations: 163.4 kB / 24.53 MB, free: 3.59 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.405/1.405, allocations: 177.2 MB / 204.9 MB, free: 9.238 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.1391/0.1391, allocations: 19.7 MB / 281 MB, free: 13.02 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.002144/0.002144, allocations: 71.89 kB / 417.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2705, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.1892/0.4597, allocations: 142.1 MB / 0.6057 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01338/0.4731, allocations: 8.853 MB / 0.6143 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.4734, allocations: 7.938 kB / 0.6143 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.4738, allocations: 107.2 kB / 0.6144 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005546/0.4793, allocations: 2.101 MB / 0.6165 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006654/0.486, allocations: 2.571 MB / 0.619 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00223/0.4882, allocations: 2.016 MB / 0.6209 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006625/0.4889, allocations: 0.5117 MB / 0.6214 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.4899, allocations: 0.815 MB / 0.6222 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.4931, allocations: 1.48 MB / 0.6237 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.4933, allocations: 100 kB / 0.6238 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/0.5039, allocations: 5.717 MB / 0.6294 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006866/0.5046, allocations: 0.5611 MB / 0.6299 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008645/0.5054, allocations: 0.5606 MB / 0.6305 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008175/0.5136, allocations: 4.395 MB / 0.6348 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5136, allocations: 0 / 0.6348 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5136, allocations: 0 / 0.6348 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.5136, allocations: 4 kB / 0.6348 GB, free: 5.758 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.005039/0.5187, allocations: 1.797 MB / 0.6365 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5187, allocations: 8.031 kB / 0.6365 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.5213, allocations: 288 kB / 0.6368 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.5223, allocations: 0.5443 MB / 0.6373 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/0.5224, allocations: 70.38 kB / 0.6374 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.5226, allocations: 96.38 kB / 0.6375 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00378/0.5264, allocations: 1.667 MB / 0.6391 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.5264, allocations: 7.938 kB / 0.6391 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.5265, allocations: 36 kB / 0.6392 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.5265, allocations: 31.92 kB / 0.6392 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2002/0.7267, allocations: 1.66 MB / 0.6408 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.005981/0.7327, allocations: 4.17 MB / 0.6449 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/0.7361, allocations: 1.905 MB / 0.6467 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.7374, allocations: 0.8688 MB / 0.6476 GB, free: 165 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03558/0.773, allocations: 11.75 MB / 0.6591 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.773, allocations: 53.06 kB / 0.6591 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 3.757e-06/0.773, allocations: 0 / 0.6591 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=180): time 0.06242/0.8354, allocations: 14.55 MB / 0.6733 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.8355, allocations: 69.41 kB / 0.6734 GB, free: 141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.8358, allocations: 403.5 kB / 0.6738 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-05/0.8359, allocations: 53.7 kB / 0.6738 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.836, allocations: 281.1 kB / 0.6741 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/0.8363, allocations: 0.6395 MB / 0.6747 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/0.8367, allocations: 291.5 kB / 0.675 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.359e-05/0.8367, allocations: 337.9 kB / 0.6753 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009569/0.8377, allocations: 0.7417 MB / 0.676 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.8387, allocations: 0.9548 MB / 0.677 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.8409, allocations: 1.878 MB / 0.6788 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.841, allocations: 3.938 kB / 0.6788 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003754/0.8447, allocations: 2.684 MB / 0.6814 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8447, allocations: 10.66 kB / 0.6814 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.8447, allocations: 6.875 kB / 0.6814 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00953/0.8543, allocations: 2.231 MB / 0.6836 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.8549, allocations: 163.8 kB / 0.6838 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.8595, allocations: 3.54 MB / 0.6872 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000845/0.8603, allocations: 135.7 kB / 0.6874 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.8605, allocations: 71.97 kB / 0.6874 GB, free: 126.6 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.0004172/0.8609, allocations: 324.5 kB / 0.6877 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.8611, allocations: 99.44 kB / 0.6878 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008505/0.8696, allocations: 9.276 MB / 0.6969 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-05/0.8696, allocations: 111.8 kB / 0.697 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.8696, allocations: 0 / 0.697 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.8697, allocations: 15.89 kB / 0.697 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009598/0.8793, allocations: 10.54 MB / 0.7073 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.8793, allocations: 0 / 0.7073 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.8798, allocations: 115.9 kB / 0.7074 GB, free: 106 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01033/0.8901, allocations: 4.931 MB / 0.7122 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.8903, allocations: 51.98 kB / 0.7123 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007622/0.898, allocations: 8.204 MB / 0.7203 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.898, allocations: 3.938 kB / 0.7203 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006995/0.905, allocations: 7.55 MB / 0.7277 GB, free: 85.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007587/0.9057, allocations: 0.5475 MB / 0.7282 GB, free: 84.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.9059, allocations: 51.89 kB / 0.7283 GB, free: 84.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007934/0.9067, allocations: 71.94 kB / 0.7283 GB, free: 84.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.9069, allocations: 141.7 kB / 0.7285 GB, free: 84.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.907, allocations: 75.97 kB / 0.7285 GB, free: 84.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000276/0.9073, allocations: 335.1 kB / 0.7289 GB, free: 83.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.9073, allocations: 0 / 0.7289 GB, free: 83.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002287/0.9096, allocations: 1.213 MB / 0.73 GB, free: 82.68 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.002927/0.9125, allocations: 1.038 MB / 0.7311 GB, free: 81.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00529/0.9178, allocations: 3.427 MB / 0.7344 GB, free: 78.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9178, allocations: 0 / 0.7344 GB, free: 78.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003686/0.9215, allocations: 2.444 MB / 0.7368 GB, free: 75.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.9241, allocations: 0.6957 MB / 0.7375 GB, free: 75.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/0.9294, allocations: 5.499 MB / 0.7428 GB, free: 69.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/0.93, allocations: 1.013 MB / 0.7438 GB, free: 68.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.9302, allocations: 68.48 kB / 0.7439 GB, free: 68.46 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.9302, allocations: 0 / 0.7439 GB, free: 68.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.04143/0.9717, allocations: 42.88 MB / 0.7858 GB, free: 25.6 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: 10.589751131134108] Failed to read output from testmodel.py, exit status != 0: 0.9801454690750688 0.988895335 0.47296004299999994 Calling exit ...