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.001614/0.001614, allocations: 92.91 kB / 16.65 MB, free: 6.535 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.001394/0.001395, allocations: 176.5 kB / 17.56 MB, free: 6.18 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.419/1.419, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2932/0.2932, allocations: 48.79 MB / 320.8 MB, free: 11.19 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.0005342/0.0005342, allocations: 18.11 kB / 391.8 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 60.26 MB / 452.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4053/0.5088, allocations: 157.4 MB / 0.5952 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.5207, allocations: 10.45 MB / 0.6054 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.5212, allocations: 6.625 kB / 0.6054 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.5216, allocations: 83.69 kB / 0.6055 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004749/0.5264, allocations: 1.686 MB / 0.6072 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008442/0.5348, allocations: 2.107 MB / 0.6092 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.5374, allocations: 2.43 MB / 0.6116 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009445/0.5383, allocations: 475 kB / 0.612 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.5394, allocations: 0.5141 MB / 0.6125 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/0.5425, allocations: 1.518 MB / 0.614 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.5428, allocations: 52.25 kB / 0.6141 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/0.5539, allocations: 5.841 MB / 0.6198 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007979/0.5547, allocations: 0.5183 MB / 0.6203 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.5561, allocations: 0.6128 MB / 0.6209 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.5662, allocations: 4.313 MB / 0.6251 GB, free: 13.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.5662, allocations: 4 kB / 0.6251 GB, free: 13.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5662, allocations: 0 / 0.6251 GB, free: 13.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.007e-05/0.5663, allocations: 0 / 0.6251 GB, free: 13.3 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.005768/0.5721, allocations: 1.634 MB / 0.6267 GB, free: 11.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.924e-05/0.5722, allocations: 12.03 kB / 0.6267 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002832/0.575, allocations: 279.5 kB / 0.627 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.5764, allocations: 0.6044 MB / 0.6276 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.094e-05/0.5765, allocations: 67.75 kB / 0.6276 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/0.5768, allocations: 100.5 kB / 0.6277 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003762/0.5806, allocations: 1.671 MB / 0.6294 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.5806, allocations: 0 / 0.6294 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.5808, allocations: 40 kB / 0.6294 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.5808, allocations: 24 kB / 0.6294 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.5842, allocations: 1.701 MB / 0.6311 GB, free: 7.031 MB / 446.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.007821/0.5921, allocations: 5.621 MB / 0.6366 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004023/0.5961, allocations: 2.041 MB / 0.6386 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.5977, allocations: 0.9632 MB / 0.6395 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04706/0.6447, allocations: 20.25 MB / 0.6593 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.958e-05/0.6449, allocations: 52.56 kB / 0.6593 GB, free: 7.512 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 4.889e-06/0.6449, allocations: 0 / 0.6593 GB, free: 7.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=180): time 0.07096/0.7159, allocations: 14.74 MB / 0.6737 GB, free: 8.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.7159, allocations: 69.41 kB / 0.6738 GB, free: 8.648 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/0.7165, allocations: 453.8 kB / 0.6742 GB, free: 8.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.7167, allocations: 49.7 kB / 0.6743 GB, free: 8.141 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.7169, allocations: 269.8 kB / 0.6745 GB, free: 7.871 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000601/0.7175, allocations: 0.6083 MB / 0.6751 GB, free: 7.254 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.7177, allocations: 129.6 kB / 0.6752 GB, free: 7.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7179, allocations: 334 kB / 0.6756 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.7192, allocations: 0.7456 MB / 0.6763 GB, free: 6.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.7206, allocations: 0.9626 MB / 0.6772 GB, free: 5.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/0.7235, allocations: 1.89 MB / 0.6791 GB, free: 3.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.7235, allocations: 0 / 0.6791 GB, free: 3.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00478/0.7283, allocations: 2.769 MB / 0.6818 GB, free: 296 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.7284, allocations: 8 kB / 0.6818 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.7284, allocations: 4 kB / 0.6818 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/0.7389, allocations: 2.237 MB / 0.684 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/0.7397, allocations: 171.8 kB / 0.6841 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/0.746, allocations: 3.545 MB / 0.6876 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.7471, allocations: 154.5 kB / 0.6878 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.7474, allocations: 67.97 kB / 0.6878 GB, free: 10.08 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.0005956/0.748, allocations: 325.5 kB / 0.6881 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.7482, allocations: 106.9 kB / 0.6882 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/0.761, allocations: 9.385 MB / 0.6974 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00011/0.7612, allocations: 119.8 kB / 0.6975 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.7612, allocations: 0 / 0.6975 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.997e-05/0.7612, allocations: 11.95 kB / 0.6975 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/0.7744, allocations: 10.78 MB / 0.708 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.7745, allocations: 0 / 0.708 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.7751, allocations: 119.8 kB / 0.7082 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01319/0.7883, allocations: 4.993 MB / 0.713 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003871/0.7887, allocations: 55.91 kB / 0.7131 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.7991, allocations: 7.889 MB / 0.7208 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7991, allocations: 0 / 0.7208 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009344/0.8084, allocations: 7.554 MB / 0.7282 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2047/1.013, allocations: 0.6425 MB / 0.7288 GB, free: 210.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/1.014, allocations: 40.33 kB / 0.7288 GB, free: 210.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.015, allocations: 90.97 kB / 0.7289 GB, free: 210.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003167/1.015, allocations: 136.8 kB / 0.7291 GB, free: 210.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.015, allocations: 70.33 kB / 0.7291 GB, free: 210.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000601/1.016, allocations: 412.5 kB / 0.7295 GB, free: 210.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.016, allocations: 0 / 0.7295 GB, free: 210.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00369/1.019, allocations: 1.193 MB / 0.7307 GB, free: 210.6 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: 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.004405/1.024, allocations: 1.025 MB / 0.7317 GB, free: 210.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007804/1.032, allocations: 3.396 MB / 0.735 GB, free: 210.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.032, allocations: 0 / 0.735 GB, free: 210.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005092/1.037, allocations: 2.714 MB / 0.7376 GB, free: 209.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/1.041, allocations: 0.7234 MB / 0.7384 GB, free: 209.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008142/1.049, allocations: 6.337 MB / 0.7445 GB, free: 206.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.05, allocations: 1.588 MB / 0.7461 GB, free: 205.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001206/1.051, allocations: 392 kB / 0.7465 GB, free: 205.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/1.052, allocations: 70.83 kB / 0.7465 GB, free: 205.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.253e-06/1.052, allocations: 0 / 0.7465 GB, free: 205.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.08112/1.133, allocations: 70.68 MB / 0.8156 GB, free: 140.3 MB / 0.5294 GB 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: