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.001357/0.001357, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001606/0.001606, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 65.56 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3115, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1902/0.5017, allocations: 179 MB / 1.242 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5461/1.048, allocations: 13.23 MB / 1.255 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/1.049, allocations: 29.84 kB / 1.255 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001277/1.05, allocations: 458 kB / 1.256 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00535/1.056, allocations: 2.119 MB / 1.258 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/1.058, allocations: 0.9986 MB / 1.259 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002709/1.061, allocations: 2.466 MB / 1.261 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/1.062, allocations: 0.8046 MB / 1.262 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/1.064, allocations: 0.895 MB / 1.263 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009383/1.065, allocations: 0.7482 MB / 1.264 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/1.065, allocations: 101.6 kB / 1.264 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004398/1.069, allocations: 2.33 MB / 1.266 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003996/1.07, allocations: 360.3 kB / 1.266 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008934/1.071, allocations: 0.6296 MB / 1.267 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004866/1.075, allocations: 2.735 MB / 1.27 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.075, allocations: 0.9688 kB / 1.27 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.075, allocations: 1.203 kB / 1.27 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.663e-05/1.076, allocations: 0.9688 kB / 1.27 GB, free: 13.82 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.002935/1.078, allocations: 1.796 MB / 1.271 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.079, allocations: 10.14 kB / 1.271 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009799/1.079, allocations: 225.5 kB / 1.272 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/1.081, allocations: 1.121 MB / 1.273 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/1.081, allocations: 47.38 kB / 1.273 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.081, allocations: 63.53 kB / 1.273 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/1.083, allocations: 0.7604 MB / 1.274 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/1.083, allocations: 5.969 kB / 1.274 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/1.083, allocations: 24.72 kB / 1.274 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/1.083, allocations: 16.81 kB / 1.274 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/1.084, allocations: 0.7498 MB / 1.274 GB, free: 12.24 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.004239/1.089, allocations: 3.088 MB / 1.277 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/1.09, allocations: 0.7619 MB / 1.278 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/1.091, allocations: 336.6 kB / 1.278 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003596/1.094, allocations: 3.595 MB / 1.282 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007492/1.095, allocations: 383.2 kB / 1.282 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.585e-06/1.095, allocations: 0.9062 kB / 1.282 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.005249/1.1, allocations: 1.443 MB / 1.284 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.1, allocations: 84.27 kB / 1.284 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/1.102, allocations: 1.159 MB / 1.285 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/1.102, allocations: 42.58 kB / 1.285 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/1.103, allocations: 496.1 kB / 1.286 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/1.103, allocations: 186.3 kB / 1.286 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/1.103, allocations: 147.6 kB / 1.286 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/1.103, allocations: 335.5 kB / 1.286 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/1.104, allocations: 317.4 kB / 1.286 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007978/1.105, allocations: 0.588 MB / 1.287 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/1.106, allocations: 0.7102 MB / 1.288 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/1.106, allocations: 0 / 1.288 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002152/1.108, allocations: 0.992 MB / 1.289 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.108, allocations: 5.719 kB / 1.289 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.108, allocations: 2.281 kB / 1.289 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066/2.174, allocations: 146.2 MB / 1.431 GB, free: 9.707 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/2.175, allocations: 128.6 kB / 1.432 GB, free: 9.594 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/2.176, allocations: 1.28 MB / 1.433 GB, free: 8.352 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/2.178, allocations: 91.03 kB / 1.433 GB, free: 8.273 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/2.178, allocations: 31.61 kB / 1.433 GB, free: 8.246 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001124/2.179, allocations: 0.5421 MB / 1.433 GB, free: 7.875 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009173/2.18, allocations: 0.5883 MB / 1.434 GB, free: 7.387 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001251/2.181, allocations: 0.701 MB / 1.435 GB, free: 6.898 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/2.181, allocations: 0 / 1.435 GB, free: 6.898 MB / 1.107 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002256/2.183, allocations: 0.9904 MB / 1.436 GB, free: 6.172 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/2.183, allocations: 8 kB / 1.436 GB, free: 6.164 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/2.183, allocations: 2 kB / 1.436 GB, free: 6.164 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062/3.245, allocations: 146.1 MB / 1.578 GB, free: 3.875 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/3.246, allocations: 128.1 kB / 1.579 GB, free: 3.762 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/3.247, allocations: 1.278 MB / 1.58 GB, free: 2.52 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/3.249, allocations: 93.53 kB / 1.58 GB, free: 2.441 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/3.249, allocations: 31.73 kB / 1.58 GB, free: 2.414 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.000363/3.249, allocations: 221.9 kB / 1.58 GB, free: 2.219 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005493/3.25, allocations: 114.5 kB / 1.58 GB, free: 2.105 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/3.253, allocations: 0.9352 MB / 1.581 GB, free: 1.434 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/3.253, allocations: 13.09 kB / 1.581 GB, free: 1.422 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/3.253, allocations: 1.562 kB / 1.581 GB, free: 1.422 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001841/3.255, allocations: 0.9841 MB / 1.582 GB, free: 0.582 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005855/3.26, allocations: 2.074 MB / 1.584 GB, free: 15.02 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/3.26, allocations: 0 / 1.584 GB, free: 15.02 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/3.261, allocations: 85.67 kB / 1.584 GB, free: 14.95 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.563/3.824, allocations: 73.13 MB / 1.656 GB, free: 5.746 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/3.824, allocations: 22.98 kB / 1.656 GB, free: 5.73 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/3.825, allocations: 0.7315 MB / 1.656 GB, free: 5.047 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/3.825, allocations: 1.203 kB / 1.656 GB, free: 5.047 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/3.829, allocations: 1.476 MB / 1.658 GB, free: 3.93 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/3.83, allocations: 276.4 kB / 1.658 GB, free: 3.688 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/3.83, allocations: 14.69 kB / 1.658 GB, free: 3.68 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/3.831, allocations: 44.95 kB / 1.658 GB, free: 3.645 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/3.831, allocations: 36.2 kB / 1.658 GB, free: 3.613 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/3.831, allocations: 30.98 kB / 1.658 GB, free: 3.59 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001408/3.833, allocations: 0.8193 MB / 1.659 GB, free: 2.98 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.372e-06/3.833, allocations: 0 / 1.659 GB, free: 2.98 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002585/3.835, allocations: 0.7148 MB / 1.66 GB, free: 2.32 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.003238/3.839, allocations: 0.9355 MB / 1.661 GB, free: 1.648 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.002918/3.842, allocations: 1.254 MB / 1.662 GB, free: 0.7578 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/3.842, allocations: 0 / 1.662 GB, free: 0.7578 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.0007751/3.842, allocations: 364 kB / 1.662 GB, free: 0.5078 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/3.845, allocations: 494.7 kB / 1.663 GB, free: 112 kB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/3.849, allocations: 2.345 MB / 1.665 GB, free: 13.95 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007682/3.849, allocations: 1.1 MB / 1.666 GB, free: 12.84 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.001088/3.851, allocations: 265.9 kB / 1.666 GB, free: 12.59 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/3.851, allocations: 94.41 kB / 1.666 GB, free: 12.5 MB / 1.342 GB Notification: Performance of SimCode: time 5.61e-07/3.851, allocations: 4 kB / 1.666 GB, free: 12.5 MB / 1.342 GB Notification: Performance of Templates: time 0.0449/3.896, allocations: 27.24 MB / 1.693 GB, free: 1.844 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)