Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00104/0.001045, allocations: 98.27 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.007717/0.007717, allocations: 170.6 kB / 16.27 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 7.875 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3927, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.1566/0.5493, allocations: 157.9 MB / 1.228 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8515/1.401, allocations: 28.58 MB / 1.256 GB, free: 25.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00951/1.411, allocations: 163.2 kB / 1.256 GB, free: 25.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006891/1.417, allocations: 1.465 MB / 1.258 GB, free: 25.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01658/1.434, allocations: 4.258 MB / 1.262 GB, free: 25.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009428/1.444, allocations: 2.806 MB / 1.265 GB, free: 25.19 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01819/1.462, allocations: 10.69 MB / 1.275 GB, free: 25.17 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0068/1.469, allocations: 2.495 MB / 1.278 GB, free: 24.85 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01146/1.48, allocations: 3.199 MB / 1.281 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007243/1.487, allocations: 2.331 MB / 1.283 GB, free: 24.8 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001112/1.488, allocations: 117.2 kB / 1.283 GB, free: 24.8 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008896/1.497, allocations: 2.21 MB / 1.285 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001949/1.499, allocations: 0.5638 MB / 1.286 GB, free: 24.76 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005722/1.505, allocations: 1.673 MB / 1.287 GB, free: 24.19 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01435/1.519, allocations: 5.842 MB / 1.293 GB, free: 23.44 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.52, allocations: 8.969 kB / 1.293 GB, free: 23.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.836e-06/1.52, allocations: 0 / 1.293 GB, free: 23.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002417/1.52, allocations: 0 / 1.293 GB, free: 23.43 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.01079/1.531, allocations: 3.295 MB / 1.296 GB, free: 21.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.531, allocations: 13 kB / 1.296 GB, free: 21.69 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004887/1.536, allocations: 0.8614 MB / 1.297 GB, free: 21.46 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007665/1.543, allocations: 2.925 MB / 1.3 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001446/1.545, allocations: 419 kB / 1.301 GB, free: 20.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009857/1.546, allocations: 203.6 kB / 1.301 GB, free: 20.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006388/1.552, allocations: 2.517 MB / 1.303 GB, free: 20.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-05/1.552, allocations: 3.938 kB / 1.303 GB, free: 20.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/1.552, allocations: 80.31 kB / 1.303 GB, free: 20.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.789e-05/1.553, allocations: 71.11 kB / 1.303 GB, free: 20.51 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006195/1.559, allocations: 2.392 MB / 1.306 GB, free: 20.45 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.0189/1.578, allocations: 12.65 MB / 1.318 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/1.581, allocations: 1.569 MB / 1.32 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/1.583, allocations: 0.9356 MB / 1.32 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/1.585, allocations: 1.83 MB / 1.322 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002133/1.587, allocations: 1.005 MB / 1.323 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002047/1.589, allocations: 189.3 kB / 1.323 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 4.919e-06/1.589, allocations: 0 / 1.323 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.008191/1.597, allocations: 3.061 MB / 1.326 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/1.597, allocations: 93.86 kB / 1.326 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004838/1.602, allocations: 2.666 MB / 1.329 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005052/1.602, allocations: 54.52 kB / 1.329 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/1.604, allocations: 1.335 MB / 1.33 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005736/1.604, allocations: 457.3 kB / 1.331 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.604, allocations: 126.7 kB / 1.331 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.81e-05/1.605, allocations: 301.1 kB / 1.331 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/1.606, allocations: 0.8257 MB / 1.332 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/1.609, allocations: 1.184 MB / 1.333 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00383/1.612, allocations: 1.949 MB / 1.335 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/1.613, allocations: 2.906 kB / 1.335 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006641/1.619, allocations: 2.537 MB / 1.338 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002261/1.619, allocations: 347.8 kB / 1.338 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.619, allocations: 9.781 kB / 1.338 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007033/1.62, allocations: 160.6 kB / 1.338 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/1.622, allocations: 425.9 kB / 1.339 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007706/1.623, allocations: 1.205 MB / 1.34 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.627, allocations: 303.1 kB / 1.34 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003095/1.627, allocations: 79.77 kB / 1.34 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/1.627, allocations: 3.219 kB / 1.34 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005122/1.632, allocations: 2.195 MB / 1.342 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/1.632, allocations: 9.656 kB / 1.342 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/1.632, allocations: 111 kB / 1.342 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.634, allocations: 427 kB / 1.343 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/1.637, allocations: 3.305 MB / 1.346 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003824/1.641, allocations: 274.2 kB / 1.346 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/1.641, allocations: 81.05 kB / 1.346 GB, free: 2.551 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.00216/1.643, allocations: 0.7047 MB / 1.347 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001/1.644, allocations: 300.7 kB / 1.347 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005802/1.65, allocations: 2.676 MB / 1.35 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/1.65, allocations: 23.36 kB / 1.35 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.65, allocations: 0 / 1.35 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004261/1.654, allocations: 2.161 MB / 1.352 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/1.672, allocations: 5.43 MB / 1.357 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.672, allocations: 3.781 kB / 1.357 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.673, allocations: 330.3 kB / 1.358 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/1.674, allocations: 99.31 kB / 1.358 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/1.674, allocations: 50.84 kB / 1.358 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/1.675, allocations: 1.194 MB / 1.359 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.675, allocations: 3.469 kB / 1.359 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008495/1.684, allocations: 3.665 MB / 1.363 GB, free: 8.855 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/1.686, allocations: 0.6774 MB / 1.363 GB, free: 8.285 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008418/1.687, allocations: 33.94 kB / 1.363 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/1.69, allocations: 251.6 kB / 1.363 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/1.69, allocations: 114.2 kB / 1.364 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002166/1.69, allocations: 73.88 kB / 1.364 GB, free: 8.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0047/1.695, allocations: 1.84 MB / 1.365 GB, free: 7.102 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.51e-07/1.695, allocations: 0 / 1.365 GB, free: 7.102 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.008206/1.703, allocations: 1.423 MB / 1.367 GB, free: 6.809 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.002364/1.705, allocations: 0.7039 MB / 1.368 GB, free: 6.508 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009539/1.715, allocations: 3.559 MB / 1.371 GB, free: 3.758 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.715, allocations: 0 / 1.371 GB, free: 3.758 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002791/1.718, allocations: 1.127 MB / 1.372 GB, free: 2.656 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/1.731, allocations: 1.501 MB / 1.374 GB, free: 1.184 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.749, allocations: 6.941 MB / 1.38 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/1.752, allocations: 1.79 MB / 1.382 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.004883/1.757, allocations: 0.7011 MB / 1.383 GB, free: 7.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.758, allocations: 235.4 kB / 1.383 GB, free: 7.504 MB / 1.029 GB Notification: Performance of SimCode: time 9.81e-07/1.758, allocations: 0 / 1.383 GB, free: 7.504 MB / 1.029 GB Notification: Performance of Templates: time 0.1272/1.885, allocations: 59.14 MB / 1.441 GB, free: 13.45 MB / 1.092 GB make -j1 -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)