Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009138/0.0009138, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007395/0.007395, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.404/2.404, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 11.69 kB / 0.9029 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2407, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1652/0.4059, allocations: 176.6 MB / 1.231 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.4223, allocations: 13.33 MB / 1.244 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.4234, allocations: 27.81 kB / 1.244 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.4248, allocations: 433.6 kB / 1.245 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005016/0.4298, allocations: 2.025 MB / 1.247 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.4322, allocations: 0.9832 MB / 1.248 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4738/0.906, allocations: 2.975 MB / 1.251 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.9074, allocations: 0.6745 MB / 1.251 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.909, allocations: 0.7267 MB / 1.252 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.9102, allocations: 0.6903 MB / 1.253 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.9103, allocations: 39.12 kB / 1.253 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.9138, allocations: 2.266 MB / 1.255 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.914, allocations: 289.9 kB / 1.255 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.9144, allocations: 0.5911 MB / 1.256 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002735/0.9172, allocations: 2.704 MB / 1.258 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.9172, allocations: 0 / 1.258 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9172, allocations: 4 kB / 1.258 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.9172, allocations: 0 / 1.258 GB, free: 13.03 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.002084/0.9193, allocations: 1.604 MB / 1.26 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.9193, allocations: 18.23 kB / 1.26 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.9195, allocations: 97.33 kB / 1.26 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007586/0.9202, allocations: 232.4 kB / 1.26 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.922, allocations: 1.867 MB / 1.262 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.9221, allocations: 44.09 kB / 1.262 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.725e-05/0.9222, allocations: 63.73 kB / 1.262 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.9233, allocations: 0.7651 MB / 1.263 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.9234, allocations: 2.906 kB / 1.263 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.9234, allocations: 24.06 kB / 1.263 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.9235, allocations: 15.53 kB / 1.263 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.9247, allocations: 0.7586 MB / 1.264 GB, free: 11.42 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.003548/0.9282, allocations: 3.267 MB / 1.267 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.9297, allocations: 0.7729 MB / 1.268 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.9303, allocations: 345.6 kB / 1.268 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00297/0.9333, allocations: 3.665 MB / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006535/0.934, allocations: 379.7 kB / 1.272 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.595e-06/0.934, allocations: 4 kB / 1.272 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.00492/0.9389, allocations: 1.52 MB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.9389, allocations: 82.8 kB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.9415, allocations: 2.074 MB / 1.275 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.9416, allocations: 40.64 kB / 1.276 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.942, allocations: 0.5012 MB / 1.276 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.9421, allocations: 182.3 kB / 1.276 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.9422, allocations: 62.27 kB / 1.276 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.9423, allocations: 335 kB / 1.277 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.9428, allocations: 312.2 kB / 1.277 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/0.9436, allocations: 0.5975 MB / 1.277 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.9447, allocations: 0.7214 MB / 1.278 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9447, allocations: 1 kB / 1.278 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001767/0.9464, allocations: 1.006 MB / 1.279 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.9465, allocations: 165.6 kB / 1.279 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9465, allocations: 3.188 kB / 1.279 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167/2.113, allocations: 193.5 MB / 1.468 GB, free: 14.15 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/2.114, allocations: 130.5 kB / 1.468 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/2.115, allocations: 1.282 MB / 1.47 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/2.116, allocations: 103.4 kB / 1.47 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-05/2.117, allocations: 30.61 kB / 1.47 GB, free: 12.68 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/2.117, allocations: 5.719 kB / 1.47 GB, free: 12.67 MB / 1.154 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001811/2.118, allocations: 0.8871 MB / 1.471 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/2.118, allocations: 0 / 1.471 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215/3.334, allocations: 193.5 MB / 1.66 GB, free: 10.4 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/3.334, allocations: 128.2 kB / 1.66 GB, free: 10.29 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/3.336, allocations: 1.291 MB / 1.661 GB, free: 9.031 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/3.337, allocations: 94.12 kB / 1.661 GB, free: 8.953 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/3.337, allocations: 35.8 kB / 1.661 GB, free: 8.926 MB / 1.342 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.0006915/3.338, allocations: 375.3 kB / 1.662 GB, free: 8.637 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/3.338, allocations: 110.6 kB / 1.662 GB, free: 8.527 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/3.34, allocations: 0.9691 MB / 1.663 GB, free: 7.824 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/3.34, allocations: 10.31 kB / 1.663 GB, free: 7.816 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/3.34, allocations: 0 / 1.663 GB, free: 7.816 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001634/3.342, allocations: 0.988 MB / 1.664 GB, free: 6.973 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004701/3.346, allocations: 2.148 MB / 1.666 GB, free: 5.363 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/3.346, allocations: 3.984 kB / 1.666 GB, free: 5.359 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/3.347, allocations: 81.09 kB / 1.666 GB, free: 5.289 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079/4.426, allocations: 96.83 MB / 1.76 GB, free: 0.6075 GB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/4.426, allocations: 21.06 kB / 1.76 GB, free: 0.6075 GB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/4.427, allocations: 0.744 MB / 1.761 GB, free: 0.607 GB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/4.427, allocations: 1.703 kB / 1.761 GB, free: 0.607 GB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005444/4.433, allocations: 1.513 MB / 1.763 GB, free: 0.6068 GB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007109/4.433, allocations: 313.2 kB / 1.763 GB, free: 0.6067 GB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/4.434, allocations: 17.19 kB / 1.763 GB, free: 0.6067 GB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008195/4.434, allocations: 50.75 kB / 1.763 GB, free: 0.6067 GB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/4.435, allocations: 44.88 kB / 1.763 GB, free: 0.6067 GB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/4.435, allocations: 29.72 kB / 1.763 GB, free: 0.6067 GB / 1.42 GB Notification: Performance of sorting global known variables: time 0.002217/4.437, allocations: 1.544 MB / 1.764 GB, free: 0.6066 GB / 1.42 GB Notification: Performance of sort global known variables: time 7.11e-07/4.437, allocations: 0 / 1.764 GB, free: 0.6066 GB / 1.42 GB Notification: Performance of remove unused functions: time 0.002647/4.44, allocations: 0.7238 MB / 1.765 GB, free: 0.6066 GB / 1.42 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.007683/4.447, allocations: 2.906 MB / 1.768 GB, free: 0.6058 GB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.00304/4.45, allocations: 1.208 MB / 1.769 GB, free: 0.6058 GB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/4.45, allocations: 0 / 1.769 GB, free: 0.6058 GB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.0008441/4.451, allocations: 368.6 kB / 1.77 GB, free: 0.6058 GB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/4.454, allocations: 476.5 kB / 1.77 GB, free: 0.6058 GB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/4.476, allocations: 12.25 MB / 1.782 GB, free: 0.6018 GB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/4.477, allocations: 1.092 MB / 1.783 GB, free: 0.6009 GB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.0009468/4.478, allocations: 283.4 kB / 1.783 GB, free: 0.6008 GB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/4.478, allocations: 437 kB / 1.784 GB, free: 0.6008 GB / 1.42 GB Notification: Performance of SimCode: time 1.112e-06/4.478, allocations: 4 kB / 1.784 GB, free: 0.6008 GB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.438/8.917, allocations: 36.6 MB / 1.819 GB, free: 0.5682 GB / 1.42 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.004844/8.921, allocations: 309.4 kB / 1.82 GB, free: 0.5679 GB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/11.77, allocations: 3.875 kB / 1.82 GB, free: 0.5679 GB / 1.42 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)