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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 110 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2628/0.2628, allocations: 48.85 MB / 320.7 MB, free: 11.04 MB / 270.1 MB 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.001944/0.001944, allocations: 70.11 kB / 391.5 MB, free: 48.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.09365, allocations: 59.16 MB / 450.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3683/0.462, allocations: 160.8 MB / 0.5971 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.4776, allocations: 9.915 MB / 0.6068 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.4781, allocations: 9.281 kB / 0.6068 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004806/0.4786, allocations: 105.7 kB / 0.6069 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007902/0.4866, allocations: 2.103 MB / 0.609 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008098/0.4947, allocations: 2.574 MB / 0.6115 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002133/0.4968, allocations: 2.01 MB / 0.6134 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008905/0.4977, allocations: 0.5275 MB / 0.614 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008968/0.4987, allocations: 0.5949 MB / 0.6145 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.5019, allocations: 1.474 MB / 0.616 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.502, allocations: 100.9 kB / 0.6161 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/0.5123, allocations: 5.939 MB / 0.6219 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000584/0.5129, allocations: 0.5573 MB / 0.6224 GB, free: 9.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008144/0.5137, allocations: 0.6342 MB / 0.623 GB, free: 9.074 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008817/0.5225, allocations: 4.369 MB / 0.6273 GB, free: 4.695 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5226, allocations: 0 / 0.6273 GB, free: 4.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5226, allocations: 0 / 0.6273 GB, free: 4.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.7e-05/0.5227, allocations: 0 / 0.6273 GB, free: 4.695 MB / 446.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.005832/0.5285, allocations: 1.833 MB / 0.6291 GB, free: 2.809 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.5286, allocations: 19.88 kB / 0.6291 GB, free: 2.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/0.531, allocations: 275.5 kB / 0.6294 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.532, allocations: 0.6135 MB / 0.63 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.5321, allocations: 74.38 kB / 0.6301 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.5323, allocations: 100.5 kB / 0.6301 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.5353, allocations: 1.659 MB / 0.6318 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.5354, allocations: 3.984 kB / 0.6318 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.5355, allocations: 36 kB / 0.6318 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.5355, allocations: 24 kB / 0.6318 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/0.5388, allocations: 1.682 MB / 0.6335 GB, free: 14.25 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.007247/0.546, allocations: 5.61 MB / 0.6389 GB, free: 8.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003811/0.5499, allocations: 2.041 MB / 0.6409 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.5512, allocations: 0.9554 MB / 0.6419 GB, free: 5.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04113/0.5924, allocations: 20.15 MB / 0.6616 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.5925, allocations: 48.56 kB / 0.6616 GB, free: 14.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 3.887e-06/0.5925, allocations: 0 / 0.6616 GB, free: 14.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=180): time 0.06777/0.6602, allocations: 14.66 MB / 0.6759 GB, free: 152 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.6604, allocations: 81.39 kB / 0.676 GB, free: 56 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/0.661, allocations: 437.9 kB / 0.6764 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.6611, allocations: 53.7 kB / 0.6765 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.6613, allocations: 269.9 kB / 0.6767 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005344/0.6619, allocations: 0.6122 MB / 0.6773 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/0.6623, allocations: 295.5 kB / 0.6776 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6624, allocations: 341.9 kB / 0.6779 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.6636, allocations: 0.7455 MB / 0.6787 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.665, allocations: 0.947 MB / 0.6796 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002834/0.6679, allocations: 1.874 MB / 0.6814 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/0.6679, allocations: 4 kB / 0.6814 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004537/0.6725, allocations: 2.753 MB / 0.6841 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6725, allocations: 8 kB / 0.6841 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.6725, allocations: 7.984 kB / 0.6841 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.6832, allocations: 2.236 MB / 0.6863 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.684, allocations: 159.8 kB / 0.6865 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006261/0.6903, allocations: 3.537 MB / 0.6899 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/0.6913, allocations: 138.5 kB / 0.69 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.6915, allocations: 79.94 kB / 0.6901 GB, free: 1.402 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.0005849/0.6921, allocations: 325.5 kB / 0.6904 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/0.6924, allocations: 106.9 kB / 0.6905 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.7049, allocations: 9.346 MB / 0.6997 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001105/0.705, allocations: 111.8 kB / 0.6998 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.705, allocations: 3.938 kB / 0.6998 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/0.7051, allocations: 11.95 kB / 0.6998 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.7178, allocations: 10.78 MB / 0.7103 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.7179, allocations: 0 / 0.7103 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005478/0.7184, allocations: 115.8 kB / 0.7104 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01201/0.7305, allocations: 4.845 MB / 0.7151 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002941/0.7308, allocations: 55.97 kB / 0.7152 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.7413, allocations: 7.874 MB / 0.7229 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.7414, allocations: 0 / 0.7229 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009422/0.7508, allocations: 7.535 MB / 0.7302 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.7519, allocations: 0.6059 MB / 0.7308 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.7521, allocations: 63.73 kB / 0.7309 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007939/0.7529, allocations: 79.88 kB / 0.731 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/0.7532, allocations: 133.7 kB / 0.7311 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.7534, allocations: 71.97 kB / 0.7312 GB, free: 6.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004838/0.7539, allocations: 406.8 kB / 0.7316 GB, free: 6.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7539, allocations: 0 / 0.7316 GB, free: 6.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002978/0.7569, allocations: 1.199 MB / 0.7327 GB, free: 5.332 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: 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.003387/0.7602, allocations: 1.014 MB / 0.7337 GB, free: 4.312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0064/0.7667, allocations: 3.43 MB / 0.7371 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7667, allocations: 0 / 0.7371 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.1852/0.9519, allocations: 2.724 MB / 0.7397 GB, free: 225.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.955, allocations: 0.746 MB / 0.7405 GB, free: 225.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007089/0.9621, allocations: 5.188 MB / 0.7455 GB, free: 224.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.9632, allocations: 1.589 MB / 0.7471 GB, free: 223.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000962/0.9642, allocations: 388.3 kB / 0.7474 GB, free: 223.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.9644, allocations: 70.77 kB / 0.7475 GB, free: 223.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.543e-06/0.9644, allocations: 0 / 0.7475 GB, free: 223.4 MB / 0.545 GB Notification: Performance of Templates: time 0.4144/1.379, allocations: 73.49 MB / 0.8193 GB, free: 162.4 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile (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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1)