Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.405/1.405, allocations: 288.4 MB / 303.6 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 184.5 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.101/1.101, allocations: 205.4 MB / 0.631 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006426/0.0006426, allocations: 110.2 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 19.86 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3985/0.5395, allocations: 122.2 MB / 1.1 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02062/0.5602, allocations: 21.59 MB / 1.121 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.5627, allocations: 102.5 kB / 1.121 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.5649, allocations: 0.9976 MB / 1.122 GB, free: 26.14 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006715/0.5716, allocations: 3.385 MB / 1.125 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.5752, allocations: 1.552 MB / 1.127 GB, free: 24.12 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005811/0.581, allocations: 7.227 MB / 1.134 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.5828, allocations: 1.888 MB / 1.135 GB, free: 20.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002934/0.5857, allocations: 2.259 MB / 1.138 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.5873, allocations: 1.678 MB / 1.139 GB, free: 18.1 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.5875, allocations: 91.12 kB / 1.139 GB, free: 18.1 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.5907, allocations: 1.615 MB / 1.141 GB, free: 17.24 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.591, allocations: 419.2 kB / 1.141 GB, free: 16.92 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009815/0.592, allocations: 1.242 MB / 1.143 GB, free: 16.13 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.5944, allocations: 3.263 MB / 1.146 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5944, allocations: 4 kB / 1.146 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5944, allocations: 3.938 kB / 1.146 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.5944, allocations: 0.9375 kB / 1.146 GB, free: 13.93 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.003637/0.5981, allocations: 2.683 MB / 1.148 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5981, allocations: 8.594 kB / 1.148 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/0.5983, allocations: 222.8 kB / 1.149 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003751/0.6021, allocations: 0.9552 MB / 1.15 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.6053, allocations: 2.293 MB / 1.152 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000855/0.6062, allocations: 325.3 kB / 1.152 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.6064, allocations: 162.2 kB / 1.152 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/0.6097, allocations: 1.965 MB / 1.154 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.6098, allocations: 1.062 kB / 1.154 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.6099, allocations: 66.94 kB / 1.154 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.6099, allocations: 37.34 kB / 1.154 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003985/0.6139, allocations: 1.889 MB / 1.156 GB, free: 7.25 MB / 0.6823 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.008788/0.6227, allocations: 9.1 MB / 1.165 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003818/0.6265, allocations: 1.288 MB / 1.166 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009784/0.6275, allocations: 480.1 kB / 1.167 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.6286, allocations: 1.722 MB / 1.168 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.6286, allocations: 49.72 kB / 1.168 GB, free: 12.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.304e-06/0.6286, allocations: 0 / 1.168 GB, free: 12.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.007654/0.6363, allocations: 2.486 MB / 1.171 GB, free: 11.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.6364, allocations: 87.44 kB / 1.171 GB, free: 11.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/0.6395, allocations: 2.494 MB / 1.173 GB, free: 9.797 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.809e-05/0.6396, allocations: 46.83 kB / 1.173 GB, free: 9.754 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007964/0.6404, allocations: 1.044 MB / 1.174 GB, free: 8.828 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.6406, allocations: 274.5 kB / 1.175 GB, free: 8.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/0.6407, allocations: 21.31 kB / 1.175 GB, free: 8.574 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6408, allocations: 351.2 kB / 1.175 GB, free: 8.234 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.6424, allocations: 0.6253 MB / 1.176 GB, free: 7.922 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.6444, allocations: 1.017 MB / 1.177 GB, free: 6.754 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.6472, allocations: 1.314 MB / 1.178 GB, free: 5.336 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6473, allocations: 4 kB / 1.178 GB, free: 5.332 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004646/0.6519, allocations: 1.955 MB / 1.18 GB, free: 3.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6519, allocations: 12.62 kB / 1.18 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.652, allocations: 15.98 kB / 1.18 GB, free: 3.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.6534, allocations: 437.1 kB / 1.18 GB, free: 2.898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.6545, allocations: 307.5 kB / 1.181 GB, free: 2.598 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.6566, allocations: 1.546 MB / 1.182 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/0.6594, allocations: 477.8 kB / 1.183 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.6595, allocations: 67.95 kB / 1.183 GB, free: 476 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007387/0.6603, allocations: 459.6 kB / 1.183 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.6606, allocations: 245.9 kB / 1.183 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003347/0.6639, allocations: 1.544 MB / 1.185 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.6639, allocations: 12 kB / 1.185 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.664, allocations: 3.984 kB / 1.185 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.664, allocations: 7.969 kB / 1.185 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006656/0.6706, allocations: 3.681 MB / 1.188 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.6707, allocations: 4 kB / 1.188 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/0.6712, allocations: 132.2 kB / 1.189 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/0.6725, allocations: 445.8 kB / 1.189 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.6726, allocations: 35.97 kB / 1.189 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002417/0.675, allocations: 1.62 MB / 1.191 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.675, allocations: 7.938 kB / 1.191 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005383/0.6804, allocations: 2.08 MB / 1.193 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006895/0.6811, allocations: 0.5054 MB / 1.193 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/0.6814, allocations: 20 kB / 1.193 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/0.683, allocations: 191.7 kB / 1.193 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.6831, allocations: 67.73 kB / 1.193 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.807e-05/0.6832, allocations: 39.97 kB / 1.193 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002519/0.6857, allocations: 1.75 MB / 1.195 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6857, allocations: 0 / 1.195 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001554/0.6873, allocations: 0.6827 MB / 1.196 GB, free: 2.688 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006439/0.6938, allocations: 3.129 MB / 1.199 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003574/0.6973, allocations: 1.428 MB / 1.2 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6974, allocations: 0 / 1.2 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/0.6995, allocations: 0.7268 MB / 1.201 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00614/0.7056, allocations: 1.324 MB / 1.202 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02812/0.7337, allocations: 14.99 MB / 1.217 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008769/0.7346, allocations: 1.486 MB / 1.218 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001593/0.7362, allocations: 436.5 kB / 1.219 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.7373, allocations: 0.9132 MB / 1.22 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/0.7373, allocations: 0 / 1.22 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9759/1.713, allocations: 73.52 MB / 1.291 GB, free: 15.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/1.713, allocations: 264.6 kB / 1.292 GB, free: 15.56 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.698/6.411, allocations: 0 / 1.292 GB, free: 15.56 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)