Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009968/0.0009967, allocations: 97.64 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.008077/0.008077, allocations: 168.8 kB / 16.26 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 13 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.1493/0.4791, allocations: 157.9 MB / 1.228 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7674/1.247, allocations: 28.57 MB / 1.256 GB, free: 25.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01003/1.257, allocations: 171.1 kB / 1.256 GB, free: 25.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006975/1.264, allocations: 1.467 MB / 1.258 GB, free: 25.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02168/1.285, allocations: 4.259 MB / 1.262 GB, free: 25.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009591/1.295, allocations: 2.804 MB / 1.265 GB, free: 25.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01945/1.314, allocations: 10.69 MB / 1.275 GB, free: 25.03 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007027/1.322, allocations: 2.499 MB / 1.278 GB, free: 24.7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01173/1.333, allocations: 3.203 MB / 1.281 GB, free: 24.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008503/1.342, allocations: 2.322 MB / 1.283 GB, free: 24.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001377/1.343, allocations: 117.7 kB / 1.283 GB, free: 24.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009099/1.352, allocations: 2.213 MB / 1.285 GB, free: 24.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001898/1.354, allocations: 0.5699 MB / 1.286 GB, free: 24.61 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005424/1.36, allocations: 1.664 MB / 1.287 GB, free: 24.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01313/1.373, allocations: 5.852 MB / 1.293 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.373, allocations: 0 / 1.293 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.835e-06/1.373, allocations: 1.094 kB / 1.293 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002112/1.373, allocations: 0 / 1.293 GB, free: 23.29 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: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.01022/1.383, allocations: 3.3 MB / 1.296 GB, free: 21.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/1.384, allocations: 9.219 kB / 1.296 GB, free: 21.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004956/1.389, allocations: 0.8552 MB / 1.297 GB, free: 21.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007699/1.396, allocations: 2.93 MB / 1.3 GB, free: 20.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001406/1.398, allocations: 417 kB / 1.301 GB, free: 20.63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008375/1.399, allocations: 204.1 kB / 1.301 GB, free: 20.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006028/1.405, allocations: 2.513 MB / 1.303 GB, free: 20.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.414e-05/1.405, allocations: 8.125 kB / 1.303 GB, free: 20.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/1.405, allocations: 79.56 kB / 1.303 GB, free: 20.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/1.405, allocations: 68.19 kB / 1.303 GB, free: 20.37 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006358/1.411, allocations: 2.391 MB / 1.306 GB, free: 20.32 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.01944/1.431, allocations: 12.65 MB / 1.318 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003595/1.435, allocations: 1.577 MB / 1.32 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/1.436, allocations: 0.9374 MB / 1.32 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/1.438, allocations: 1.824 MB / 1.322 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002188/1.44, allocations: 1.01 MB / 1.323 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002129/1.442, allocations: 187.1 kB / 1.323 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 7.524e-06/1.442, allocations: 0 / 1.323 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.007796/1.45, allocations: 3.055 MB / 1.326 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/1.45, allocations: 97.52 kB / 1.326 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006023/1.456, allocations: 2.662 MB / 1.329 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006586/1.457, allocations: 61.05 kB / 1.329 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/1.458, allocations: 1.339 MB / 1.33 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006467/1.459, allocations: 454 kB / 1.331 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/1.459, allocations: 126.2 kB / 1.331 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/1.459, allocations: 303.5 kB / 1.331 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/1.462, allocations: 0.8257 MB / 1.332 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/1.464, allocations: 1.179 MB / 1.333 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003855/1.468, allocations: 1.943 MB / 1.335 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.468, allocations: 2.844 kB / 1.335 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006182/1.474, allocations: 2.54 MB / 1.338 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/1.474, allocations: 351.1 kB / 1.338 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.474, allocations: 5.438 kB / 1.338 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007098/1.475, allocations: 168.8 kB / 1.338 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/1.477, allocations: 432.4 kB / 1.339 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006982/1.477, allocations: 1.196 MB / 1.34 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/1.481, allocations: 298.1 kB / 1.34 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/1.481, allocations: 79.05 kB / 1.34 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/1.481, allocations: 7.25 kB / 1.34 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004885/1.486, allocations: 2.192 MB / 1.342 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.486, allocations: 6.656 kB / 1.342 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/1.486, allocations: 112.1 kB / 1.342 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.488, allocations: 428.6 kB / 1.343 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/1.491, allocations: 3.299 MB / 1.346 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/1.494, allocations: 284.4 kB / 1.346 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/1.494, allocations: 72.44 kB / 1.346 GB, free: 2.422 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 8 (TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,$whenCondition1,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 (174): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 1 * 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,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001826/1.496, allocations: 0.6988 MB / 1.347 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007949/1.497, allocations: 305.6 kB / 1.347 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005581/1.502, allocations: 2.687 MB / 1.35 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-05/1.502, allocations: 19.34 kB / 1.35 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.502, allocations: 0 / 1.35 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00403/1.506, allocations: 2.164 MB / 1.352 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/1.518, allocations: 5.424 MB / 1.357 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.518, allocations: 7.672 kB / 1.357 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/1.519, allocations: 328.9 kB / 1.358 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/1.519, allocations: 101.3 kB / 1.358 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/1.52, allocations: 55.44 kB / 1.358 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007611/1.52, allocations: 1.19 MB / 1.359 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.52, allocations: 10.28 kB / 1.359 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007679/1.528, allocations: 3.657 MB / 1.363 GB, free: 8.875 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002183/1.53, allocations: 0.6851 MB / 1.363 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006046/1.531, allocations: 33.5 kB / 1.363 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.533, allocations: 253.9 kB / 1.363 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/1.533, allocations: 103.8 kB / 1.364 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/1.534, allocations: 79.33 kB / 1.364 GB, free: 8.086 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003337/1.537, allocations: 1.84 MB / 1.365 GB, free: 7.117 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.537, allocations: 4 kB / 1.365 GB, free: 7.113 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006704/1.544, allocations: 1.42 MB / 1.367 GB, free: 6.82 MB / 1.014 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.s[1],hex1.thrWayVal.filter.s[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 (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,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001869/1.546, allocations: 0.7125 MB / 1.368 GB, free: 6.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008198/1.554, allocations: 3.557 MB / 1.371 GB, free: 3.766 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.554, allocations: 0 / 1.371 GB, free: 3.766 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00252/1.556, allocations: 1.118 MB / 1.372 GB, free: 2.672 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/1.567, allocations: 1.499 MB / 1.374 GB, free: 1.195 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/1.581, allocations: 6.941 MB / 1.38 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/1.582, allocations: 1.794 MB / 1.382 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003625/1.586, allocations: 0.6953 MB / 1.383 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007755/1.587, allocations: 239.3 kB / 1.383 GB, free: 7.516 MB / 1.029 GB Notification: Performance of SimCode: time 1.462e-06/1.587, allocations: 0 / 1.383 GB, free: 7.516 MB / 1.029 GB Notification: Performance of Templates: time 0.1051/1.692, allocations: 59.14 MB / 1.441 GB, free: 13.46 MB / 1.092 GB make -j1 -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)