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.001415/0.001421, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001305/0.001305, allocations: 194 kB / 16.25 MB, free: 6.617 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 472.6 MB / 0.7448 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 62.83 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.38, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.07154/0.4516, allocations: 74.79 MB / 1.141 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.4703, allocations: 12.7 MB / 1.153 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.4733, allocations: 63.56 kB / 1.153 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.4759, allocations: 0.7189 MB / 1.154 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007136/0.483, allocations: 2.306 MB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.4867, allocations: 1.29 MB / 1.157 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00647/0.4932, allocations: 4.435 MB / 1.162 GB, free: 10.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.4957, allocations: 1.445 MB / 1.163 GB, free: 8.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.4999, allocations: 1.645 MB / 1.165 GB, free: 7.125 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.5021, allocations: 1.249 MB / 1.166 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002894/0.5024, allocations: 164 kB / 1.166 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.5057, allocations: 1.419 MB / 1.168 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.5061, allocations: 406.5 kB / 1.168 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.5073, allocations: 0.9177 MB / 1.169 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004229/0.5116, allocations: 2.863 MB / 1.172 GB, free: 100 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5116, allocations: 0 / 1.172 GB, free: 100 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5116, allocations: 7.938 kB / 1.172 GB, free: 92 kB / 0.92 GB Notification: Performance of Transformations before backend: time 2.582e-05/0.5116, allocations: 0 / 1.172 GB, free: 92 kB / 0.92 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.003816/0.5155, allocations: 2.103 MB / 1.174 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5155, allocations: 8.031 kB / 1.174 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008835/0.5164, allocations: 230.8 kB / 1.174 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/0.5198, allocations: 1.521 MB / 1.175 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.5199, allocations: 82 kB / 1.175 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.5201, allocations: 103.9 kB / 1.176 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.5225, allocations: 1.096 MB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.5226, allocations: 0 / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.5227, allocations: 44 kB / 1.177 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.825e-05/0.5227, allocations: 27.98 kB / 1.177 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.5248, allocations: 0.8822 MB / 1.178 GB, free: 9.852 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.006826/0.5317, allocations: 4.92 MB / 1.182 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.5331, allocations: 0.6047 MB / 1.183 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006733/0.5338, allocations: 334.9 kB / 1.183 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006688/0.5344, allocations: 0.8316 MB / 1.184 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.5345, allocations: 43.05 kB / 1.184 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.535e-06/0.5345, allocations: 0 / 1.184 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007308/0.5418, allocations: 1.709 MB / 1.186 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.5419, allocations: 59.97 kB / 1.186 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.5436, allocations: 1.239 MB / 1.187 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.5438, allocations: 41.7 kB / 1.187 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/0.5443, allocations: 0.6144 MB / 1.188 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.5446, allocations: 208.9 kB / 1.188 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.5448, allocations: 154.5 kB / 1.188 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.545, allocations: 337.9 kB / 1.188 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006729/0.5456, allocations: 284.7 kB / 1.189 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008736/0.5465, allocations: 495.9 kB / 1.189 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.5479, allocations: 0.7051 MB / 1.19 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.5479, allocations: 4 kB / 1.19 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004718/0.5527, allocations: 1.273 MB / 1.191 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.5527, allocations: 4 kB / 1.191 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.5527, allocations: 4 kB / 1.191 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/0.5534, allocations: 149 kB / 1.191 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.554, allocations: 155.8 kB / 1.191 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000853/0.5549, allocations: 0.6967 MB / 1.192 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.5561, allocations: 163 kB / 1.192 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.5562, allocations: 31.98 kB / 1.192 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001141/0.5574, allocations: 0.5494 MB / 1.193 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008403/0.5582, allocations: 487.8 kB / 1.193 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001389/0.5596, allocations: 0.705 MB / 1.194 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-06/0.5596, allocations: 0 / 1.194 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004788/0.5644, allocations: 1.261 MB / 1.195 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5645, allocations: 8.375 kB / 1.195 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5645, allocations: 8 kB / 1.195 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.5651, allocations: 144.7 kB / 1.195 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/0.5657, allocations: 151.8 kB / 1.195 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008203/0.5665, allocations: 0.7006 MB / 1.196 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.5679, allocations: 131.5 kB / 1.196 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-05/0.568, allocations: 31.98 kB / 1.196 GB, free: 5.766 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.0002916/0.5683, allocations: 224.1 kB / 1.196 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.5686, allocations: 138.2 kB / 1.197 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004768/0.5734, allocations: 1.26 MB / 1.198 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.5734, allocations: 4 kB / 1.198 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5734, allocations: 0 / 1.198 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004168/0.5776, allocations: 1.095 MB / 1.199 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007534/0.5852, allocations: 2.575 MB / 1.201 GB, free: 308 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.5852, allocations: 8.094 kB / 1.201 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/0.5859, allocations: 115.9 kB / 1.202 GB, free: 184 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006276/0.5866, allocations: 140.8 kB / 1.202 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.5867, allocations: 23.94 kB / 1.202 GB, free: 16 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005331/0.592, allocations: 2.571 MB / 1.204 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.5921, allocations: 15.81 kB / 1.204 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/0.5979, allocations: 1.684 MB / 1.206 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.5989, allocations: 315.1 kB / 1.206 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/0.5994, allocations: 16 kB / 1.206 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.6006, allocations: 83.91 kB / 1.206 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.6008, allocations: 56.25 kB / 1.206 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-05/0.6009, allocations: 31.97 kB / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001845/0.6028, allocations: 0.8943 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6028, allocations: 0 / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002946/0.6057, allocations: 0.7213 MB / 1.208 GB, free: 9.398 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.607, allocations: 462.6 kB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003268/0.6103, allocations: 1.152 MB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.6104, allocations: 0 / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.612, allocations: 0.5526 MB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/0.6167, allocations: 0.8142 MB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/0.622, allocations: 2.776 MB / 1.214 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.6231, allocations: 1.183 MB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001638/0.6247, allocations: 303 kB / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.6251, allocations: 111.4 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of SimCode: time 1.243e-06/0.6251, allocations: 0 / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of Templates: time 0.06196/0.6871, allocations: 32.24 MB / 1.247 GB, free: 2.137 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)