Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.814/2.814, allocations: 287.5 MB / 302.4 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.001368, allocations: 186.4 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009437/0.0009435, allocations: 99.17 kB / 0.743 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004952, allocations: 11.89 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.8992/1.119, allocations: 149.5 MB / 1.124 GB, free: 16.75 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06083/1.18, allocations: 30.31 MB / 1.154 GB, free: 12.22 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008431/1.189, allocations: 172.8 kB / 1.154 GB, free: 12.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.006901/1.196, allocations: 1.232 MB / 1.155 GB, free: 11.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01661/1.212, allocations: 3.421 MB / 1.159 GB, free: 9.469 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01556/1.228, allocations: 3.224 MB / 1.162 GB, free: 7.414 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01892/1.247, allocations: 9.253 MB / 1.171 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006548/1.253, allocations: 2.196 MB / 1.173 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/1.264, allocations: 2.964 MB / 1.176 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008777/1.273, allocations: 2.19 MB / 1.178 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002179/1.275, allocations: 117.2 kB / 1.178 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/1.288, allocations: 1.892 MB / 1.18 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002406/1.291, allocations: 0.542 MB / 1.181 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003177/1.294, allocations: 0.7204 MB / 1.181 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01411/1.308, allocations: 4.68 MB / 1.186 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.688e-05/1.308, allocations: 0 / 1.186 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.897e-06/1.308, allocations: 7.875 kB / 1.186 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001966/1.309, allocations: 4 kB / 1.186 GB, free: 8.383 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01622/1.325, allocations: 3.363 MB / 1.189 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.442e-05/1.325, allocations: 10.16 kB / 1.189 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001385/1.326, allocations: 272.4 kB / 1.189 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009816/1.336, allocations: 0.8601 MB / 1.19 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/1.351, allocations: 2.801 MB / 1.193 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003902/1.355, allocations: 423.6 kB / 1.193 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/1.356, allocations: 207.9 kB / 1.194 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01483/1.371, allocations: 2.526 MB / 1.196 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/1.371, allocations: 0 / 1.196 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007644/1.372, allocations: 84 kB / 1.196 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/1.372, allocations: 48 kB / 1.196 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/1.389, allocations: 2.368 MB / 1.199 GB, free: 13.36 MB / 0.7292 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.04801/1.437, allocations: 12.66 MB / 1.211 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/1.448, allocations: 1.556 MB / 1.212 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006105/1.454, allocations: 0.9422 MB / 1.213 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004118/1.459, allocations: 1.828 MB / 1.215 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006778/1.465, allocations: 0.9974 MB / 1.216 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003094/1.469, allocations: 194.6 kB / 1.216 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=132): time 1.286e-05/1.469, allocations: 0 / 1.216 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=132): time 0.02243/1.491, allocations: 3.053 MB / 1.219 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/1.491, allocations: 171.5 kB / 1.219 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/1.502, allocations: 2.633 MB / 1.222 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0006321/1.503, allocations: 61.7 kB / 1.222 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.003062/1.506, allocations: 1.34 MB / 1.223 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.507, allocations: 457.4 kB / 1.224 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/1.508, allocations: 32 kB / 1.224 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000299/1.508, allocations: 361.9 kB / 1.224 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006465/1.515, allocations: 0.8355 MB / 1.225 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007291/1.522, allocations: 1.241 MB / 1.226 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006868/1.529, allocations: 0.9567 MB / 1.227 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.972e-05/1.529, allocations: 8 kB / 1.227 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01965/1.549, allocations: 2.581 MB / 1.23 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004606/1.549, allocations: 358.3 kB / 1.23 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.405e-05/1.549, allocations: 8 kB / 1.23 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/1.551, allocations: 169.5 kB / 1.23 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006103/1.557, allocations: 431.4 kB / 1.231 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/1.559, allocations: 1.202 MB / 1.232 GB, free: 9.512 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007713/1.567, allocations: 291.6 kB / 1.232 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008073/1.568, allocations: 83.95 kB / 1.232 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.568, allocations: 6.031 kB / 1.232 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01587/1.584, allocations: 2.259 MB / 1.234 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.273e-05/1.584, allocations: 11.98 kB / 1.234 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000897/1.585, allocations: 114.1 kB / 1.234 GB, free: 6.738 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006018/1.591, allocations: 431.4 kB / 1.235 GB, free: 6.316 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007077/1.598, allocations: 3.289 MB / 1.238 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007241/1.605, allocations: 284.4 kB / 1.238 GB, free: 2.477 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007782/1.606, allocations: 79.95 kB / 1.238 GB, free: 2.398 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 177 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003509/1.61, allocations: 0.7093 MB / 1.239 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.611, allocations: 304.2 kB / 1.239 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01797/1.629, allocations: 2.687 MB / 1.242 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.456e-05/1.629, allocations: 23.98 kB / 1.242 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.629, allocations: 4 kB / 1.242 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01374/1.643, allocations: 2.156 MB / 1.244 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02809/1.671, allocations: 5.387 MB / 1.249 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/1.671, allocations: 4 kB / 1.249 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004863/1.676, allocations: 328 kB / 1.25 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007645/1.677, allocations: 105.6 kB / 1.25 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004522/1.678, allocations: 51.97 kB / 1.25 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/1.679, allocations: 1.187 MB / 1.251 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/1.679, allocations: 4 kB / 1.251 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/1.695, allocations: 3.659 MB / 1.255 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002965/1.698, allocations: 0.6725 MB / 1.255 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008526/1.699, allocations: 39.98 kB / 1.255 GB, free: 0.7305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004259/1.704, allocations: 255.5 kB / 1.256 GB, free: 492 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/1.704, allocations: 109.1 kB / 1.256 GB, free: 384 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003058/1.704, allocations: 71.95 kB / 1.256 GB, free: 312 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00491/1.709, allocations: 1.806 MB / 1.258 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.212e-06/1.709, allocations: 3.938 kB / 1.258 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007408/1.717, allocations: 1.45 MB / 1.259 GB, free: 13.05 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * 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 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01548/1.732, allocations: 4.802 MB / 1.264 GB, free: 8.184 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01381/1.746, allocations: 3.682 MB / 1.267 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.746, allocations: 0 / 1.267 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004155/1.75, allocations: 1.113 MB / 1.268 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01293/1.763, allocations: 1.498 MB / 1.27 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0875/1.851, allocations: 20.45 MB / 1.29 GB, free: 11.91 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/1.853, allocations: 1.794 MB / 1.292 GB, free: 10.09 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005114/1.858, allocations: 0.701 MB / 1.292 GB, free: 9.445 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002955/1.861, allocations: 1.276 MB / 1.293 GB, free: 8.168 MB / 0.823 GB Notification: Performance of SimCode: time 1.303e-06/1.861, allocations: 3.938 kB / 1.293 GB, free: 8.164 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2208/2.082, allocations: 85.79 MB / 1.377 GB, free: 3.137 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/2.082, allocations: 302.3 kB / 1.378 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.174/8.256, allocations: 0 / 1.378 GB, free: 2.777 MB / 0.9011 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)