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.001114/0.001114, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.735/1.735, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001082/0.001082, allocations: 86.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3408/0.3408, allocations: 48.77 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.228e-05, allocations: 4 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1404, allocations: 60.24 MB / 492.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.618/9.758, allocations: 3.2 GB / 3.682 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/9.759, allocations: 83.95 kB / 3.682 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7904/10.55, allocations: 214.3 MB / 3.891 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.523e-06/10.55, allocations: 0 / 3.891 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.745e-05/10.55, allocations: 23.98 kB / 3.891 GB, free: 4.539 MB / 0.5105 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.005864/10.56, allocations: 1.602 MB / 3.893 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/10.56, allocations: 8.031 kB / 3.893 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/10.56, allocations: 290.5 kB / 3.893 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/10.56, allocations: 0.677 MB / 3.893 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/10.56, allocations: 70 kB / 3.894 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/10.56, allocations: 95.95 kB / 3.894 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.315/10.87, allocations: 1.712 MB / 3.895 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/10.87, allocations: 7.688 kB / 3.895 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003251/10.87, allocations: 43.59 kB / 3.895 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.705e-05/10.87, allocations: 24.5 kB / 3.895 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003839/10.88, allocations: 1.677 MB / 3.897 GB, free: 86.88 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.006202/10.88, allocations: 5.571 MB / 3.902 GB, free: 84.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/10.89, allocations: 2.071 MB / 3.904 GB, free: 84.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/10.89, allocations: 0.9415 MB / 3.905 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03978/10.93, allocations: 20.01 MB / 3.925 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/10.93, allocations: 56.55 kB / 3.925 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=180): time 4.629e-06/10.93, allocations: 2.875 kB / 3.925 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=180): time 0.008329/10.94, allocations: 3.061 MB / 3.928 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/10.94, allocations: 72.06 kB / 3.928 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/10.94, allocations: 384.1 kB / 3.928 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/10.94, allocations: 53.98 kB / 3.928 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/10.94, allocations: 265.6 kB / 3.929 GB, free: 72.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006269/10.94, allocations: 0.6147 MB / 3.929 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/10.94, allocations: 32.47 kB / 3.929 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001635/10.94, allocations: 408.1 kB / 3.93 GB, free: 71.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/10.94, allocations: 0.7076 MB / 3.93 GB, free: 71.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/10.94, allocations: 0.9247 MB / 3.931 GB, free: 71.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/10.94, allocations: 0.8818 MB / 3.932 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/10.94, allocations: 2.75 kB / 3.932 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004935/10.95, allocations: 2.675 MB / 3.935 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/10.95, allocations: 7.656 kB / 3.935 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/10.95, allocations: 3.5 kB / 3.935 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/10.96, allocations: 2.212 MB / 3.937 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/10.96, allocations: 168.4 kB / 3.937 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005353/10.97, allocations: 3.413 MB / 3.94 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/10.97, allocations: 154.5 kB / 3.941 GB, free: 70.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/10.97, allocations: 75.42 kB / 3.941 GB, free: 70.78 MB / 0.5105 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 () * 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.0003417/10.97, allocations: 180.4 kB / 3.941 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/10.97, allocations: 101.5 kB / 3.941 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/10.98, allocations: 9.245 MB / 3.95 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/10.98, allocations: 111.6 kB / 3.95 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/10.98, allocations: 3.5 kB / 3.95 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/10.98, allocations: 10.92 kB / 3.95 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/10.99, allocations: 10.73 MB / 3.961 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/10.99, allocations: 3.953 kB / 3.961 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/10.99, allocations: 121.2 kB / 3.961 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01346/11, allocations: 5.941 MB / 3.967 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004023/11.01, allocations: 50.72 kB / 3.967 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00931/11.01, allocations: 7.738 MB / 3.974 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/11.01, allocations: 0 / 3.974 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008652/11.02, allocations: 7.484 MB / 3.981 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/11.02, allocations: 0.6396 MB / 3.982 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/11.02, allocations: 43.84 kB / 3.982 GB, free: 59.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/11.03, allocations: 83.06 kB / 3.982 GB, free: 59.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/11.03, allocations: 137.8 kB / 3.982 GB, free: 59.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/11.03, allocations: 80.5 kB / 3.982 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004856/11.03, allocations: 399.1 kB / 3.983 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/11.03, allocations: 0 / 3.983 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004744/11.03, allocations: 1.208 MB / 3.984 GB, free: 59.43 MB / 0.5105 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 () * 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.006747/11.04, allocations: 1.279 MB / 3.985 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006235/11.04, allocations: 3.228 MB / 3.988 GB, free: 58.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/11.04, allocations: 4 kB / 3.988 GB, free: 58.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004354/11.05, allocations: 2.577 MB / 3.991 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/11.05, allocations: 0.6951 MB / 3.992 GB, free: 57.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/11.06, allocations: 4.202 MB / 3.996 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/11.06, allocations: 1.632 MB / 3.997 GB, free: 54.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008419/11.06, allocations: 371.6 kB / 3.998 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/11.06, allocations: 75.8 kB / 3.998 GB, free: 54.62 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/11.06, allocations: 0 / 3.998 GB, free: 54.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.07732/11.14, allocations: 63.03 MB / 4.059 GB, free: 20.94 MB / 0.5105 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)