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.001969/0.001969, allocations: 172.2 kB / 17.39 MB, free: 4.309 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.806/1.806, allocations: 205.4 MB / 223.5 MB, free: 9.031 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.000872/0.0008722, allocations: 86.22 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5915/0.5915, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004815, allocations: 16 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1732, allocations: 60.25 MB / 0.4884 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.296/8.47, allocations: 3.201 GB / 3.689 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/8.47, allocations: 79.83 kB / 3.689 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.81/9.28, allocations: 214.6 MB / 3.899 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.565e-06/9.28, allocations: 0 / 3.899 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.742e-05/9.28, allocations: 28 kB / 3.899 GB, free: 11.32 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.009392/9.29, allocations: 1.657 MB / 3.9 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/9.29, allocations: 8.031 kB / 3.901 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/9.292, allocations: 279.5 kB / 3.901 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/9.295, allocations: 0.6997 MB / 3.901 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/9.295, allocations: 66.38 kB / 3.902 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005379/9.295, allocations: 92.38 kB / 3.902 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004393/9.3, allocations: 1.709 MB / 3.903 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/9.3, allocations: 3.938 kB / 3.903 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/9.3, allocations: 44 kB / 3.903 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/9.3, allocations: 24 kB / 3.903 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00363/9.304, allocations: 1.682 MB / 3.905 GB, free: 4.906 MB / 0.5105 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.3796/9.683, allocations: 5.568 MB / 3.91 GB, free: 75.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004955/9.688, allocations: 2.037 MB / 3.912 GB, free: 75.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/9.69, allocations: 0.9727 MB / 3.913 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03901/9.729, allocations: 19.95 MB / 3.933 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.493e-05/9.729, allocations: 48.97 kB / 3.933 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=180): time 4.949e-06/9.729, allocations: 0 / 3.933 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=180): time 0.06552/9.795, allocations: 14.98 MB / 3.948 GB, free: 64.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/9.795, allocations: 79.23 kB / 3.948 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007453/9.796, allocations: 443 kB / 3.948 GB, free: 64.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/9.796, allocations: 56.39 kB / 3.948 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/9.796, allocations: 269.6 kB / 3.948 GB, free: 64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008784/9.797, allocations: 0.6082 MB / 3.949 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/9.797, allocations: 29.19 kB / 3.949 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002678/9.797, allocations: 406.9 kB / 3.949 GB, free: 63.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/9.799, allocations: 0.7452 MB / 3.95 GB, free: 63.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/9.8, allocations: 0.9531 MB / 3.951 GB, free: 63.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/9.804, allocations: 1.887 MB / 3.953 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/9.804, allocations: 0 / 3.953 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005564/9.81, allocations: 2.742 MB / 3.956 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/9.81, allocations: 6.406 kB / 3.956 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/9.81, allocations: 5.156 kB / 3.956 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01256/9.822, allocations: 2.23 MB / 3.958 GB, free: 62.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/9.823, allocations: 170.4 kB / 3.958 GB, free: 62.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00853/9.832, allocations: 3.446 MB / 3.961 GB, free: 62.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/9.834, allocations: 149 kB / 3.961 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/9.834, allocations: 75.17 kB / 3.961 GB, free: 62.2 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 () * 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 (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.0009814/9.835, allocations: 323 kB / 3.962 GB, free: 62.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/9.835, allocations: 102.9 kB / 3.962 GB, free: 62.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/9.853, allocations: 9.325 MB / 3.971 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001672/9.853, allocations: 112.1 kB / 3.971 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/9.853, allocations: 3.938 kB / 3.971 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.523e-05/9.853, allocations: 13.69 kB / 3.971 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/9.87, allocations: 10.74 MB / 3.982 GB, free: 60.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/9.87, allocations: 0 / 3.982 GB, free: 60.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/9.87, allocations: 117.3 kB / 3.982 GB, free: 60.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01401/9.885, allocations: 4.985 MB / 3.987 GB, free: 59.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006056/9.885, allocations: 54.11 kB / 3.987 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/9.897, allocations: 7.777 MB / 3.994 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/9.897, allocations: 2.375 kB / 3.994 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/9.908, allocations: 7.507 MB / 4.002 GB, free: 52.72 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/9.91, allocations: 0.6449 MB / 4.002 GB, free: 52.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/9.91, allocations: 39.94 kB / 4.002 GB, free: 52.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/9.911, allocations: 83.14 kB / 4.002 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/9.912, allocations: 138.3 kB / 4.002 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/9.912, allocations: 71.8 kB / 4.002 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005951/9.912, allocations: 409 kB / 4.003 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/9.912, allocations: 0 / 4.003 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006084/9.918, allocations: 1.213 MB / 4.004 GB, free: 51.88 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 () * 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 (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.00846/9.927, allocations: 1.276 MB / 4.005 GB, free: 51.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007657/9.935, allocations: 3.31 MB / 4.009 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/9.935, allocations: 0 / 4.009 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005267/9.94, allocations: 2.623 MB / 4.011 GB, free: 49.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005743/9.946, allocations: 0.717 MB / 4.012 GB, free: 49.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/9.957, allocations: 6.249 MB / 4.018 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/9.96, allocations: 1.597 MB / 4.019 GB, free: 45.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001378/9.961, allocations: 375.2 kB / 4.02 GB, free: 45.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/9.961, allocations: 69.2 kB / 4.02 GB, free: 45.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/9.961, allocations: 0 / 4.02 GB, free: 45.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.1015/10.06, allocations: 65.14 MB / 4.083 GB, free: 10.06 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)