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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00172/0.00172, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 223.1 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009953/0.0009954, allocations: 94.42 kB / 270.5 MB, free: 8.461 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3786/0.3786, allocations: 48.84 MB / 366.7 MB, free: 46.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 51.92 kB / 436.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1047, allocations: 59.15 MB / 495.8 MB, free: 148 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3197/0.4245, allocations: 159.5 MB / 0.6399 GB, free: 3.508 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.4362, allocations: 10.62 MB / 0.6503 GB, free: 8.918 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.4365, allocations: 5.812 kB / 0.6503 GB, free: 8.914 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.4369, allocations: 79.53 kB / 0.6504 GB, free: 8.836 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004163/0.4411, allocations: 1.683 MB / 0.652 GB, free: 7.16 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005654/0.4468, allocations: 2.1 MB / 0.6541 GB, free: 5.066 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.4489, allocations: 2.433 MB / 0.6564 GB, free: 2.629 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005045/0.4494, allocations: 480.8 kB / 0.6569 GB, free: 2.164 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005559/0.45, allocations: 0.5222 MB / 0.6574 GB, free: 1.641 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.4527, allocations: 1.516 MB / 0.6589 GB, free: 112 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.4528, allocations: 52 kB / 0.6589 GB, free: 60 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00918/0.462, allocations: 5.858 MB / 0.6647 GB, free: 10.2 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00053/0.4626, allocations: 0.5182 MB / 0.6652 GB, free: 9.676 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006855/0.4633, allocations: 0.5912 MB / 0.6657 GB, free: 9.082 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0066/0.4699, allocations: 4.346 MB / 0.67 GB, free: 4.727 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4699, allocations: 0 / 0.67 GB, free: 4.727 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4699, allocations: 0 / 0.67 GB, free: 4.727 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.4699, allocations: 0 / 0.67 GB, free: 4.727 MB / 490.7 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.004295/0.4742, allocations: 1.836 MB / 0.6718 GB, free: 2.844 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4743, allocations: 11.97 kB / 0.6718 GB, free: 2.832 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.4766, allocations: 279.5 kB / 0.6721 GB, free: 2.559 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.4775, allocations: 0.5966 MB / 0.6726 GB, free: 1.918 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.4776, allocations: 74.31 kB / 0.6727 GB, free: 1.844 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.4778, allocations: 96.5 kB / 0.6728 GB, free: 1.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.4807, allocations: 1.667 MB / 0.6744 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.4808, allocations: 0 / 0.6744 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.4809, allocations: 44.02 kB / 0.6745 GB, free: 15.98 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.4809, allocations: 24 kB / 0.6745 GB, free: 15.96 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/0.4841, allocations: 1.686 MB / 0.6761 GB, free: 14.27 MB / 0.4949 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.0069/0.4911, allocations: 5.614 MB / 0.6816 GB, free: 8.297 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003645/0.4947, allocations: 2.04 MB / 0.6836 GB, free: 6.254 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.4961, allocations: 0.9578 MB / 0.6845 GB, free: 5.297 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.211/0.7071, allocations: 20.04 MB / 0.7041 GB, free: 156.2 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.7072, allocations: 55.53 kB / 0.7042 GB, free: 156.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=180): time 3.537e-06/0.7072, allocations: 0 / 0.7042 GB, free: 156.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=180): time 0.0667/0.7739, allocations: 14.66 MB / 0.7185 GB, free: 153.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.774, allocations: 70.28 kB / 0.7186 GB, free: 153.5 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.7744, allocations: 450.8 kB / 0.719 GB, free: 153.2 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.7745, allocations: 55.23 kB / 0.719 GB, free: 153.1 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.7747, allocations: 271.5 kB / 0.7193 GB, free: 152.9 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.000364/0.775, allocations: 0.6118 MB / 0.7199 GB, free: 152.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/0.7754, allocations: 291.9 kB / 0.7202 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.7755, allocations: 331.3 kB / 0.7205 GB, free: 151.9 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.7766, allocations: 0.7385 MB / 0.7212 GB, free: 151.6 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.7778, allocations: 0.9529 MB / 0.7221 GB, free: 151 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/0.7802, allocations: 1.884 MB / 0.724 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.7803, allocations: 1.594 kB / 0.724 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004246/0.7845, allocations: 2.748 MB / 0.7267 GB, free: 148.6 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.7846, allocations: 6.719 kB / 0.7267 GB, free: 148.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.7846, allocations: 4.188 kB / 0.7267 GB, free: 148.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/0.795, allocations: 2.237 MB / 0.7289 GB, free: 147.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/0.7958, allocations: 166 kB / 0.729 GB, free: 147.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005122/0.8009, allocations: 3.536 MB / 0.7325 GB, free: 145.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009141/0.8018, allocations: 141.4 kB / 0.7326 GB, free: 145.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.802, allocations: 74.59 kB / 0.7327 GB, free: 145.5 MB / 0.4949 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.0004071/0.8024, allocations: 329.7 kB / 0.733 GB, free: 145.3 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.8026, allocations: 103.1 kB / 0.7331 GB, free: 145.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009528/0.8121, allocations: 9.38 MB / 0.7422 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.638e-05/0.8122, allocations: 111.8 kB / 0.7424 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.8122, allocations: 0 / 0.7424 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.8123, allocations: 23.88 kB / 0.7424 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009371/0.8217, allocations: 10.76 MB / 0.7529 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.8217, allocations: 0 / 0.7529 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.8222, allocations: 119.6 kB / 0.753 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01093/0.8331, allocations: 4.998 MB / 0.7579 GB, free: 123.6 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.8333, allocations: 51.98 kB / 0.7579 GB, free: 123.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007521/0.8408, allocations: 7.875 MB / 0.7656 GB, free: 115.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.8409, allocations: 9.672 kB / 0.7656 GB, free: 115.7 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009935/0.8508, allocations: 11.28 MB / 0.7766 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000821/0.8517, allocations: 0.6098 MB / 0.7772 GB, free: 103.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.8518, allocations: 63.67 kB / 0.7773 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/0.8527, allocations: 87.06 kB / 0.7774 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.8529, allocations: 134.5 kB / 0.7775 GB, free: 103.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.853, allocations: 71.97 kB / 0.7776 GB, free: 103.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0003607/0.8534, allocations: 414.8 kB / 0.778 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8534, allocations: 0 / 0.778 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002564/0.856, allocations: 1.207 MB / 0.7792 GB, free: 101.7 MB / 0.4949 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.003236/0.8592, allocations: 1.028 MB / 0.7802 GB, free: 100.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.005442/0.8647, allocations: 3.375 MB / 0.7835 GB, free: 97.45 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8647, allocations: 0 / 0.7835 GB, free: 97.45 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003802/0.8685, allocations: 2.703 MB / 0.7861 GB, free: 94.76 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/0.8718, allocations: 0.7251 MB / 0.7868 GB, free: 94.05 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007193/0.8791, allocations: 8.92 MB / 0.7955 GB, free: 85.12 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008438/0.8799, allocations: 1.753 MB / 0.7972 GB, free: 83.33 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0008096/0.8807, allocations: 390 kB / 0.7976 GB, free: 82.96 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.8809, allocations: 71.42 kB / 0.7977 GB, free: 82.89 MB / 0.4949 GB Notification: Performance of SimCode: time 8.21e-07/0.8809, allocations: 0 / 0.7977 GB, free: 82.89 MB / 0.4949 GB Notification: Performance of Templates: time 0.07649/0.9574, allocations: 73.05 MB / 0.869 GB, free: 9.902 MB / 0.4949 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1)