Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.211/2.211, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001568, allocations: 187 kB / 325.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.365/2.365, allocations: 205.4 MB / 0.5766 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 96.84 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006732/0.0006734, allocations: 15.22 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2325, allocations: 106.2 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.2427/0.4753, allocations: 153 MB / 1.048 GB, free: 8.008 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.7608/1.236, allocations: 11.2 MB / 1.059 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/1.238, allocations: 24.28 kB / 1.059 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002368/1.24, allocations: 475.5 kB / 1.06 GB, free: 10.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008246/1.249, allocations: 1.872 MB / 1.062 GB, free: 10.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005138/1.254, allocations: 1.12 MB / 1.063 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004055/1.258, allocations: 1.458 MB / 1.064 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/1.26, allocations: 0.5991 MB / 1.065 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/1.262, allocations: 0.6543 MB / 1.065 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/1.264, allocations: 0.4926 MB / 1.066 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003737/1.264, allocations: 36.28 kB / 1.066 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006355/1.27, allocations: 1.609 MB / 1.067 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007893/1.271, allocations: 262.4 kB / 1.068 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007236/1.272, allocations: 245.4 kB / 1.068 GB, free: 10.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005716/1.278, allocations: 1.854 MB / 1.07 GB, free: 10.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/1.278, allocations: 0 / 1.07 GB, free: 10.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.996e-06/1.278, allocations: 0.75 kB / 1.07 GB, free: 10.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.396e-05/1.278, allocations: 0 / 1.07 GB, free: 10.46 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.00557/1.283, allocations: 1.585 MB / 1.071 GB, free: 9.484 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.284, allocations: 9.031 kB / 1.071 GB, free: 9.484 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/1.285, allocations: 230.7 kB / 1.071 GB, free: 9.414 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005066/1.291, allocations: 1.798 MB / 1.073 GB, free: 9.078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.676e-05/1.291, allocations: 46.47 kB / 1.073 GB, free: 9.074 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/1.291, allocations: 60.03 kB / 1.073 GB, free: 9.074 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/1.293, allocations: 0.7285 MB / 1.074 GB, free: 8.973 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/1.294, allocations: 1.062 kB / 1.074 GB, free: 8.973 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.294, allocations: 26.36 kB / 1.074 GB, free: 8.973 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/1.294, allocations: 14.84 kB / 1.074 GB, free: 8.973 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002757/1.296, allocations: 0.7113 MB / 1.075 GB, free: 8.961 MB / 0.698 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.00791/1.304, allocations: 3.17 MB / 1.078 GB, free: 7.859 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/1.307, allocations: 0.7193 MB / 1.079 GB, free: 7.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006232/1.313, allocations: 3.595 MB / 1.082 GB, free: 4.789 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/1.315, allocations: 365 kB / 1.082 GB, free: 4.734 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 3.777e-06/1.315, allocations: 0 / 1.082 GB, free: 4.734 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.009306/1.324, allocations: 1.468 MB / 1.084 GB, free: 4.504 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/1.324, allocations: 83.98 kB / 1.084 GB, free: 4.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004518/1.329, allocations: 2.067 MB / 1.086 GB, free: 4.254 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002299/1.329, allocations: 41.67 kB / 1.086 GB, free: 4.223 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000558/1.329, allocations: 0.4921 MB / 1.086 GB, free: 4.062 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000274/1.33, allocations: 176.2 kB / 1.087 GB, free: 3.953 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/1.33, allocations: 13.88 kB / 1.087 GB, free: 3.953 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/1.33, allocations: 334.2 kB / 1.087 GB, free: 3.645 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.331, allocations: 288.1 kB / 1.087 GB, free: 3.645 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/1.332, allocations: 0.5725 MB / 1.088 GB, free: 3.504 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.333, allocations: 340.2 kB / 1.088 GB, free: 3.488 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/1.333, allocations: 0.5625 kB / 1.088 GB, free: 3.488 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003585/1.337, allocations: 0.9721 MB / 1.089 GB, free: 3.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002513/1.337, allocations: 0.9723 MB / 1.09 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.337, allocations: 3 kB / 1.09 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693/4.03, allocations: 193.5 MB / 1.279 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/4.031, allocations: 133.7 kB / 1.279 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/4.034, allocations: 1.282 MB / 1.28 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/4.036, allocations: 106.8 kB / 1.281 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/4.036, allocations: 38.39 kB / 1.281 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/4.037, allocations: 4 kB / 1.281 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003441/4.04, allocations: 0.8489 MB / 1.281 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/4.04, allocations: 0 / 1.281 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239/7.279, allocations: 193.5 MB / 1.47 GB, free: 416.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/7.28, allocations: 129 kB / 1.47 GB, free: 416.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/7.282, allocations: 1.287 MB / 1.472 GB, free: 415.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/7.283, allocations: 104.6 kB / 1.472 GB, free: 415.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/7.283, allocations: 27.23 kB / 1.472 GB, free: 415.4 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008268/7.284, allocations: 377.7 kB / 1.472 GB, free: 415.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/7.285, allocations: 115.2 kB / 1.472 GB, free: 415 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/7.288, allocations: 0.9292 MB / 1.473 GB, free: 414.4 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/7.288, allocations: 4 kB / 1.473 GB, free: 414.4 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/7.288, allocations: 3.438 kB / 1.473 GB, free: 414.4 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002251/7.29, allocations: 0.9569 MB / 1.474 GB, free: 413.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006737/7.297, allocations: 2.068 MB / 1.476 GB, free: 412 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/7.297, allocations: 0 / 1.476 GB, free: 412 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/7.297, allocations: 89.45 kB / 1.476 GB, free: 411.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238/8.535, allocations: 96.83 MB / 1.571 GB, free: 315 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000225/8.535, allocations: 18.67 kB / 1.571 GB, free: 315 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/8.537, allocations: 0.747 MB / 1.572 GB, free: 314.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/8.537, allocations: 8.234 kB / 1.572 GB, free: 314.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006288/8.543, allocations: 1.485 MB / 1.573 GB, free: 313.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/8.544, allocations: 314.9 kB / 1.573 GB, free: 312.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/8.544, allocations: 14.62 kB / 1.573 GB, free: 312.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/8.546, allocations: 55.61 kB / 1.573 GB, free: 312.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/8.546, allocations: 40.22 kB / 1.573 GB, free: 312.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-05/8.546, allocations: 25.05 kB / 1.573 GB, free: 312.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002533/8.548, allocations: 1.543 MB / 1.575 GB, free: 311.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.663e-06/8.549, allocations: 4 kB / 1.575 GB, free: 311.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00343/8.552, allocations: 0.7219 MB / 1.576 GB, free: 311.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (tow.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003272/8.555, allocations: 0.9412 MB / 1.577 GB, free: 310.6 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003819/8.559, allocations: 1.144 MB / 1.578 GB, free: 309.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/8.559, allocations: 0 / 1.578 GB, free: 309.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/8.56, allocations: 362.4 kB / 1.578 GB, free: 309.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005538/8.566, allocations: 466.1 kB / 1.579 GB, free: 309.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007816/8.574, allocations: 2.298 MB / 1.581 GB, free: 307 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/8.575, allocations: 1.112 MB / 1.582 GB, free: 305.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002761/8.578, allocations: 278 kB / 1.582 GB, free: 305.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008225/8.579, allocations: 110.5 kB / 1.582 GB, free: 305.5 MB / 0.9948 GB Notification: Performance of SimCode: time 1.533e-06/8.579, allocations: 0 / 1.582 GB, free: 305.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.07664/8.655, allocations: 26.8 MB / 1.608 GB, free: 279.1 MB / 0.9948 GB