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.0008435/0.0008436, allocations: 90.67 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.005524/0.005524, allocations: 172.8 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005243/0.0005243, allocations: 12.7 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3907, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.07395/0.4647, allocations: 73.69 MB / 1.146 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.4839, allocations: 12.72 MB / 1.159 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.4871, allocations: 55.62 kB / 1.159 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.4893, allocations: 0.672 MB / 1.159 GB, free: 156 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00738/0.4967, allocations: 2.291 MB / 1.161 GB, free: 13.85 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003517/0.5003, allocations: 1.267 MB / 1.163 GB, free: 12.6 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00703/0.5073, allocations: 5.577 MB / 1.168 GB, free: 7.004 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.5094, allocations: 1.163 MB / 1.169 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.5124, allocations: 1.318 MB / 1.171 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.5144, allocations: 1.143 MB / 1.172 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.5146, allocations: 56 kB / 1.172 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003146/0.5177, allocations: 1.243 MB / 1.173 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.5181, allocations: 286.6 kB / 1.173 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.5192, allocations: 0.8177 MB / 1.174 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006629/0.5259, allocations: 2.741 MB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.526, allocations: 0 / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.939e-06/0.526, allocations: 3.938 kB / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.387e-05/0.5261, allocations: 3.938 kB / 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.006307/0.5324, allocations: 1.791 MB / 1.178 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.5325, allocations: 11.97 kB / 1.178 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009779/0.5335, allocations: 246.8 kB / 1.179 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/0.5364, allocations: 1.517 MB / 1.18 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.5365, allocations: 74 kB / 1.18 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.5366, allocations: 100 kB / 1.18 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.5388, allocations: 1.12 MB / 1.181 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.5389, allocations: 0 / 1.181 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.373e-05/0.539, allocations: 40 kB / 1.181 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.539, allocations: 27.98 kB / 1.182 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.541, allocations: 0.929 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.006972/0.548, allocations: 4.939 MB / 1.187 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.5494, allocations: 0.6281 MB / 1.188 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007703/0.5502, allocations: 358.9 kB / 1.188 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007268/0.551, allocations: 0.8238 MB / 1.189 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.551, allocations: 47.12 kB / 1.189 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 3.446e-06/0.551, allocations: 0 / 1.189 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.008544/0.5596, allocations: 1.931 MB / 1.191 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.5597, allocations: 59.97 kB / 1.191 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.5616, allocations: 1.235 MB / 1.192 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.5617, allocations: 45.64 kB / 1.192 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005663/0.5623, allocations: 0.6144 MB / 1.193 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.5626, allocations: 216.8 kB / 1.193 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/0.5627, allocations: 69.67 kB / 1.193 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5628, allocations: 330 kB / 1.193 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/0.5635, allocations: 297.8 kB / 1.194 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008742/0.5644, allocations: 0.5038 MB / 1.194 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.5659, allocations: 0.7441 MB / 1.195 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.566, allocations: 0 / 1.195 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005115/0.5711, allocations: 1.406 MB / 1.196 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.5713, allocations: 198.4 kB / 1.196 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.5713, allocations: 4 kB / 1.196 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006813/0.572, allocations: 152.7 kB / 1.197 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.5726, allocations: 163.8 kB / 1.197 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008948/0.5735, allocations: 0.72 MB / 1.198 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.5751, allocations: 163.7 kB / 1.198 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-05/0.5752, allocations: 31.98 kB / 1.198 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5752, allocations: 5.562 kB / 1.198 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00472/0.58, allocations: 1.249 MB / 1.199 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.58, allocations: 4 kB / 1.199 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005833/0.5806, allocations: 153.1 kB / 1.199 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.5813, allocations: 167.8 kB / 1.199 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008453/0.5821, allocations: 0.7045 MB / 1.2 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.5836, allocations: 164.4 kB / 1.2 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.5837, allocations: 31.98 kB / 1.2 GB, free: 5.234 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.0008186/0.5845, allocations: 417 kB / 1.2 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.5848, allocations: 130.4 kB / 1.201 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004976/0.5898, allocations: 1.4 MB / 1.202 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.5898, allocations: 15.94 kB / 1.202 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.5898, allocations: 0 / 1.202 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00447/0.5943, allocations: 1.228 MB / 1.203 GB, free: 2 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007312/0.6016, allocations: 2.712 MB / 1.206 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.6017, allocations: 0 / 1.206 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/0.6022, allocations: 132.2 kB / 1.206 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000558/0.6028, allocations: 144.7 kB / 1.206 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.6029, allocations: 23.98 kB / 1.206 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005163/0.608, allocations: 2.443 MB / 1.209 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6081, allocations: 4 kB / 1.209 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006402/0.6145, allocations: 1.848 MB / 1.21 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.6155, allocations: 327.1 kB / 1.211 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.6157, allocations: 23.98 kB / 1.211 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/0.6167, allocations: 95.75 kB / 1.211 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.6169, allocations: 64.25 kB / 1.211 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.6169, allocations: 31.97 kB / 1.211 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001486/0.6184, allocations: 0.8864 MB / 1.212 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6184, allocations: 0 / 1.212 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00226/0.6207, allocations: 0.7135 MB / 1.212 GB, free: 8.211 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.001064/0.6218, allocations: 464.9 kB / 1.213 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002845/0.6246, allocations: 1.157 MB / 1.214 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6247, allocations: 0 / 1.214 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.6263, allocations: 0.5878 MB / 1.215 GB, free: 6 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/0.631, allocations: 0.8102 MB / 1.215 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.6356, allocations: 2.834 MB / 1.218 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007964/0.6364, allocations: 1.183 MB / 1.219 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001461/0.6378, allocations: 298.8 kB / 1.22 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.6382, allocations: 119.4 kB / 1.22 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of SimCode: time 1.483e-06/0.6382, allocations: 4 kB / 1.22 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of Templates: time 0.06448/0.7027, allocations: 32.53 MB / 1.251 GB, free: 500 kB / 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)