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.616/1.616, allocations: 252 MB / 267 MB, free: 10.99 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.0009481/0.0009482, allocations: 181 kB / 326.6 MB, free: 2.246 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.594/1.594, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.000786/0.000786, allocations: 92.06 kB / 0.6823 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002865, allocations: 11.69 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1975, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.6387/0.8362, allocations: 165 MB / 1.061 GB, free: 11.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.8532, allocations: 12.24 MB / 1.073 GB, free: 10.89 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.855, allocations: 28.84 kB / 1.073 GB, free: 10.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.8569, allocations: 371.4 kB / 1.074 GB, free: 10.88 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007778/0.8647, allocations: 1.733 MB / 1.075 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.8684, allocations: 0.8254 MB / 1.076 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005151/0.8736, allocations: 2.585 MB / 1.079 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.8752, allocations: 0.6124 MB / 1.079 GB, free: 10.68 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.8775, allocations: 0.7169 MB / 1.08 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.8792, allocations: 0.6466 MB / 1.081 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.8795, allocations: 39.31 kB / 1.081 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005908/0.8854, allocations: 1.781 MB / 1.083 GB, free: 10.63 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006864/0.8861, allocations: 274 kB / 1.083 GB, free: 10.63 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000787/0.8869, allocations: 246.4 kB / 1.083 GB, free: 10.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.891, allocations: 1.949 MB / 1.085 GB, free: 10.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.891, allocations: 2.625 kB / 1.085 GB, free: 10.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/0.891, allocations: 1.094 kB / 1.085 GB, free: 10.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.239e-05/0.8911, allocations: 0 / 1.085 GB, free: 10.44 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.003388/0.8945, allocations: 1.61 MB / 1.086 GB, free: 9.441 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.8945, allocations: 9.062 kB / 1.087 GB, free: 9.441 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.8947, allocations: 101 kB / 1.087 GB, free: 9.402 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.8958, allocations: 227.7 kB / 1.087 GB, free: 9.332 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.8985, allocations: 1.804 MB / 1.089 GB, free: 8.996 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.8986, allocations: 48.06 kB / 1.089 GB, free: 8.996 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.8987, allocations: 60.97 kB / 1.089 GB, free: 8.996 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.9001, allocations: 0.7508 MB / 1.089 GB, free: 8.895 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.9001, allocations: 1.688 kB / 1.089 GB, free: 8.895 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.9002, allocations: 23.09 kB / 1.089 GB, free: 8.895 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.9002, allocations: 15.12 kB / 1.089 GB, free: 8.895 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.9017, allocations: 0.741 MB / 1.09 GB, free: 8.887 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.004808/0.9065, allocations: 3.24 MB / 1.093 GB, free: 7.785 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.908, allocations: 0.7602 MB / 1.094 GB, free: 7.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.9085, allocations: 343 kB / 1.094 GB, free: 7.738 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003692/0.9122, allocations: 3.644 MB / 1.098 GB, free: 4.707 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006757/0.9129, allocations: 381.3 kB / 1.098 GB, free: 4.648 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 3.848e-06/0.913, allocations: 0 / 1.098 GB, free: 4.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.00529/0.9183, allocations: 1.513 MB / 1.1 GB, free: 4.422 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.9183, allocations: 91.72 kB / 1.1 GB, free: 4.324 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.9208, allocations: 2.063 MB / 1.102 GB, free: 4.164 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.921, allocations: 39.64 kB / 1.102 GB, free: 4.133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.9213, allocations: 0.4941 MB / 1.102 GB, free: 3.977 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.9215, allocations: 184.2 kB / 1.103 GB, free: 3.863 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.9216, allocations: 15.06 kB / 1.103 GB, free: 3.863 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.9216, allocations: 330.5 kB / 1.103 GB, free: 3.559 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006001/0.9222, allocations: 312.5 kB / 1.103 GB, free: 3.555 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007443/0.923, allocations: 0.584 MB / 1.104 GB, free: 3.414 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.9236, allocations: 359.2 kB / 1.104 GB, free: 3.402 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.9237, allocations: 4.094 kB / 1.104 GB, free: 3.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002093/0.9258, allocations: 0.9992 MB / 1.105 GB, free: 3.273 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.9259, allocations: 165.8 kB / 1.105 GB, free: 3.098 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.9259, allocations: 5.844 kB / 1.105 GB, free: 3.098 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219/2.145, allocations: 193.5 MB / 1.294 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/2.146, allocations: 134.4 kB / 1.294 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/2.147, allocations: 1.287 MB / 1.296 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/2.149, allocations: 103.9 kB / 1.296 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/2.149, allocations: 35.8 kB / 1.296 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/2.149, allocations: 4 kB / 1.296 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002018/2.151, allocations: 0.8774 MB / 1.297 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/2.151, allocations: 4 kB / 1.297 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563/3.714, allocations: 193.5 MB / 1.486 GB, free: 379.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/3.714, allocations: 127.5 kB / 1.486 GB, free: 379.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/3.715, allocations: 1.288 MB / 1.487 GB, free: 377.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/3.717, allocations: 97.7 kB / 1.487 GB, free: 377.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.947e-05/3.717, allocations: 23.25 kB / 1.487 GB, free: 377.8 MB / 0.9792 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.0005739/3.717, allocations: 383.7 kB / 1.487 GB, free: 377.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/3.718, allocations: 118 kB / 1.488 GB, free: 377.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/3.719, allocations: 0.9526 MB / 1.489 GB, free: 376.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/3.72, allocations: 4 kB / 1.489 GB, free: 376.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/3.72, allocations: 4.812 kB / 1.489 GB, free: 376.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/3.721, allocations: 0.9938 MB / 1.49 GB, free: 375.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/3.725, allocations: 2.138 MB / 1.492 GB, free: 374.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/3.725, allocations: 0 / 1.492 GB, free: 374.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/3.726, allocations: 85.78 kB / 1.492 GB, free: 374.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.58/4.306, allocations: 96.84 MB / 1.586 GB, free: 277.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/4.306, allocations: 21.98 kB / 1.586 GB, free: 277.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008823/4.307, allocations: 0.7509 MB / 1.587 GB, free: 276.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/4.307, allocations: 0 / 1.587 GB, free: 276.7 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/4.31, allocations: 1.503 MB / 1.588 GB, free: 275.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006704/4.311, allocations: 311.6 kB / 1.589 GB, free: 275.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/4.311, allocations: 19.48 kB / 1.589 GB, free: 275.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/4.312, allocations: 47.44 kB / 1.589 GB, free: 275.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/4.312, allocations: 40.78 kB / 1.589 GB, free: 275.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/4.312, allocations: 27.92 kB / 1.589 GB, free: 275.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00147/4.314, allocations: 1.533 MB / 1.59 GB, free: 274.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.51e-07/4.314, allocations: 0.7656 kB / 1.59 GB, free: 274.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002063/4.316, allocations: 0.709 MB / 1.591 GB, free: 273.5 MB / 0.9792 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.005954/4.322, allocations: 2.871 MB / 1.594 GB, free: 271.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002287/4.324, allocations: 1.205 MB / 1.595 GB, free: 270.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/4.324, allocations: 0 / 1.595 GB, free: 270.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006375/4.325, allocations: 365.2 kB / 1.595 GB, free: 270.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/4.327, allocations: 491.4 kB / 1.596 GB, free: 269.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/4.34, allocations: 9.505 MB / 1.605 GB, free: 261.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/4.34, allocations: 1.089 MB / 1.606 GB, free: 260.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001086/4.341, allocations: 276.4 kB / 1.607 GB, free: 260.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/4.342, allocations: 435.2 kB / 1.607 GB, free: 259.8 MB / 0.9792 GB Notification: Performance of SimCode: time 8.51e-07/4.342, allocations: 0 / 1.607 GB, free: 259.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05884/4.401, allocations: 37.33 MB / 1.643 GB, free: 222.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/4.401, allocations: 287.6 kB / 1.644 GB, free: 222.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/7.615, allocations: 1.969 kB / 1.644 GB, free: 222.6 MB / 0.9792 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)