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.001127/0.001127, allocations: 108.3 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.001121/0.001121, allocations: 192 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.37/1.37, 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.295/0.295, allocations: 48.84 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.001533/0.001533, allocations: 66.23 kB / 391.5 MB, free: 48.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1166, allocations: 59.16 MB / 450.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4488/0.5654, allocations: 160.8 MB / 0.5971 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.5769, allocations: 9.924 MB / 0.6068 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.5773, allocations: 2.812 kB / 0.6068 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.5778, allocations: 101.8 kB / 0.6069 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005493/0.5833, allocations: 2.104 MB / 0.609 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008262/0.5916, allocations: 2.573 MB / 0.6115 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.5936, allocations: 2.01 MB / 0.6134 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006309/0.5943, allocations: 0.5288 MB / 0.614 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.5949, allocations: 0.5925 MB / 0.6145 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.5977, allocations: 1.468 MB / 0.616 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.5979, allocations: 101.1 kB / 0.6161 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/0.6091, allocations: 5.941 MB / 0.6219 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007991/0.6099, allocations: 0.5573 MB / 0.6224 GB, free: 9.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008862/0.6108, allocations: 0.6381 MB / 0.623 GB, free: 9.078 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.621, allocations: 4.362 MB / 0.6273 GB, free: 4.707 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.6211, allocations: 0 / 0.6273 GB, free: 4.707 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.39e-06/0.6211, allocations: 3.984 kB / 0.6273 GB, free: 4.703 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.6211, allocations: 3.938 kB / 0.6273 GB, free: 4.699 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.00518/0.6263, allocations: 1.833 MB / 0.6291 GB, free: 2.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.6264, allocations: 15.89 kB / 0.6291 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/0.6288, allocations: 277.4 kB / 0.6294 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.6299, allocations: 0.6161 MB / 0.63 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.63, allocations: 70.38 kB / 0.63 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.6301, allocations: 100.4 kB / 0.6301 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003366/0.6335, allocations: 1.656 MB / 0.6318 GB, free: 0 / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.6335, allocations: 7.984 kB / 0.6318 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.6337, allocations: 36 kB / 0.6318 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.6337, allocations: 24 kB / 0.6318 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003285/0.637, allocations: 1.694 MB / 0.6335 GB, free: 14.24 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.008346/0.6453, allocations: 5.598 MB / 0.6389 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/0.6491, allocations: 2.041 MB / 0.6409 GB, free: 6.234 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.6505, allocations: 0.9554 MB / 0.6419 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04155/0.6921, allocations: 20.15 MB / 0.6616 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.6922, allocations: 52.56 kB / 0.6616 GB, free: 14.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 3.858e-06/0.6922, allocations: 0 / 0.6616 GB, free: 14.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=180): time 0.06483/0.757, allocations: 14.66 MB / 0.6759 GB, free: 160 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/0.7572, allocations: 81.34 kB / 0.676 GB, free: 64 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.7578, allocations: 441.9 kB / 0.6764 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.71e-05/0.7579, allocations: 57.7 kB / 0.6765 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.7581, allocations: 265.9 kB / 0.6767 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005723/0.7587, allocations: 0.6122 MB / 0.6773 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/0.7591, allocations: 295.5 kB / 0.6776 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7593, allocations: 337.9 kB / 0.6779 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.7605, allocations: 0.7417 MB / 0.6787 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.7618, allocations: 0.9509 MB / 0.6796 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.7645, allocations: 1.878 MB / 0.6814 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.7645, allocations: 7.938 kB / 0.6814 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004581/0.7691, allocations: 2.75 MB / 0.6841 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.7691, allocations: 8 kB / 0.6841 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.7692, allocations: 4 kB / 0.6841 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/0.7793, allocations: 2.235 MB / 0.6863 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007576/0.78, allocations: 163.8 kB / 0.6865 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/0.7856, allocations: 3.537 MB / 0.6899 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.7867, allocations: 142.5 kB / 0.69 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.7868, allocations: 71.97 kB / 0.6901 GB, free: 1.41 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.0005275/0.7874, allocations: 325.5 kB / 0.6904 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.7876, allocations: 106.8 kB / 0.6905 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/0.8001, allocations: 9.346 MB / 0.6997 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/0.8003, allocations: 107.8 kB / 0.6998 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.8003, allocations: 3.938 kB / 0.6998 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.8003, allocations: 19.94 kB / 0.6998 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.8131, allocations: 10.76 MB / 0.7103 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/0.8132, allocations: 7.875 kB / 0.7103 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.8138, allocations: 115.9 kB / 0.7104 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01196/0.8257, allocations: 4.844 MB / 0.7151 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003375/0.8261, allocations: 55.98 kB / 0.7152 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.8362, allocations: 7.87 MB / 0.7229 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8363, allocations: 0 / 0.7229 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009719/0.846, allocations: 7.542 MB / 0.7302 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.8473, allocations: 0.6097 MB / 0.7308 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.8475, allocations: 55.75 kB / 0.7309 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008238/0.8483, allocations: 79.94 kB / 0.731 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/0.8486, allocations: 137.7 kB / 0.7311 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.8488, allocations: 71.97 kB / 0.7312 GB, free: 6.934 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005336/0.8493, allocations: 406.8 kB / 0.7316 GB, free: 6.535 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.733e-06/0.8493, allocations: 0 / 0.7316 GB, free: 6.535 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003776/0.8531, allocations: 1.203 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.004074/0.8572, allocations: 1.018 MB / 0.7337 GB, free: 4.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006809/0.864, allocations: 3.422 MB / 0.7371 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.8641, allocations: 0 / 0.7371 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.239/1.103, allocations: 2.73 MB / 0.7397 GB, free: 225.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005141/1.108, allocations: 0.738 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.01268/1.121, allocations: 5.189 MB / 0.7455 GB, free: 224.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/1.123, allocations: 1.594 MB / 0.7471 GB, free: 223.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001679/1.125, allocations: 388.7 kB / 0.7475 GB, free: 223.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/1.125, allocations: 73.52 kB / 0.7475 GB, free: 223.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.402e-06/1.125, allocations: 0 / 0.7475 GB, free: 223.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1215/1.247, allocations: 73.48 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 cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1)