Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.4 MB / 303.4 MB, free: 8.148 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.00146/0.00146, allocations: 182 kB / 372 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 0.6307 GB, free: 10.06 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.0009986/0.0009989, allocations: 90.3 kB / 0.7441 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004488, allocations: 11.06 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2975, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.8192/1.117, allocations: 149.5 MB / 1.126 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04806/1.165, allocations: 30.31 MB / 1.155 GB, free: 12.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009791/1.175, allocations: 172.9 kB / 1.155 GB, free: 12.06 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.006423/1.181, allocations: 1.231 MB / 1.157 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0155/1.197, allocations: 3.424 MB / 1.16 GB, free: 8.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01329/1.21, allocations: 3.214 MB / 1.163 GB, free: 6.535 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01741/1.227, allocations: 9.258 MB / 1.172 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005337/1.233, allocations: 2.198 MB / 1.174 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009521/1.242, allocations: 2.954 MB / 1.177 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006037/1.248, allocations: 2.19 MB / 1.179 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/1.25, allocations: 119.8 kB / 1.179 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007671/1.257, allocations: 1.893 MB / 1.181 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001361/1.259, allocations: 0.5418 MB / 1.182 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002346/1.261, allocations: 0.7177 MB / 1.182 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008743/1.27, allocations: 4.699 MB / 1.187 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.27, allocations: 0 / 1.187 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.855e-06/1.27, allocations: 0 / 1.187 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002068/1.27, allocations: 0 / 1.187 GB, free: 7.496 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.01241/1.282, allocations: 3.364 MB / 1.19 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.471e-05/1.283, allocations: 7.562 kB / 1.19 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005013/1.288, allocations: 0.8595 MB / 1.191 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007293/1.295, allocations: 2.801 MB / 1.194 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001364/1.296, allocations: 419.6 kB / 1.194 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006291/1.297, allocations: 215.8 kB / 1.195 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005506/1.302, allocations: 2.526 MB / 1.197 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/1.303, allocations: 0 / 1.197 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/1.303, allocations: 87.98 kB / 1.197 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.314e-05/1.303, allocations: 48 kB / 1.197 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005491/1.308, allocations: 2.372 MB / 1.199 GB, free: 12.54 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.02098/1.329, allocations: 12.65 MB / 1.212 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/1.333, allocations: 1.556 MB / 1.213 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/1.335, allocations: 0.9363 MB / 1.214 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001944/1.337, allocations: 1.83 MB / 1.216 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002231/1.339, allocations: 0.9974 MB / 1.217 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002117/1.341, allocations: 198.5 kB / 1.217 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=132): time 8.075e-06/1.341, allocations: 4 kB / 1.217 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=132): time 0.01101/1.352, allocations: 3.045 MB / 1.22 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/1.353, allocations: 175.5 kB / 1.22 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009583/1.362, allocations: 2.63 MB / 1.223 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0007226/1.363, allocations: 65.69 kB / 1.223 GB, free: 3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002245/1.365, allocations: 1.34 MB / 1.224 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009917/1.366, allocations: 453.4 kB / 1.225 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/1.367, allocations: 32 kB / 1.225 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002339/1.367, allocations: 369.9 kB / 1.225 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/1.369, allocations: 0.8356 MB / 1.226 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/1.372, allocations: 1.233 MB / 1.227 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/1.375, allocations: 0.9606 MB / 1.228 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/1.375, allocations: 4 kB / 1.228 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007309/1.382, allocations: 2.578 MB / 1.231 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003615/1.382, allocations: 365.9 kB / 1.231 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/1.382, allocations: 8 kB / 1.231 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008344/1.383, allocations: 149.5 kB / 1.231 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/1.385, allocations: 435.4 kB / 1.231 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/1.386, allocations: 1.21 MB / 1.233 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003536/1.39, allocations: 303.6 kB / 1.233 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/1.39, allocations: 79.95 kB / 1.233 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.39, allocations: 4.625 kB / 1.233 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005564/1.396, allocations: 2.259 MB / 1.235 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.245e-05/1.396, allocations: 11.98 kB / 1.235 GB, free: 6.027 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004068/1.396, allocations: 118.1 kB / 1.235 GB, free: 5.906 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/1.398, allocations: 431.4 kB / 1.236 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/1.402, allocations: 3.281 MB / 1.239 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/1.405, allocations: 287.7 kB / 1.239 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/1.405, allocations: 75.95 kB / 1.239 GB, free: 1.574 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.002056/1.407, allocations: 0.715 MB / 1.24 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/1.409, allocations: 300.2 kB / 1.24 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006646/1.415, allocations: 2.693 MB / 1.243 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/1.415, allocations: 16 kB / 1.243 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.415, allocations: 3.984 kB / 1.243 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004316/1.42, allocations: 2.148 MB / 1.245 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.432, allocations: 5.391 MB / 1.25 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.432, allocations: 4 kB / 1.25 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/1.434, allocations: 328 kB / 1.251 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002834/1.434, allocations: 105.6 kB / 1.251 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/1.434, allocations: 51.97 kB / 1.251 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009005/1.435, allocations: 1.179 MB / 1.252 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.435, allocations: 4 kB / 1.252 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008027/1.443, allocations: 3.663 MB / 1.256 GB, free: 0.6328 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.445, allocations: 0.6725 MB / 1.256 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.447, allocations: 39.98 kB / 1.256 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002983/1.45, allocations: 256.5 kB / 1.256 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.45, allocations: 105.1 kB / 1.257 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/1.45, allocations: 75.94 kB / 1.257 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004304/1.454, allocations: 1.806 MB / 1.258 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.4e-07/1.454, allocations: 3.938 kB / 1.258 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007117/1.461, allocations: 1.454 MB / 1.26 GB, free: 12.21 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.002158/1.464, allocations: 0.7366 MB / 1.261 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008778/1.472, allocations: 3.682 MB / 1.264 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.472, allocations: 4 kB / 1.264 GB, free: 7.742 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002577/1.475, allocations: 1.116 MB / 1.265 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009825/1.485, allocations: 1.478 MB / 1.267 GB, free: 5.148 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/1.503, allocations: 6.751 MB / 1.273 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002265/1.505, allocations: 1.794 MB / 1.275 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004812/1.51, allocations: 0.7015 MB / 1.276 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.511, allocations: 243.3 kB / 1.276 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of SimCode: time 1.874e-06/1.511, allocations: 0 / 1.276 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.1124/1.624, allocations: 57.98 MB / 1.333 GB, free: 2.094 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)