Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001637/0.001637, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.453/3.453, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003813/0.003813, allocations: 66.19 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5113, allocations: 157.4 MB / 1.052 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1407/0.6521, allocations: 131.1 MB / 1.18 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.05157/0.7037, allocations: 23.07 MB / 1.203 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005573/0.7093, allocations: 111.3 kB / 1.203 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006145/0.7155, allocations: 1.286 MB / 1.204 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01742/0.733, allocations: 3.811 MB / 1.208 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008418/0.7414, allocations: 1.991 MB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01296/0.7544, allocations: 6.58 MB / 1.216 GB, free: 252 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005458/0.7599, allocations: 2.351 MB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009662/0.7696, allocations: 2.766 MB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004437/0.774, allocations: 1.945 MB / 1.223 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008784/0.7749, allocations: 247.9 kB / 1.224 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007017/0.782, allocations: 1.957 MB / 1.225 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.7832, allocations: 0.607 MB / 1.226 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003357/0.7866, allocations: 1.458 MB / 1.227 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009139/0.7958, allocations: 4.331 MB / 1.232 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.7958, allocations: 4 kB / 1.232 GB, free: 500 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7958, allocations: 0 / 1.232 GB, free: 500 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001276/0.796, allocations: 0 / 1.232 GB, free: 500 kB / 0.9825 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.01028/0.8063, allocations: 3.18 MB / 1.235 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/0.8064, allocations: 16.62 kB / 1.235 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005345/0.8069, allocations: 220 kB / 1.235 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007732/0.8146, allocations: 0.8362 MB / 1.236 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007569/0.8222, allocations: 2.268 MB / 1.238 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001611/0.8239, allocations: 286.9 kB / 1.238 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004765/0.8244, allocations: 164 kB / 1.238 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0079/0.8323, allocations: 1.936 MB / 1.24 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.984e-05/0.8324, allocations: 7.938 kB / 1.24 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003055/0.8327, allocations: 71.98 kB / 1.24 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/0.8328, allocations: 39.94 kB / 1.241 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008429/0.8412, allocations: 1.827 MB / 1.242 GB, free: 5.41 MB / 0.9981 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.6725/1.514, allocations: 9.013 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006673/1.52, allocations: 1.21 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/1.522, allocations: 463.3 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/1.523, allocations: 1.718 MB / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/1.523, allocations: 46.95 kB / 1.254 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 4.819e-06/1.523, allocations: 3.969 kB / 1.254 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.01296/1.536, allocations: 2.328 MB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/1.536, allocations: 85.86 kB / 1.257 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007163/1.544, allocations: 2.525 MB / 1.259 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002349/1.544, allocations: 45.52 kB / 1.259 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/1.545, allocations: 1.043 MB / 1.26 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/1.546, allocations: 272.6 kB / 1.261 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007804/1.546, allocations: 257.7 kB / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.547, allocations: 346.6 kB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00274/1.549, allocations: 0.584 MB / 1.262 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/1.553, allocations: 0.9692 MB / 1.263 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004618/1.557, allocations: 1.26 MB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/1.557, allocations: 2.094 kB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.01101/1.568, allocations: 2.048 MB / 1.266 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/1.568, allocations: 7.969 kB / 1.266 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/1.568, allocations: 7.969 kB / 1.266 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/1.571, allocations: 498.3 kB / 1.266 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/1.574, allocations: 289.4 kB / 1.267 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/1.577, allocations: 1.524 MB / 1.268 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/1.582, allocations: 431.1 kB / 1.269 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/1.582, allocations: 61.91 kB / 1.269 GB, free: 179.7 MB / 0.9981 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001567/1.584, allocations: 472.5 kB / 1.269 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.585, allocations: 244.9 kB / 1.269 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006815/1.592, allocations: 1.499 MB / 1.271 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.056e-05/1.592, allocations: 14.86 kB / 1.271 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/1.592, allocations: 9.031 kB / 1.271 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/1.592, allocations: 4.969 kB / 1.271 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/1.607, allocations: 3.6 MB / 1.274 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/1.607, allocations: 3.375 kB / 1.274 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.608, allocations: 128.2 kB / 1.274 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00294/1.611, allocations: 492 kB / 1.275 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/1.611, allocations: 30.5 kB / 1.275 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/1.615, allocations: 1.587 MB / 1.276 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.615, allocations: 4.406 kB / 1.277 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009374/1.624, allocations: 1.936 MB / 1.278 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/1.626, allocations: 489.9 kB / 1.279 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009131/1.627, allocations: 27.48 kB / 1.279 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003441/1.63, allocations: 168.1 kB / 1.279 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.63, allocations: 54.72 kB / 1.279 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.631, allocations: 43.38 kB / 1.279 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005271/1.636, allocations: 1.775 MB / 1.281 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.11e-07/1.636, allocations: 0.75 kB / 1.281 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003511/1.639, allocations: 0.6841 MB / 1.282 GB, free: 175.4 MB / 0.9981 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01098/1.65, allocations: 2.998 MB / 1.284 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006677/1.657, allocations: 1.387 MB / 1.286 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.657, allocations: 1.062 kB / 1.286 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003587/1.661, allocations: 0.6752 MB / 1.286 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01032/1.671, allocations: 1.342 MB / 1.288 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07138/1.742, allocations: 19.8 MB / 1.307 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/1.744, allocations: 1.49 MB / 1.309 GB, free: 158 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003548/1.748, allocations: 438.7 kB / 1.309 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001762/1.749, allocations: 0.9015 MB / 1.31 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.749, allocations: 0 / 1.31 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/1.898, allocations: 67.66 MB / 1.376 GB, free: 89.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/1.899, allocations: 287.3 kB / 1.376 GB, free: 89.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.275/7.174, allocations: 0 / 1.376 GB, free: 89.47 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)