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.000825/0.000825, allocations: 84.19 kB / 16.31 MB, free: 6.453 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.0008697/0.0008696, allocations: 179.4 kB / 17.21 MB, free: 6.328 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.604/1.604, allocations: 205.4 MB / 223.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4191/0.4191, allocations: 48.78 MB / 320.4 MB, free: 3.805 MB / 254.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.0005175/0.0005176, allocations: 12 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1112, allocations: 60.27 MB / 451.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.345/0.4562, allocations: 146.4 MB / 0.5838 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.4667, allocations: 9.273 MB / 0.5928 GB, free: 1.508 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005023/0.4673, allocations: 7.938 kB / 0.5928 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.4677, allocations: 75.45 kB / 0.5929 GB, free: 1.426 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005093/0.4728, allocations: 1.68 MB / 0.5946 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006384/0.4792, allocations: 1.989 MB / 0.5965 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002133/0.4813, allocations: 2.046 MB / 0.5985 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000596/0.4819, allocations: 463.8 kB / 0.5989 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006225/0.4826, allocations: 0.53 MB / 0.5995 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003559/0.4861, allocations: 2.15 MB / 0.6016 GB, free: 8.582 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.4863, allocations: 55.98 kB / 0.6016 GB, free: 8.527 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/0.4974, allocations: 5.638 MB / 0.6071 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008314/0.4983, allocations: 0.5378 MB / 0.6076 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004647/0.4988, allocations: 233.2 kB / 0.6079 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005626/0.5044, allocations: 2.935 MB / 0.6107 GB, free: 15.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.5044, allocations: 0 / 0.6107 GB, free: 15.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.349e-06/0.5045, allocations: 0 / 0.6107 GB, free: 15.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.5045, allocations: 0 / 0.6107 GB, free: 15.16 MB / 494.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.004353/0.5089, allocations: 1.653 MB / 0.6123 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5089, allocations: 12.03 kB / 0.6124 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/0.5113, allocations: 282.5 kB / 0.6126 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009177/0.5123, allocations: 0.5877 MB / 0.6132 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/0.5123, allocations: 70 kB / 0.6133 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.5125, allocations: 88 kB / 0.6133 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.5155, allocations: 1.663 MB / 0.615 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5156, allocations: 3.938 kB / 0.615 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5157, allocations: 40 kB / 0.615 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.5157, allocations: 24 kB / 0.615 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/0.5188, allocations: 1.694 MB / 0.6167 GB, free: 8.918 MB / 494.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.006219/0.525, allocations: 5.614 MB / 0.6222 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.5285, allocations: 2.039 MB / 0.6242 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2191/0.7476, allocations: 0.9624 MB / 0.6251 GB, free: 153.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03511/0.7828, allocations: 20.23 MB / 0.6449 GB, free: 142 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.7829, allocations: 56.14 kB / 0.6449 GB, free: 142 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 3.426e-06/0.7829, allocations: 0 / 0.6449 GB, free: 142 MB / 494.1 MB Notification: Performance of matching and sorting (n=180): time 0.05883/0.8417, allocations: 14.21 MB / 0.6588 GB, free: 139 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.8418, allocations: 70.5 kB / 0.6589 GB, free: 138.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/0.8422, allocations: 445.5 kB / 0.6593 GB, free: 138.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.912e-05/0.8423, allocations: 55.52 kB / 0.6593 GB, free: 138.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.8425, allocations: 259.8 kB / 0.6596 GB, free: 138.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.8429, allocations: 0.6145 MB / 0.6602 GB, free: 137.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/0.843, allocations: 34.41 kB / 0.6602 GB, free: 137.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8431, allocations: 401.5 kB / 0.6606 GB, free: 137.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.8442, allocations: 0.74 MB / 0.6613 GB, free: 137.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.8454, allocations: 0.9522 MB / 0.6623 GB, free: 136.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.8467, allocations: 0.9072 MB / 0.6631 GB, free: 136.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.8467, allocations: 1.219 kB / 0.6631 GB, free: 136.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00428/0.851, allocations: 2.746 MB / 0.6658 GB, free: 134.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.851, allocations: 6.375 kB / 0.6658 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.851, allocations: 9.109 kB / 0.6658 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009106/0.8601, allocations: 2.231 MB / 0.668 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007248/0.8609, allocations: 166.5 kB / 0.6682 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004822/0.8657, allocations: 3.529 MB / 0.6716 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000959/0.8667, allocations: 148.6 kB / 0.6718 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.8669, allocations: 77.55 kB / 0.6718 GB, free: 131.6 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 100} Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.8673, allocations: 332.1 kB / 0.6722 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.8674, allocations: 97.44 kB / 0.6722 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009049/0.8765, allocations: 9.37 MB / 0.6814 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.186e-05/0.8766, allocations: 111.8 kB / 0.6815 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.8766, allocations: 0 / 0.6815 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.8767, allocations: 15.95 kB / 0.6815 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009401/0.8861, allocations: 10.74 MB / 0.692 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.8861, allocations: 1 kB / 0.692 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/0.8866, allocations: 123.8 kB / 0.6921 GB, free: 111.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01021/0.8968, allocations: 4.981 MB / 0.697 GB, free: 106.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000365/0.8973, allocations: 51.98 kB / 0.697 GB, free: 106.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007546/0.9048, allocations: 7.852 MB / 0.7047 GB, free: 98.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9049, allocations: 0 / 0.7047 GB, free: 98.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006872/0.9117, allocations: 7.508 MB / 0.712 GB, free: 90.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007286/0.9125, allocations: 0.6525 MB / 0.7127 GB, free: 90.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.9127, allocations: 40 kB / 0.7127 GB, free: 90.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007082/0.9134, allocations: 91.78 kB / 0.7128 GB, free: 90.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.9136, allocations: 133.8 kB / 0.7129 GB, free: 90.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.9137, allocations: 72.86 kB / 0.713 GB, free: 89.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003647/0.9141, allocations: 406.8 kB / 0.7134 GB, free: 89.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9141, allocations: 0 / 0.7134 GB, free: 89.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002714/0.9168, allocations: 1.202 MB / 0.7146 GB, free: 88.4 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 147} Notification: Performance of Backend phase and start with SimCode phase: time 0.0034/0.9202, allocations: 1.016 MB / 0.7155 GB, free: 87.55 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005367/0.9256, allocations: 3.383 MB / 0.7189 GB, free: 84.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9256, allocations: 0 / 0.7189 GB, free: 84.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003625/0.9293, allocations: 2.707 MB / 0.7215 GB, free: 81.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/0.9322, allocations: 0.7299 MB / 0.7222 GB, free: 80.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005769/0.938, allocations: 6.26 MB / 0.7283 GB, free: 74.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/0.9387, allocations: 1.586 MB / 0.7299 GB, free: 72.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008388/0.9396, allocations: 390.9 kB / 0.7302 GB, free: 72.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.9398, allocations: 67.42 kB / 0.7303 GB, free: 72.39 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.9398, allocations: 0 / 0.7303 GB, free: 72.39 MB / 494.1 MB Notification: Performance of Templates: time 0.07681/1.017, allocations: 70.09 MB / 0.7988 GB, free: 2.27 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: