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.00136/0.00136, allocations: 79.89 kB / 21.27 MB, free: 0.5156 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.001501/0.001501, allocations: 158.9 kB / 24.53 MB, free: 3.812 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.436/1.436, allocations: 177.2 MB / 204.9 MB, free: 9.285 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.1445/0.1445, allocations: 19.71 MB / 281 MB, free: 13.06 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.002267/0.002267, allocations: 63.91 kB / 417.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2994, allocations: 60.46 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2171/0.5166, allocations: 142.1 MB / 0.6057 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.5302, allocations: 8.845 MB / 0.6143 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.5305, allocations: 7.938 kB / 0.6143 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.531, allocations: 111.2 kB / 0.6144 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006383/0.5374, allocations: 2.1 MB / 0.6165 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007673/0.545, allocations: 2.564 MB / 0.619 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002348/0.5474, allocations: 2.019 MB / 0.6209 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007553/0.5481, allocations: 0.5118 MB / 0.6214 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.5492, allocations: 0.8189 MB / 0.6222 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.5526, allocations: 1.472 MB / 0.6237 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.5528, allocations: 104 kB / 0.6238 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.5648, allocations: 5.709 MB / 0.6294 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007475/0.5655, allocations: 0.5689 MB / 0.6299 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008933/0.5664, allocations: 0.5567 MB / 0.6305 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008538/0.575, allocations: 4.391 MB / 0.6347 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.575, allocations: 0 / 0.6347 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.758e-06/0.575, allocations: 8 kB / 0.6348 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.575, allocations: 3.938 kB / 0.6348 GB, free: 5.777 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.005018/0.58, allocations: 1.789 MB / 0.6365 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5801, allocations: 12.03 kB / 0.6365 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.5827, allocations: 292 kB / 0.6368 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.584, allocations: 0.5404 MB / 0.6373 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.455e-05/0.5841, allocations: 74.38 kB / 0.6374 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.5843, allocations: 88.38 kB / 0.6375 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003842/0.5881, allocations: 1.667 MB / 0.6391 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.5881, allocations: 7.938 kB / 0.6391 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.5883, allocations: 40 kB / 0.6392 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.5883, allocations: 35.92 kB / 0.6392 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2262/0.8145, 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.006249/0.8207, allocations: 4.164 MB / 0.6449 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.8243, allocations: 1.91 MB / 0.6467 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.8256, allocations: 0.8645 MB / 0.6476 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03667/0.8622, allocations: 11.75 MB / 0.6591 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.8623, allocations: 52.56 kB / 0.6591 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 3.927e-06/0.8623, allocations: 0 / 0.6591 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=180): time 0.06207/0.9244, allocations: 14.54 MB / 0.6733 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.9244, allocations: 73.34 kB / 0.6734 GB, free: 141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.9248, allocations: 401.5 kB / 0.6738 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.68e-05/0.9248, allocations: 53.7 kB / 0.6738 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.925, allocations: 282.7 kB / 0.6741 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/0.9254, allocations: 0.6384 MB / 0.6747 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.9257, allocations: 291.5 kB / 0.675 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.9258, allocations: 337.9 kB / 0.6753 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000968/0.9267, allocations: 0.7417 MB / 0.676 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.9278, allocations: 0.9575 MB / 0.677 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.9301, allocations: 1.874 MB / 0.6788 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.9301, allocations: 3.125 kB / 0.6788 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004134/0.9342, allocations: 2.692 MB / 0.6814 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.9342, allocations: 12.06 kB / 0.6814 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.9343, allocations: 7.672 kB / 0.6814 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009671/0.9439, allocations: 2.22 MB / 0.6836 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.9446, allocations: 167.8 kB / 0.6838 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004629/0.9492, allocations: 3.536 MB / 0.6872 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009521/0.9502, allocations: 141.5 kB / 0.6874 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.9503, allocations: 67.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.0004876/0.9508, allocations: 328.2 kB / 0.6877 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.951, allocations: 99.44 kB / 0.6878 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008855/0.9599, allocations: 9.276 MB / 0.6969 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.197e-05/0.9599, allocations: 115.8 kB / 0.697 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.9599, allocations: 4 kB / 0.697 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.96, allocations: 13.03 kB / 0.697 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.9706, allocations: 10.53 MB / 0.7073 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/0.9706, allocations: 0 / 0.7073 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.9711, allocations: 111.9 kB / 0.7074 GB, free: 106 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01101/0.9821, allocations: 4.94 MB / 0.7122 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003074/0.9825, allocations: 55.97 kB / 0.7123 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008482/0.9909, allocations: 8.204 MB / 0.7203 GB, free: 92.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9909, allocations: 0 / 0.7203 GB, free: 92.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007774/0.9987, allocations: 7.55 MB / 0.7277 GB, free: 85.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007999/0.9995, allocations: 0.5435 MB / 0.7282 GB, free: 84.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.9997, allocations: 51.89 kB / 0.7283 GB, free: 84.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009186/1.001, allocations: 71.94 kB / 0.7283 GB, free: 84.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/1.001, allocations: 141.7 kB / 0.7285 GB, free: 84.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/1.001, allocations: 71.98 kB / 0.7285 GB, free: 84.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003052/1.001, allocations: 335.1 kB / 0.7288 GB, free: 83.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.001, allocations: 0 / 0.7288 GB, free: 83.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002546/1.004, allocations: 1.217 MB / 0.73 GB, free: 82.67 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.003767/1.008, allocations: 1.04 MB / 0.7311 GB, free: 81.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006001/1.014, allocations: 3.426 MB / 0.7344 GB, free: 78.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.014, allocations: 3.938 kB / 0.7344 GB, free: 78.24 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004236/1.018, allocations: 2.448 MB / 0.7368 GB, free: 75.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/1.021, allocations: 0.6979 MB / 0.7375 GB, free: 75.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/1.027, allocations: 5.407 MB / 0.7428 GB, free: 69.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/1.028, allocations: 1.009 MB / 0.7437 GB, free: 68.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007169/1.029, allocations: 384.8 kB / 0.7441 GB, free: 68.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/1.029, allocations: 64.48 kB / 0.7442 GB, free: 68.17 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/1.029, allocations: 0 / 0.7442 GB, free: 68.17 MB / 0.5294 GB Notification: Performance of Templates: time 0.0753/1.104, allocations: 67.41 MB / 0.81 GB, free: 1.234 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.283624320989475] Failed to read output from testmodel.py, exit status != 0: 1.1137843519682065 1.129285681 0.5508081269999999 Calling exit ...