Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 107.4 kB / 15.22 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 198 kB / 16.14 MB, free: 6.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.699/2.699, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 60.02 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3187, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1864/0.5052, allocations: 178.9 MB / 1.242 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6397/1.145, allocations: 13.48 MB / 1.255 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/1.146, allocations: 34.12 kB / 1.255 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/1.147, allocations: 442.8 kB / 1.256 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005026/1.153, allocations: 2.014 MB / 1.258 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/1.155, allocations: 0.983 MB / 1.259 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00333/1.158, allocations: 2.992 MB / 1.262 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009515/1.159, allocations: 0.6947 MB / 1.262 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/1.161, allocations: 0.7613 MB / 1.263 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000902/1.161, allocations: 0.7093 MB / 1.264 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/1.162, allocations: 49.88 kB / 1.264 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/1.166, allocations: 2.281 MB / 1.266 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003501/1.166, allocations: 306.6 kB / 1.266 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009082/1.167, allocations: 0.568 MB / 1.267 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004577/1.172, allocations: 2.681 MB / 1.27 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.172, allocations: 5.031 kB / 1.27 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/1.172, allocations: 0 / 1.27 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.99e-05/1.172, allocations: 0 / 1.27 GB, free: 13.74 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.004187/1.176, allocations: 1.795 MB / 1.271 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.176, allocations: 10.34 kB / 1.271 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/1.177, allocations: 225.1 kB / 1.272 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/1.18, allocations: 1.121 MB / 1.273 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/1.18, allocations: 45.25 kB / 1.273 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/1.18, allocations: 68.11 kB / 1.273 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/1.182, allocations: 0.7564 MB / 1.273 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/1.182, allocations: 5.719 kB / 1.273 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/1.182, allocations: 24.12 kB / 1.274 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/1.182, allocations: 16.03 kB / 1.274 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/1.183, allocations: 0.7504 MB / 1.274 GB, free: 12.14 MB / 0.9981 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.00488/1.188, allocations: 3.093 MB / 1.277 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/1.19, allocations: 0.763 MB / 1.278 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/1.19, allocations: 332.8 kB / 1.278 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003535/1.194, allocations: 3.596 MB / 1.282 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007085/1.195, allocations: 383.9 kB / 1.282 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.705e-06/1.195, allocations: 0 / 1.282 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.005149/1.2, allocations: 1.441 MB / 1.284 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/1.2, allocations: 82.8 kB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/1.201, allocations: 1.157 MB / 1.285 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/1.202, allocations: 42.12 kB / 1.285 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/1.202, allocations: 0.4937 MB / 1.285 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/1.202, allocations: 183.2 kB / 1.286 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/1.202, allocations: 151.5 kB / 1.286 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.557e-05/1.202, allocations: 329.7 kB / 1.286 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/1.203, allocations: 315.8 kB / 1.286 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008011/1.204, allocations: 0.5931 MB / 1.287 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/1.205, allocations: 0.7093 MB / 1.288 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.205, allocations: 1.25 kB / 1.288 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002052/1.207, allocations: 0.993 MB / 1.289 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.207, allocations: 10.42 kB / 1.289 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.207, allocations: 2.031 kB / 1.289 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179/2.386, allocations: 146.2 MB / 1.431 GB, free: 8.148 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006588/2.387, allocations: 132.8 kB / 1.431 GB, free: 8.031 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/2.388, allocations: 1.269 MB / 1.433 GB, free: 6.801 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/2.389, allocations: 97.81 kB / 1.433 GB, free: 6.715 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/2.389, allocations: 32.73 kB / 1.433 GB, free: 6.691 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001101/2.39, allocations: 0.535 MB / 1.433 GB, free: 6.324 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009121/2.391, allocations: 0.5921 MB / 1.434 GB, free: 5.832 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001295/2.393, allocations: 0.6998 MB / 1.435 GB, free: 5.348 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.918e-06/2.393, allocations: 4 kB / 1.435 GB, free: 5.344 MB / 1.107 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002295/2.395, allocations: 0.9899 MB / 1.436 GB, free: 4.621 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/2.395, allocations: 8 kB / 1.436 GB, free: 4.613 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/2.395, allocations: 4 kB / 1.436 GB, free: 4.609 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136/3.531, allocations: 146.1 MB / 1.578 GB, free: 2.316 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/3.531, allocations: 128.5 kB / 1.578 GB, free: 2.203 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/3.533, allocations: 1.274 MB / 1.58 GB, free: 0.9648 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/3.534, allocations: 90.8 kB / 1.58 GB, free: 0.8906 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/3.534, allocations: 31.61 kB / 1.58 GB, free: 0.8633 MB / 1.248 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 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003491/3.535, allocations: 226.8 kB / 1.58 GB, free: 0.6641 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/3.535, allocations: 114.5 kB / 1.58 GB, free: 0.5508 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/3.538, allocations: 0.9384 MB / 1.581 GB, free: 15.88 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/3.538, allocations: 8 kB / 1.581 GB, free: 15.87 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/3.538, allocations: 0 / 1.581 GB, free: 15.87 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001696/3.539, allocations: 0.9799 MB / 1.582 GB, free: 15.04 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/3.545, allocations: 2.071 MB / 1.584 GB, free: 13.47 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/3.545, allocations: 1.203 kB / 1.584 GB, free: 13.47 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/3.545, allocations: 85.14 kB / 1.584 GB, free: 13.39 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5696/4.115, allocations: 73.14 MB / 1.655 GB, free: 4.191 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/4.115, allocations: 14.94 kB / 1.655 GB, free: 4.184 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/4.116, allocations: 0.7304 MB / 1.656 GB, free: 3.5 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/4.116, allocations: 0 / 1.656 GB, free: 3.5 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/4.12, allocations: 1.484 MB / 1.658 GB, free: 2.375 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/4.121, allocations: 268.6 kB / 1.658 GB, free: 2.141 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/4.121, allocations: 14.94 kB / 1.658 GB, free: 2.133 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007794/4.122, allocations: 50.05 kB / 1.658 GB, free: 2.094 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/4.122, allocations: 43.81 kB / 1.658 GB, free: 2.055 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/4.122, allocations: 26.98 kB / 1.658 GB, free: 2.035 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001349/4.123, allocations: 0.8116 MB / 1.659 GB, free: 1.434 MB / 1.326 GB Notification: Performance of sort global known variables: time 3.3e-07/4.124, allocations: 0 / 1.659 GB, free: 1.434 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.00264/4.126, allocations: 0.7137 MB / 1.66 GB, free: 0.7734 MB / 1.326 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 (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 {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002831/4.129, allocations: 0.9453 MB / 1.66 GB, free: 92 kB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.00273/4.132, allocations: 1.189 MB / 1.662 GB, free: 15.25 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/4.132, allocations: 0 / 1.662 GB, free: 15.25 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.0007401/4.133, allocations: 365.6 kB / 1.662 GB, free: 15.01 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/4.135, allocations: 478.6 kB / 1.662 GB, free: 14.62 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/4.139, allocations: 2.343 MB / 1.665 GB, free: 12.47 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/4.139, allocations: 1.1 MB / 1.666 GB, free: 11.37 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.00102/4.14, allocations: 263.3 kB / 1.666 GB, free: 11.11 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/4.141, allocations: 90.72 kB / 1.666 GB, free: 11.03 MB / 1.342 GB Notification: Performance of SimCode: time 5.11e-07/4.141, allocations: 0 / 1.666 GB, free: 11.03 MB / 1.342 GB Notification: Performance of Templates: time 0.04435/4.185, allocations: 26.53 MB / 1.692 GB, free: 1.074 MB / 1.357 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)