Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002525/0.002525, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002619/0.002619, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1542/0.1542, allocations: 19.74 MB / 280.8 MB, free: 9.301 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 357.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.812e-05, allocations: 6.312 kB / 357.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3426/0.3426, allocations: 156.6 MB / 0.5018 GB, free: 1.836 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01546/0.3581, allocations: 9.798 MB / 0.5114 GB, free: 8.047 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.3584, allocations: 11.88 kB / 0.5114 GB, free: 8.035 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.3589, allocations: 107.2 kB / 0.5115 GB, free: 7.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00563/0.3645, allocations: 2.113 MB / 0.5136 GB, free: 5.809 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007537/0.372, allocations: 2.598 MB / 0.5161 GB, free: 3.203 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002592/0.3746, allocations: 2.039 MB / 0.5181 GB, free: 1.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007533/0.3754, allocations: 0.5512 MB / 0.5186 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.3765, allocations: 0.8151 MB / 0.5194 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.3802, allocations: 1.469 MB / 0.5209 GB, free: 14.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.3804, allocations: 100 kB / 0.5209 GB, free: 14.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01286/0.3933, allocations: 5.72 MB / 0.5265 GB, free: 8.484 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008778/0.3942, allocations: 0.5925 MB / 0.5271 GB, free: 7.891 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009634/0.3951, allocations: 0.4952 MB / 0.5276 GB, free: 7.395 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.4077, allocations: 5.413 MB / 0.5329 GB, free: 1.969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4077, allocations: 0 / 0.5329 GB, free: 1.969 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4077, allocations: 0 / 0.5329 GB, free: 1.969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.4078, allocations: 0 / 0.5329 GB, free: 1.969 MB / 410.7 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.005466/0.4132, allocations: 1.935 MB / 0.5348 GB, free: 15.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4133, allocations: 12.03 kB / 0.5348 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/0.416, allocations: 478.4 kB / 0.5352 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.4173, allocations: 0.5775 MB / 0.5358 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.4174, allocations: 70.38 kB / 0.5359 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.4176, allocations: 96.38 kB / 0.536 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003443/0.421, allocations: 1.303 MB / 0.5372 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.421, allocations: 384 / 0.5372 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.4211, allocations: 39.94 kB / 0.5373 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.4212, allocations: 24 kB / 0.5373 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/0.4241, allocations: 1.046 MB / 0.5383 GB, free: 12.25 MB / 426.7 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.00814/0.4323, allocations: 4.534 MB / 0.5427 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003683/0.4359, allocations: 1.219 MB / 0.5439 GB, free: 6.371 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.437, allocations: 493.2 kB / 0.5444 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04646/0.4835, allocations: 11.74 MB / 0.5559 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.055e-05/0.4836, allocations: 59.33 kB / 0.5559 GB, free: 10.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=180): time 3.787e-06/0.4836, allocations: 0 / 0.5559 GB, free: 10.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.222/0.7056, allocations: 14.38 MB / 0.57 GB, free: 173.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.7056, allocations: 70.69 kB / 0.57 GB, free: 173.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.7061, allocations: 476.5 kB / 0.5705 GB, free: 173.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.7062, allocations: 51.55 kB / 0.5705 GB, free: 173.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.7063, allocations: 348.5 kB / 0.5709 GB, free: 172.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/0.7068, allocations: 0.6673 MB / 0.5715 GB, free: 172.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004956/0.7073, allocations: 322.9 kB / 0.5718 GB, free: 172.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.7074, allocations: 0.513 MB / 0.5723 GB, free: 171.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007748/0.7082, allocations: 341.5 kB / 0.5727 GB, free: 171.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.7092, allocations: 0.648 MB / 0.5733 GB, free: 171.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.7111, allocations: 1.108 MB / 0.5744 GB, free: 170.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.7111, allocations: 2.031 kB / 0.5744 GB, free: 170.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004057/0.7152, allocations: 1.73 MB / 0.5761 GB, free: 170.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.7152, allocations: 7.594 kB / 0.5761 GB, free: 170.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.7152, allocations: 3.75 kB / 0.5761 GB, free: 170.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009881/0.7251, allocations: 1.984 MB / 0.578 GB, free: 169.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.7258, allocations: 145.8 kB / 0.5782 GB, free: 169.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004059/0.7298, allocations: 2.547 MB / 0.5806 GB, free: 168.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/0.7307, allocations: 125 kB / 0.5808 GB, free: 168.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.7308, allocations: 72.31 kB / 0.5808 GB, free: 168.1 MB / 442.7 MB 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 (57): * Single equations (assignments): 56 * 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,108)} Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.7311, allocations: 243.2 kB / 0.5811 GB, free: 167.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.7314, allocations: 152.5 kB / 0.5812 GB, free: 167.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007039/0.7384, allocations: 6.068 MB / 0.5871 GB, free: 162 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.958e-05/0.7385, allocations: 107.8 kB / 0.5872 GB, free: 161.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.7385, allocations: 8 kB / 0.5872 GB, free: 161.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.7385, allocations: 11.95 kB / 0.5873 GB, free: 161.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006559/0.7451, allocations: 6.242 MB / 0.5934 GB, free: 155.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.7451, allocations: 0 / 0.5934 GB, free: 155.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.7455, allocations: 91.89 kB / 0.5934 GB, free: 155.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01051/0.7561, allocations: 4.473 MB / 0.5978 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/0.7563, allocations: 63.91 kB / 0.5979 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005885/0.7622, allocations: 5.187 MB / 0.6029 GB, free: 145.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7622, allocations: 0 / 0.6029 GB, free: 145.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005669/0.7678, allocations: 4.785 MB / 0.6076 GB, free: 140.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008988/0.7687, allocations: 0.5202 MB / 0.6081 GB, free: 140.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.7689, allocations: 55.88 kB / 0.6082 GB, free: 140.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/0.7697, allocations: 79.91 kB / 0.6083 GB, free: 140 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.77, allocations: 141.6 kB / 0.6084 GB, free: 139.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.7701, allocations: 75.97 kB / 0.6085 GB, free: 139.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003282/0.7704, allocations: 390.8 kB / 0.6088 GB, free: 139.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7704, allocations: 0 / 0.6088 GB, free: 139.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002699/0.7731, allocations: 1.213 MB / 0.61 GB, free: 138.2 MB / 442.7 MB 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 (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,171)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003205/0.7763, allocations: 1.143 MB / 0.6111 GB, free: 137.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00461/0.7809, allocations: 2.163 MB / 0.6132 GB, free: 134.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7809, allocations: 0 / 0.6132 GB, free: 134.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003191/0.7841, allocations: 1.722 MB / 0.6149 GB, free: 133.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/0.7873, allocations: 0.7121 MB / 0.6156 GB, free: 132.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.7918, allocations: 4.378 MB / 0.6199 GB, free: 128.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.7924, allocations: 0.9811 MB / 0.6209 GB, free: 127.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004818/0.7929, allocations: 197.6 kB / 0.621 GB, free: 126.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.7931, allocations: 60.48 kB / 0.6211 GB, free: 126.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7931, allocations: 0 / 0.6211 GB, free: 126.8 MB / 442.7 MB Notification: Performance of Templates: time 0.06845/0.8615, allocations: 68.16 MB / 0.6877 GB, free: 59.19 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.206688194070011]