Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 192.3 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 207.6 MB / 231.8 MB, free: 4.086 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5418/0.5418, allocations: 49.51 MB / 333.2 MB, free: 0.7539 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 76.14 kB / 471.9 MB, free: 40.86 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1362, allocations: 62.33 MB / 0.5218 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.5949/0.7311, allocations: 161.3 MB / 0.6793 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.743, allocations: 9.967 MB / 0.689 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/0.7435, allocations: 6.719 kB / 0.689 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.7439, allocations: 102.6 kB / 0.6891 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005674/0.7496, allocations: 2.101 MB / 0.6912 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009098/0.7587, allocations: 2.594 MB / 0.6937 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002282/0.761, allocations: 2.005 MB / 0.6957 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006307/0.7616, allocations: 0.5109 MB / 0.6962 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007146/0.7623, allocations: 0.5995 MB / 0.6968 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.7658, allocations: 1.481 MB / 0.6982 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.7659, allocations: 109.6 kB / 0.6983 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01371/0.7796, allocations: 5.946 MB / 0.7041 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008212/0.7805, allocations: 0.564 MB / 0.7047 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009676/0.7814, allocations: 0.6342 MB / 0.7053 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.7933, allocations: 4.381 MB / 0.7096 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7933, allocations: 0 / 0.7096 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7933, allocations: 4 kB / 0.7096 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.7933, allocations: 0 / 0.7096 GB, free: 9.707 MB / 0.5137 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.005759/0.7991, allocations: 1.873 MB / 0.7114 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.7991, allocations: 15.77 kB / 0.7114 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.8017, allocations: 283.4 kB / 0.7117 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.8031, allocations: 0.6053 MB / 0.7123 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.916e-05/0.8032, allocations: 71.53 kB / 0.7124 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.8034, allocations: 98.97 kB / 0.7124 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003617/0.807, allocations: 1.658 MB / 0.7141 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.807, allocations: 4 kB / 0.7141 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.8071, allocations: 44.59 kB / 0.7141 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.8071, allocations: 25.16 kB / 0.7141 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.8104, allocations: 1.68 MB / 0.7158 GB, free: 7.117 MB / 0.5137 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.008015/0.8185, allocations: 5.627 MB / 0.7213 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003917/0.8224, allocations: 1.909 MB / 0.7231 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.8238, allocations: 0.866 MB / 0.724 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04698/0.8708, allocations: 20.14 MB / 0.7437 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.813e-05/0.8709, allocations: 56.5 kB / 0.7437 GB, free: 11.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=180): time 3.797e-06/0.8709, allocations: 0 / 0.7437 GB, free: 11.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=180): time 0.06889/0.9398, allocations: 14.62 MB / 0.758 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.9399, allocations: 69.41 kB / 0.7581 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006412/0.9405, allocations: 433.9 kB / 0.7585 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.9406, allocations: 57.7 kB / 0.7585 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.9409, allocations: 274.3 kB / 0.7588 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007581/0.9416, allocations: 0.6423 MB / 0.7594 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004963/0.9421, allocations: 295.5 kB / 0.7597 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.9423, allocations: 337.9 kB / 0.76 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.9437, allocations: 0.7378 MB / 0.7607 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.9452, allocations: 0.9548 MB / 0.7617 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/0.9484, allocations: 1.878 MB / 0.7635 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.9484, allocations: 0 / 0.7635 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005101/0.9535, allocations: 2.695 MB / 0.7661 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.9535, allocations: 8 kB / 0.7661 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.9535, allocations: 4 kB / 0.7661 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.9642, allocations: 2.239 MB / 0.7683 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008706/0.9651, allocations: 163.8 kB / 0.7685 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006526/0.9716, allocations: 3.534 MB / 0.7719 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.9728, allocations: 147 kB / 0.7721 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.9731, allocations: 71.97 kB / 0.7721 GB, free: 14.35 MB / 0.5762 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.0008079/0.9739, allocations: 329.4 kB / 0.7725 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004794/0.9744, allocations: 107.4 kB / 0.7726 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/0.9883, allocations: 8.968 MB / 0.7813 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001261/0.9884, allocations: 115.8 kB / 0.7814 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.9884, allocations: 4 kB / 0.7814 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/0.9884, allocations: 11.95 kB / 0.7814 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/1.004, allocations: 10.38 MB / 0.7916 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.004, allocations: 0 / 0.7916 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000624/1.005, allocations: 115.9 kB / 0.7917 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01375/1.019, allocations: 4.844 MB / 0.7964 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003764/1.019, allocations: 59.91 kB / 0.7965 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/1.032, allocations: 7.871 MB / 0.8042 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.032, allocations: 4 kB / 0.8042 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.044, allocations: 7.168 MB / 0.8112 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.045, allocations: 0.6228 MB / 0.8118 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004719/1.046, allocations: 55.84 kB / 0.8118 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.047, allocations: 71.88 kB / 0.8119 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003542/1.048, allocations: 137.8 kB / 0.812 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/1.048, allocations: 71.98 kB / 0.8121 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007955/1.049, allocations: 410.8 kB / 0.8125 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/1.049, allocations: 0 / 0.8125 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005156/1.054, allocations: 1.205 MB / 0.8137 GB, free: 3.441 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 37 ($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 (73): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * 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.006272/1.06, allocations: 1.02 MB / 0.8147 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00857/1.069, allocations: 3.344 MB / 0.8179 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.069, allocations: 0 / 0.8179 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005751/1.074, allocations: 2.33 MB / 0.8202 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004501/1.079, allocations: 0.7473 MB / 0.8209 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/1.089, allocations: 5.334 MB / 0.8262 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/1.091, allocations: 1.587 MB / 0.8277 GB, free: 5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/1.092, allocations: 75.41 kB / 0.8278 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of SimCode: time 1.943e-06/1.092, allocations: 0 / 0.8278 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.08252/1.174, allocations: 42.41 MB / 0.8692 GB, free: 10.45 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.227080952841789] Failed to read output from testmodel.py, exit status != 0: 1.1836318848654628 1.199151303 0.40260656300000003 Calling exit ...