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.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.001471/0.001471, allocations: 85.95 kB / 20.68 MB, free: 1.023 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.001466/0.001466, allocations: 163.2 kB / 23.95 MB, free: 4.156 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.333/1.333, allocations: 158.6 MB / 185.7 MB, free: 6.434 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2721/0.2721, allocations: 36.34 MB / 274.3 MB, free: 0.6406 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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_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: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 414.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.281e-05, allocations: 2.281 kB / 414.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3454/0.3454, allocations: 139.2 MB / 0.5411 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.358, allocations: 8.841 MB / 0.5497 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.3583, allocations: 11.88 kB / 0.5497 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.3587, allocations: 103.2 kB / 0.5498 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005557/0.3643, allocations: 2.111 MB / 0.5519 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007342/0.3716, allocations: 2.596 MB / 0.5544 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002471/0.3741, allocations: 2.051 MB / 0.5564 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009867/0.3751, allocations: 0.5117 MB / 0.5569 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.3768, allocations: 0.8151 MB / 0.5577 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003829/0.3806, allocations: 1.449 MB / 0.5591 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003551/0.381, allocations: 100 kB / 0.5592 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.393, allocations: 5.712 MB / 0.5648 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007315/0.3937, allocations: 0.5886 MB / 0.5654 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000933/0.3947, allocations: 0.4913 MB / 0.5659 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009668/0.4043, allocations: 5.394 MB / 0.5711 GB, free: 11.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4043, allocations: 0 / 0.5711 GB, free: 11.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4043, allocations: 0 / 0.5711 GB, free: 11.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.556e-05/0.4044, allocations: 4 kB / 0.5711 GB, free: 11.85 MB / 462.1 MB 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.005682/0.4101, allocations: 1.787 MB / 0.5729 GB, free: 10.03 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4101, allocations: 8.031 kB / 0.5729 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.4128, allocations: 288 kB / 0.5732 GB, free: 9.738 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.4139, allocations: 0.5435 MB / 0.5737 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/0.414, allocations: 74.38 kB / 0.5738 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.4142, allocations: 92.38 kB / 0.5738 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.4177, allocations: 1.663 MB / 0.5755 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.4177, allocations: 4.312 kB / 0.5755 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.4178, allocations: 43.92 kB / 0.5755 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.4179, allocations: 24 kB / 0.5755 GB, free: 7.223 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003551/0.4214, allocations: 1.67 MB / 0.5772 GB, free: 5.555 MB / 462.1 MB 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.00656/0.428, allocations: 4.175 MB / 0.5812 GB, free: 1.293 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003934/0.4319, allocations: 1.909 MB / 0.5831 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.4333, allocations: 0.8684 MB / 0.584 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04131/0.4746, allocations: 11.3 MB / 0.595 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.4747, allocations: 52.5 kB / 0.595 GB, free: 3.133 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 3.927e-06/0.4747, allocations: 4 kB / 0.5951 GB, free: 3.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=180): time 0.07294/0.5476, allocations: 14.54 MB / 0.6093 GB, free: 4.551 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.5477, allocations: 70.34 kB / 0.6093 GB, free: 4.473 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/0.5482, allocations: 397.5 kB / 0.6097 GB, free: 4.074 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.5483, allocations: 57.7 kB / 0.6098 GB, free: 4.012 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.5485, allocations: 282.3 kB / 0.61 GB, free: 3.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005727/0.5491, allocations: 0.6312 MB / 0.6106 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/0.5496, allocations: 291.5 kB / 0.6109 GB, free: 2.805 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5497, allocations: 333.9 kB / 0.6112 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.551, allocations: 0.7417 MB / 0.612 GB, free: 1.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.5525, allocations: 0.9548 MB / 0.6129 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.5557, allocations: 1.878 MB / 0.6147 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.5557, allocations: 3.938 kB / 0.6147 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005111/0.5608, allocations: 2.684 MB / 0.6173 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.5608, allocations: 11.98 kB / 0.6174 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5608, allocations: 4.5 kB / 0.6174 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.5719, allocations: 2.239 MB / 0.6196 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/0.5727, allocations: 163.8 kB / 0.6197 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/0.579, allocations: 3.537 MB / 0.6232 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009365/0.5799, allocations: 139 kB / 0.6233 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.5801, allocations: 71.91 kB / 0.6234 GB, free: 5.898 MB / 0.4981 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.0005379/0.5806, allocations: 321.6 kB / 0.6237 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.5808, allocations: 99.39 kB / 0.6238 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.5932, allocations: 9.28 MB / 0.6328 GB, free: 12.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001206/0.5933, allocations: 119.8 kB / 0.6329 GB, free: 11.98 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.5933, allocations: 3.984 kB / 0.6329 GB, free: 11.98 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.5933, allocations: 11.95 kB / 0.633 GB, free: 11.97 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.6072, allocations: 10.52 MB / 0.6432 GB, free: 1.328 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.6072, allocations: 7.984 kB / 0.6432 GB, free: 1.32 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.6078, allocations: 115.9 kB / 0.6434 GB, free: 1.207 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01289/0.6207, allocations: 4.917 MB / 0.6482 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002849/0.621, allocations: 55.97 kB / 0.6482 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/0.632, allocations: 8.203 MB / 0.6562 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.632, allocations: 3.984 kB / 0.6562 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.6427, allocations: 7.557 MB / 0.6636 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.6437, allocations: 0.5513 MB / 0.6641 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.6439, allocations: 47.94 kB / 0.6642 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/0.6448, allocations: 63.95 kB / 0.6642 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/0.6451, allocations: 141.7 kB / 0.6644 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.6452, allocations: 71.97 kB / 0.6644 GB, free: 11.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004648/0.6457, allocations: 339.1 kB / 0.6648 GB, free: 11.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6457, allocations: 0 / 0.6648 GB, free: 11.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003378/0.6491, allocations: 1.213 MB / 0.666 GB, free: 9.898 MB / 0.545 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.003726/0.6528, allocations: 1.142 MB / 0.6671 GB, free: 8.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006812/0.6596, allocations: 3.434 MB / 0.6704 GB, free: 5.262 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6596, allocations: 0.5625 kB / 0.6704 GB, free: 5.262 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004805/0.6644, allocations: 2.44 MB / 0.6728 GB, free: 2.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/0.668, allocations: 0.6908 MB / 0.6735 GB, free: 2.117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1796/0.8476, allocations: 5.375 MB / 0.6787 GB, free: 220.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.8488, allocations: 1.01 MB / 0.6797 GB, free: 220.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008846/0.8497, allocations: 380 kB / 0.6801 GB, free: 220.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.8498, allocations: 65.09 kB / 0.6801 GB, free: 220.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/0.8499, allocations: 3.219 kB / 0.6801 GB, free: 220.2 MB / 0.545 GB Notification: Performance of Templates: time 0.07435/0.9242, allocations: 67.11 MB / 0.7457 GB, free: 165.2 MB / 0.545 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.281130135059357] Failed to read output from testmodel.py, exit status != 0: 0.932692639529705 0.941461286 0.534852291 Calling exit ...