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.001503/0.001503, allocations: 104.5 kB / 17.06 MB, free: 6.016 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.001515/0.001515, allocations: 196 kB / 18 MB, free: 5.094 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.4/1.4, allocations: 205.1 MB / 223.9 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.2842/0.2842, allocations: 48.84 MB / 320.1 MB, free: 11.02 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.00146/0.00146, allocations: 71.89 kB / 450.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1299, allocations: 59.16 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4191/0.549, allocations: 160.8 MB / 0.6547 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.5611, allocations: 9.924 MB / 0.6644 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.5615, allocations: 7.938 kB / 0.6644 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.5619, allocations: 99.27 kB / 0.6645 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005344/0.5673, allocations: 2.097 MB / 0.6666 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007163/0.5745, allocations: 2.585 MB / 0.6691 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.5765, allocations: 2.009 MB / 0.6711 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006564/0.5772, allocations: 0.5251 MB / 0.6716 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006662/0.5778, allocations: 0.5965 MB / 0.6722 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.5806, allocations: 1.476 MB / 0.6736 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.5808, allocations: 100 kB / 0.6737 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/0.5916, allocations: 5.937 MB / 0.6795 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006707/0.5923, allocations: 0.5612 MB / 0.6801 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008241/0.5931, allocations: 0.6303 MB / 0.6807 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009566/0.6027, allocations: 4.366 MB / 0.6849 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.6027, allocations: 8 kB / 0.6849 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6028, allocations: 4 kB / 0.6849 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.027e-05/0.6028, allocations: 0 / 0.6849 GB, free: 10.04 MB / 0.5294 GB 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.004895/0.6077, allocations: 1.833 MB / 0.6867 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.6077, allocations: 11.89 kB / 0.6867 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.6102, allocations: 279.5 kB / 0.687 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.6116, allocations: 0.6082 MB / 0.6876 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.6116, allocations: 74.38 kB / 0.6877 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.6118, allocations: 88.56 kB / 0.6878 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00344/0.6153, allocations: 1.667 MB / 0.6894 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.6153, allocations: 0 / 0.6894 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.6154, allocations: 40 kB / 0.6894 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.6155, allocations: 28 kB / 0.6895 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003325/0.6188, allocations: 1.682 MB / 0.6911 GB, free: 3.602 MB / 0.5294 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.007322/0.6261, allocations: 5.618 MB / 0.6966 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/0.6299, allocations: 2.039 MB / 0.6986 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.6313, allocations: 0.9632 MB / 0.6995 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04462/0.6759, allocations: 20.14 MB / 0.7192 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.676, allocations: 48.56 kB / 0.7192 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 4.087e-06/0.676, allocations: 0 / 0.7192 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.07158/0.7476, allocations: 14.67 MB / 0.7336 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.7477, allocations: 69.41 kB / 0.7336 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006067/0.7483, allocations: 445.9 kB / 0.734 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.7485, allocations: 53.7 kB / 0.7341 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.7487, allocations: 269.9 kB / 0.7344 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006186/0.7494, allocations: 0.6082 MB / 0.735 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004861/0.7499, allocations: 295.5 kB / 0.7352 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.75, allocations: 338 kB / 0.7356 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.7513, allocations: 0.7378 MB / 0.7363 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.7528, allocations: 0.9548 MB / 0.7372 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/0.756, allocations: 1.883 MB / 0.739 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.756, allocations: 0 / 0.739 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004951/0.761, allocations: 2.75 MB / 0.7417 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.7611, allocations: 8 kB / 0.7417 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.7611, allocations: 4 kB / 0.7417 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/0.7716, allocations: 2.238 MB / 0.7439 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000776/0.7724, allocations: 163.8 kB / 0.7441 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/0.7786, allocations: 3.537 MB / 0.7475 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.7798, allocations: 138.5 kB / 0.7477 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.78, allocations: 67.97 kB / 0.7477 GB, free: 6.766 MB / 0.5919 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.000587/0.7806, allocations: 341.4 kB / 0.7481 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.7809, allocations: 98.88 kB / 0.7482 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2668/1.048, allocations: 9.337 MB / 0.7573 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000239/1.048, allocations: 112.7 kB / 0.7574 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.137e-05/1.048, allocations: 3.562 kB / 0.7574 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-05/1.048, allocations: 11.44 kB / 0.7574 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02265/1.071, allocations: 10.77 MB / 0.7679 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.387e-05/1.071, allocations: 1.094 kB / 0.7679 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/1.072, allocations: 115.9 kB / 0.768 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01382/1.085, allocations: 4.841 MB / 0.7728 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/1.086, allocations: 51.91 kB / 0.7728 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/1.097, allocations: 7.873 MB / 0.7805 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.097, allocations: 0 / 0.7805 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009021/1.106, allocations: 7.549 MB / 0.7879 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000996/1.107, allocations: 0.6038 MB / 0.7885 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/1.107, allocations: 62.83 kB / 0.7885 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008775/1.108, allocations: 75.77 kB / 0.7886 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/1.108, allocations: 136 kB / 0.7887 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.108, allocations: 74.38 kB / 0.7888 GB, free: 203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004398/1.109, allocations: 411.1 kB / 0.7892 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/1.109, allocations: 1.219 kB / 0.7892 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002895/1.112, allocations: 1.191 MB / 0.7903 GB, free: 202.7 MB / 0.5919 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.003809/1.115, allocations: 1.008 MB / 0.7913 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005829/1.121, allocations: 3.431 MB / 0.7947 GB, free: 200.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.121, allocations: 0 / 0.7947 GB, free: 200.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00414/1.125, allocations: 2.754 MB / 0.7974 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.129, allocations: 0.7387 MB / 0.7981 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/1.135, allocations: 5.19 MB / 0.8032 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008054/1.136, allocations: 1.591 MB / 0.8047 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007709/1.136, allocations: 383.2 kB / 0.8051 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/1.137, allocations: 74.33 kB / 0.8051 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/1.137, allocations: 0 / 0.8051 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.08745/1.224, allocations: 75.57 MB / 0.879 GB, free: 113.9 MB / 0.5919 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)