Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 179.2 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 96.23 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003122, allocations: 9.406 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1856, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1515/0.3371, allocations: 153 MB / 1.05 GB, free: 6.422 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.435/0.7722, allocations: 11.16 MB / 1.06 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.7735, allocations: 24.78 kB / 1.061 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.7749, allocations: 475.1 kB / 1.061 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00531/0.7803, allocations: 1.865 MB / 1.063 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.7836, allocations: 1.127 MB / 1.064 GB, free: 10.59 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003032/0.7866, allocations: 1.457 MB / 1.065 GB, free: 10.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.7877, allocations: 0.6068 MB / 1.066 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.7889, allocations: 0.6507 MB / 1.067 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007226/0.7896, allocations: 0.4912 MB / 1.067 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.7898, allocations: 39.16 kB / 1.067 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004364/0.7941, allocations: 1.609 MB / 1.069 GB, free: 10.51 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005666/0.7947, allocations: 265 kB / 1.069 GB, free: 10.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005334/0.7953, allocations: 244.5 kB / 1.069 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.7999, allocations: 1.857 MB / 1.071 GB, free: 10.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7999, allocations: 0 / 1.071 GB, free: 10.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7999, allocations: 0 / 1.071 GB, free: 10.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.839e-05/0.8, allocations: 0.8125 kB / 1.071 GB, free: 10.34 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.00406/0.804, allocations: 1.585 MB / 1.072 GB, free: 9.363 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.8041, allocations: 13.16 kB / 1.072 GB, free: 9.363 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.8043, allocations: 104 kB / 1.073 GB, free: 9.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.8054, allocations: 228.8 kB / 1.073 GB, free: 9.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.8087, allocations: 1.796 MB / 1.075 GB, free: 8.914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.8087, allocations: 45.44 kB / 1.075 GB, free: 8.914 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.8089, allocations: 60.72 kB / 1.075 GB, free: 8.914 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.8103, allocations: 0.7299 MB / 1.075 GB, free: 8.812 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.8104, allocations: 0.875 kB / 1.075 GB, free: 8.812 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.8104, allocations: 23.91 kB / 1.075 GB, free: 8.812 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.8105, allocations: 14.12 kB / 1.075 GB, free: 8.812 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.8118, allocations: 0.7076 MB / 1.076 GB, free: 8.805 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.004539/0.8164, allocations: 3.168 MB / 1.079 GB, free: 7.707 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.8179, allocations: 0.7131 MB / 1.08 GB, free: 7.672 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003767/0.8216, allocations: 3.604 MB / 1.083 GB, free: 4.637 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006906/0.8224, allocations: 361.1 kB / 1.084 GB, free: 4.582 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 3.046e-06/0.8224, allocations: 1.5 kB / 1.084 GB, free: 4.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.005137/0.8275, allocations: 1.462 MB / 1.085 GB, free: 4.352 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.8276, allocations: 82.48 kB / 1.085 GB, free: 4.258 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.8303, allocations: 2.071 MB / 1.087 GB, free: 4.102 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.8305, allocations: 47.67 kB / 1.087 GB, free: 4.066 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.8308, allocations: 0.489 MB / 1.088 GB, free: 3.906 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.831, allocations: 178.2 kB / 1.088 GB, free: 3.797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.831, allocations: 14.14 kB / 1.088 GB, free: 3.797 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.8311, allocations: 329.4 kB / 1.088 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/0.8317, allocations: 296 kB / 1.089 GB, free: 3.488 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007886/0.8325, allocations: 0.5769 MB / 1.089 GB, free: 3.348 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/0.8332, allocations: 337.6 kB / 1.089 GB, free: 3.336 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.8332, allocations: 0 / 1.089 GB, free: 3.336 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00202/0.8352, allocations: 0.9656 MB / 1.09 GB, free: 3.211 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.8354, allocations: 0.9731 MB / 1.091 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8354, allocations: 7.844 kB / 1.091 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205/2.04, allocations: 193.5 MB / 1.28 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/2.041, allocations: 130.7 kB / 1.28 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/2.042, allocations: 1.292 MB / 1.282 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/2.044, allocations: 96.94 kB / 1.282 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/2.044, allocations: 37.25 kB / 1.282 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/2.044, allocations: 4 kB / 1.282 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001966/2.046, allocations: 0.8404 MB / 1.283 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/2.046, allocations: 7.25 kB / 1.283 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699/3.745, allocations: 193.5 MB / 1.472 GB, free: 415.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/3.746, allocations: 127.2 kB / 1.472 GB, free: 415 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/3.747, allocations: 1.287 MB / 1.473 GB, free: 413.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/3.748, allocations: 103.2 kB / 1.473 GB, free: 413.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/3.749, allocations: 33.61 kB / 1.473 GB, free: 413.6 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.0009574/3.75, allocations: 378.6 kB / 1.474 GB, free: 413.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/3.75, allocations: 112.3 kB / 1.474 GB, free: 413.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/3.752, allocations: 0.9286 MB / 1.475 GB, free: 412.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/3.752, allocations: 8.75 kB / 1.475 GB, free: 412.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/3.752, allocations: 3.781 kB / 1.475 GB, free: 412.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001644/3.754, allocations: 0.9531 MB / 1.476 GB, free: 411.8 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/3.759, allocations: 2.063 MB / 1.478 GB, free: 410.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/3.759, allocations: 4 kB / 1.478 GB, free: 410.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/3.759, allocations: 90.08 kB / 1.478 GB, free: 410.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5959/4.355, allocations: 96.83 MB / 1.572 GB, free: 313.3 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/4.356, allocations: 23.22 kB / 1.572 GB, free: 313.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000932/4.357, allocations: 0.7465 MB / 1.573 GB, free: 312.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/4.357, allocations: 0 / 1.573 GB, free: 312.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003633/4.36, allocations: 1.495 MB / 1.574 GB, free: 311.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008882/4.361, allocations: 302.1 kB / 1.575 GB, free: 311.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/4.361, allocations: 18.88 kB / 1.575 GB, free: 311.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/4.362, allocations: 47.45 kB / 1.575 GB, free: 311.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/4.362, allocations: 47.16 kB / 1.575 GB, free: 311.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/4.362, allocations: 27.36 kB / 1.575 GB, free: 311.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001549/4.364, allocations: 1.542 MB / 1.576 GB, free: 310 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.31e-07/4.364, allocations: 4 kB / 1.576 GB, free: 310 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002534/4.366, allocations: 0.7213 MB / 1.577 GB, free: 309.4 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.005923/4.372, allocations: 3.057 MB / 1.58 GB, free: 307 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002357/4.375, allocations: 1.152 MB / 1.581 GB, free: 306.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/4.375, allocations: 0 / 1.581 GB, free: 306.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006072/4.375, allocations: 349 kB / 1.581 GB, free: 305.9 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/4.378, allocations: 490.4 kB / 1.582 GB, free: 305.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/4.383, allocations: 4.482 MB / 1.586 GB, free: 301.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/4.383, allocations: 1.124 MB / 1.587 GB, free: 300.1 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001117/4.385, allocations: 287.7 kB / 1.588 GB, free: 299.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/4.385, allocations: 439.6 kB / 1.588 GB, free: 299.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.212e-06/4.385, allocations: 0 / 1.588 GB, free: 299.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05789/4.443, allocations: 36.99 MB / 1.624 GB, free: 263.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/4.443, allocations: 285.4 kB / 1.624 GB, free: 262.9 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.248/7.692, allocations: 4 kB / 1.624 GB, free: 262.9 MB / 0.9948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)