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.001838/0.001838, allocations: 180.7 kB / 16.38 MB, free: 5.766 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.834/1.834, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009987/0.0009988, allocations: 82.7 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5817/0.5817, allocations: 48.78 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 60.26 MB / 498.9 MB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.165/9.33, allocations: 3.2 GB / 3.688 GB, free: 18.31 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/9.33, allocations: 85.45 kB / 3.688 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7357/10.07, allocations: 214.9 MB / 3.898 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.946e-06/10.07, allocations: 0 / 3.898 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.322e-05/10.07, allocations: 20 kB / 3.898 GB, free: 14.6 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.00914/10.08, allocations: 1.669 MB / 3.899 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/10.08, allocations: 8.031 kB / 3.899 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/10.08, allocations: 279.8 kB / 3.9 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/10.08, allocations: 0.6838 MB / 3.9 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/10.08, allocations: 70 kB / 3.9 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003045/10.08, allocations: 95.95 kB / 3.9 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005258/10.09, allocations: 1.692 MB / 3.902 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/10.09, allocations: 3.938 kB / 3.902 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/10.09, allocations: 44 kB / 3.902 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/10.09, allocations: 27.94 kB / 3.902 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005124/10.09, allocations: 1.686 MB / 3.904 GB, free: 8.184 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.01022/10.1, allocations: 5.565 MB / 3.909 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005715/10.11, allocations: 2.065 MB / 3.911 GB, free: 204 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2812/10.39, allocations: 19.94 MB / 3.931 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/10.39, allocations: 59.16 kB / 3.931 GB, free: 67.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=180): time 3.857e-06/10.39, allocations: 0.9844 kB / 3.931 GB, free: 67.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=180): time 0.06333/10.45, allocations: 14.64 MB / 3.945 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/10.45, allocations: 76.19 kB / 3.945 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/10.46, allocations: 390.2 kB / 3.945 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/10.46, allocations: 54.14 kB / 3.946 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/10.46, allocations: 267 kB / 3.946 GB, free: 66.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/10.46, allocations: 0.6057 MB / 3.946 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/10.46, allocations: 32.69 kB / 3.946 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001223/10.46, allocations: 405.8 kB / 3.947 GB, free: 65.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/10.46, allocations: 0.7488 MB / 3.948 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/10.46, allocations: 0.9574 MB / 3.948 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/10.46, allocations: 0.9062 MB / 3.949 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/10.46, allocations: 3.438 kB / 3.949 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004138/10.46, allocations: 2.748 MB / 3.952 GB, free: 65.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/10.46, allocations: 5.875 kB / 3.952 GB, free: 65.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/10.46, allocations: 6.125 kB / 3.952 GB, free: 65.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01205/10.48, allocations: 2.219 MB / 3.954 GB, free: 65.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/10.48, allocations: 169 kB / 3.954 GB, free: 65.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006079/10.48, allocations: 3.444 MB / 3.958 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/10.48, allocations: 154.1 kB / 3.958 GB, free: 64.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/10.48, allocations: 70.09 kB / 3.958 GB, free: 64.92 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.0006185/10.49, allocations: 330.5 kB / 3.958 GB, free: 64.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/10.49, allocations: 100 kB / 3.958 GB, free: 64.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/10.5, allocations: 9.337 MB / 3.967 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001085/10.5, allocations: 108.4 kB / 3.968 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/10.5, allocations: 4.375 kB / 3.968 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/10.5, allocations: 11.3 kB / 3.968 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/10.51, allocations: 10.75 MB / 3.978 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/10.51, allocations: 0 / 3.978 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/10.51, allocations: 120.9 kB / 3.978 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.013/10.52, allocations: 4.969 MB / 3.983 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004519/10.52, allocations: 53.56 kB / 3.983 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008557/10.53, allocations: 7.784 MB / 3.991 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/10.53, allocations: 2.688 kB / 3.991 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00826/10.54, allocations: 7.516 MB / 3.998 GB, free: 56.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/10.54, allocations: 0.6433 MB / 3.999 GB, free: 56.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/10.54, allocations: 43.27 kB / 3.999 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009043/10.54, allocations: 84.38 kB / 3.999 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/10.54, allocations: 138.4 kB / 3.999 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/10.54, allocations: 72.89 kB / 3.999 GB, free: 56.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004797/10.55, allocations: 411.1 kB / 3.999 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/10.55, allocations: 3.469 kB / 3.999 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005692/10.55, allocations: 1.212 MB / 4.001 GB, free: 55.82 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.00581/10.56, allocations: 1.276 MB / 4.002 GB, free: 55.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006414/10.56, allocations: 3.303 MB / 4.005 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/10.56, allocations: 0 / 4.005 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/10.57, allocations: 2.622 MB / 4.008 GB, free: 53.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/10.57, allocations: 0.6892 MB / 4.008 GB, free: 53.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0083/10.58, allocations: 6.361 MB / 4.015 GB, free: 50.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/10.58, allocations: 1.636 MB / 4.016 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001113/10.58, allocations: 384.4 kB / 4.016 GB, free: 49.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/10.58, allocations: 64.53 kB / 4.017 GB, free: 49.28 MB / 0.5105 GB Notification: Performance of SimCode: time 8.21e-07/10.58, allocations: 0 / 4.017 GB, free: 49.28 MB / 0.5105 GB Notification: Performance of Templates: time 0.08457/10.67, allocations: 63.11 MB / 4.078 GB, free: 18.66 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)