Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001807/0.001807, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.002384/0.002384, allocations: 193.6 kB / 16.13 MB, free: 6.566 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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 67.39 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4018, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.07244/0.4742, allocations: 74.95 MB / 1.141 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02023/0.4945, allocations: 12.86 MB / 1.153 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00439/0.499, allocations: 59.62 kB / 1.153 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003397/0.5024, allocations: 0.6798 MB / 1.154 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.5127, allocations: 2.29 MB / 1.156 GB, free: 15.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004903/0.5176, allocations: 1.264 MB / 1.157 GB, free: 14.51 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007952/0.5256, allocations: 5.579 MB / 1.163 GB, free: 8.918 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.5282, allocations: 1.194 MB / 1.164 GB, free: 7.691 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.5322, allocations: 1.361 MB / 1.165 GB, free: 6.324 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.5349, allocations: 1.194 MB / 1.167 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004979/0.5354, allocations: 80 kB / 1.167 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004218/0.5397, allocations: 1.251 MB / 1.168 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007016/0.5404, allocations: 326.5 kB / 1.168 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.5425, allocations: 0.8161 MB / 1.169 GB, free: 2.652 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005375/0.5479, allocations: 2.808 MB / 1.172 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5479, allocations: 0 / 1.172 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/0.548, allocations: 0 / 1.172 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001319/0.5481, allocations: 0 / 1.172 GB, free: 15.84 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.009223/0.5573, allocations: 2.106 MB / 1.174 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.574e-05/0.5574, allocations: 12.03 kB / 1.174 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.559, allocations: 230.7 kB / 1.174 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/0.5629, allocations: 1.513 MB / 1.175 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/0.563, allocations: 78 kB / 1.176 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.5633, allocations: 100 kB / 1.176 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.5659, allocations: 1.1 MB / 1.177 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.566, allocations: 0 / 1.177 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.5661, allocations: 36 kB / 1.177 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.5662, allocations: 32 kB / 1.177 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.5683, allocations: 0.8822 MB / 1.178 GB, free: 9.598 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.007793/0.5761, allocations: 4.924 MB / 1.182 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.5776, allocations: 0.6086 MB / 1.183 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/0.5784, allocations: 338.8 kB / 1.183 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.5791, allocations: 0.8355 MB / 1.184 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.5791, allocations: 39.12 kB / 1.184 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.845e-06/0.5791, allocations: 0 / 1.184 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007522/0.5866, allocations: 1.709 MB / 1.186 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.5867, allocations: 55.97 kB / 1.186 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.5888, allocations: 1.243 MB / 1.187 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-05/0.5889, allocations: 45.7 kB / 1.187 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.5895, allocations: 0.6066 MB / 1.188 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.5898, allocations: 216.9 kB / 1.188 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.59, allocations: 154.5 kB / 1.188 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5902, allocations: 334 kB / 1.188 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007154/0.5909, allocations: 288.7 kB / 1.189 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009078/0.5918, allocations: 491.9 kB / 1.189 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.5934, allocations: 0.7051 MB / 1.19 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.5934, allocations: 0 / 1.19 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005063/0.5984, allocations: 1.269 MB / 1.191 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.5985, allocations: 8 kB / 1.191 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5985, allocations: 4.375 kB / 1.191 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007678/0.5993, allocations: 152.7 kB / 1.191 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.6, allocations: 155.8 kB / 1.191 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009381/0.601, allocations: 0.6889 MB / 1.192 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.6026, allocations: 163 kB / 1.192 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.6028, allocations: 31.98 kB / 1.192 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001338/0.6041, allocations: 0.5448 MB / 1.193 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009461/0.6051, allocations: 491.8 kB / 1.193 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001599/0.6067, allocations: 0.7011 MB / 1.194 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.101e-05/0.6067, allocations: 0 / 1.194 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005783/0.6125, allocations: 1.261 MB / 1.195 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.6126, allocations: 8.031 kB / 1.195 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6126, allocations: 4 kB / 1.195 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/0.6132, allocations: 148.7 kB / 1.195 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.6139, allocations: 155.8 kB / 1.196 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000889/0.6148, allocations: 0.6966 MB / 1.196 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.6163, allocations: 137.4 kB / 1.196 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.761e-05/0.6164, allocations: 31.98 kB / 1.196 GB, free: 5.508 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.0003494/0.6168, allocations: 224.6 kB / 1.197 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004886/0.6173, allocations: 146.2 kB / 1.197 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00486/0.6221, allocations: 1.252 MB / 1.198 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.6222, allocations: 8 kB / 1.198 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.6222, allocations: 0 / 1.198 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004129/0.6263, allocations: 1.095 MB / 1.199 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007659/0.634, allocations: 2.579 MB / 1.202 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.6341, allocations: 8 kB / 1.202 GB, free: 28 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.6346, allocations: 111.9 kB / 1.202 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000573/0.6352, allocations: 140.9 kB / 1.202 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/0.6353, allocations: 19.94 kB / 1.202 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004961/0.6403, allocations: 2.341 MB / 1.204 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.6403, allocations: 4 kB / 1.204 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00624/0.6466, allocations: 1.695 MB / 1.206 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.6476, allocations: 311.1 kB / 1.206 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004624/0.6481, allocations: 16 kB / 1.206 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.6494, allocations: 79.97 kB / 1.206 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.6496, allocations: 56.31 kB / 1.206 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.505e-05/0.6497, allocations: 35.91 kB / 1.206 GB, free: 11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001927/0.6516, allocations: 0.8904 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.335e-06/0.6516, allocations: 0 / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003012/0.6546, allocations: 0.7173 MB / 1.208 GB, free: 9.387 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.001286/0.6559, allocations: 468.2 kB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003215/0.6592, allocations: 1.094 MB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.6592, allocations: 7.875 kB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.6608, allocations: 0.5487 MB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/0.6652, allocations: 0.7731 MB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005674/0.6709, allocations: 2.773 MB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.6721, allocations: 1.187 MB / 1.215 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001755/0.6738, allocations: 306.8 kB / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.6742, allocations: 107.4 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of SimCode: time 1.553e-06/0.6742, allocations: 0 / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of Templates: time 0.05742/0.7317, allocations: 31.1 MB / 1.245 GB, free: 3.312 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1)