Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.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.Fluid.Chillers.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y") translateModel(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008579/0.0008577, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.006044/0.006045, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.546/1.546, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.000415, allocations: 8.094 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4564, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.07465/0.5311, allocations: 73.69 MB / 1.146 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01918/0.5503, allocations: 12.72 MB / 1.159 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002776/0.5532, allocations: 59.62 kB / 1.159 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.5556, allocations: 0.6759 MB / 1.159 GB, free: 152 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007336/0.5629, allocations: 2.286 MB / 1.161 GB, free: 13.85 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.5666, allocations: 1.273 MB / 1.163 GB, free: 12.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009545/0.5762, allocations: 5.589 MB / 1.168 GB, free: 6.988 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/0.5789, allocations: 1.147 MB / 1.169 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003751/0.5827, allocations: 1.326 MB / 1.171 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.5855, allocations: 1.143 MB / 1.172 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005523/0.5861, allocations: 56 kB / 1.172 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004013/0.5901, allocations: 1.236 MB / 1.173 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.5906, allocations: 294.6 kB / 1.173 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.5919, allocations: 0.81 MB / 1.174 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004268/0.5962, allocations: 2.741 MB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5962, allocations: 7.938 kB / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5962, allocations: 0 / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.295e-05/0.5962, allocations: 0 / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003675/0.5999, allocations: 1.803 MB / 1.178 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6, allocations: 8.031 kB / 1.178 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008453/0.6008, allocations: 246.7 kB / 1.179 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.6033, allocations: 1.505 MB / 1.18 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.739e-05/0.6034, allocations: 85.94 kB / 1.18 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.6036, allocations: 100 kB / 1.18 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.6057, allocations: 1.116 MB / 1.181 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.6057, allocations: 4 kB / 1.181 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/0.6058, allocations: 40 kB / 1.181 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.6059, allocations: 28 kB / 1.182 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.6079, allocations: 0.9212 MB / 1.182 GB, free: 8.168 MB / 0.9356 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.007695/0.6156, allocations: 4.935 MB / 1.187 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.6171, allocations: 0.6242 MB / 1.188 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007988/0.6179, allocations: 370.8 kB / 1.188 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.619, allocations: 0.8277 MB / 1.189 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.619, allocations: 43.06 kB / 1.189 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.825e-06/0.619, allocations: 0 / 1.189 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.008451/0.6275, allocations: 1.927 MB / 1.191 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.6276, allocations: 59.91 kB / 1.191 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.6295, allocations: 1.239 MB / 1.192 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.6296, allocations: 45.7 kB / 1.192 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006431/0.6303, allocations: 0.6105 MB / 1.193 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.6305, allocations: 220.8 kB / 1.193 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.6307, allocations: 61.69 kB / 1.193 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.6308, allocations: 334 kB / 1.193 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007505/0.6316, allocations: 305.8 kB / 1.194 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009215/0.6325, allocations: 0.5016 MB / 1.194 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.6342, allocations: 0.7441 MB / 1.195 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.6342, allocations: 7.938 kB / 1.195 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00536/0.6396, allocations: 1.394 MB / 1.196 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.6398, allocations: 202.4 kB / 1.196 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.6398, allocations: 4 kB / 1.197 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006774/0.6405, allocations: 152.7 kB / 1.197 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/0.6411, allocations: 167.8 kB / 1.197 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009144/0.642, allocations: 0.7161 MB / 1.198 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.6435, allocations: 163.1 kB / 1.198 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/0.6436, allocations: 35.98 kB / 1.198 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.6436, allocations: 4 kB / 1.198 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00484/0.6484, allocations: 1.241 MB / 1.199 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.6484, allocations: 4.375 kB / 1.199 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/0.649, allocations: 152.7 kB / 1.199 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.6497, allocations: 163.8 kB / 1.199 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009512/0.6506, allocations: 0.7162 MB / 1.2 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.6521, allocations: 159.1 kB / 1.2 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/0.6522, allocations: 35.98 kB / 1.2 GB, free: 5.227 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008965/0.6531, allocations: 409 kB / 1.2 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.6533, allocations: 134.4 kB / 1.201 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005154/0.6585, allocations: 1.408 MB / 1.202 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.6585, allocations: 7.938 kB / 1.202 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6586, allocations: 0 / 1.202 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004634/0.6632, allocations: 1.228 MB / 1.203 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00757/0.6708, allocations: 2.712 MB / 1.206 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.6708, allocations: 4 kB / 1.206 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.6714, allocations: 123.8 kB / 1.206 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005942/0.672, allocations: 152.9 kB / 1.206 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.672, allocations: 16 kB / 1.206 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.6772, allocations: 2.443 MB / 1.209 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.6772, allocations: 4 kB / 1.209 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006033/0.6833, allocations: 1.848 MB / 1.21 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008192/0.6841, allocations: 335.1 kB / 1.211 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.6843, allocations: 16 kB / 1.211 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009499/0.6853, allocations: 95.81 kB / 1.211 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.6854, allocations: 60.23 kB / 1.211 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.6855, allocations: 35.98 kB / 1.211 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001492/0.687, allocations: 0.8864 MB / 1.212 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.91e-07/0.687, allocations: 4 kB / 1.212 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002068/0.6891, allocations: 0.7135 MB / 1.212 GB, free: 8.207 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009372/0.69, allocations: 473.1 kB / 1.213 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.6929, allocations: 1.16 MB / 1.214 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6929, allocations: 0 / 1.214 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.6944, allocations: 0.5878 MB / 1.215 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004396/0.6988, allocations: 0.7995 MB / 1.215 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.7033, allocations: 2.831 MB / 1.218 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007772/0.7041, allocations: 1.187 MB / 1.219 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001336/0.7054, allocations: 310.2 kB / 1.22 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.7058, allocations: 111.4 kB / 1.22 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of SimCode: time 1.222e-06/0.7058, allocations: 4 kB / 1.22 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of Templates: time 0.05657/0.7624, allocations: 32.53 MB / 1.251 GB, free: 492 kB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1)