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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> 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.0007537/0.0007537, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004744/0.004744, allocations: 169 kB / 16.26 MB, free: 6.652 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.547/2.547, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 18.38 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2557, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1171/0.3728, allocations: 129.4 MB / 1.185 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02903/0.4019, allocations: 23.07 MB / 1.208 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003882/0.4058, allocations: 111.2 kB / 1.208 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003639/0.4094, allocations: 1.204 MB / 1.209 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.4196, allocations: 3.781 MB / 1.213 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.4245, allocations: 1.961 MB / 1.215 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009258/0.4337, allocations: 8.294 MB / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003259/0.437, allocations: 1.917 MB / 1.225 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004732/0.4418, allocations: 2.29 MB / 1.227 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002984/0.4448, allocations: 1.788 MB / 1.229 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005477/0.4453, allocations: 92 kB / 1.229 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004133/0.4495, allocations: 1.719 MB / 1.23 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007056/0.4502, allocations: 453.6 kB / 1.231 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002103/0.4523, allocations: 1.292 MB / 1.232 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006016/0.4583, allocations: 4.139 MB / 1.236 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.4583, allocations: 0 / 1.236 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4584, allocations: 0 / 1.236 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001076/0.4585, allocations: 4 kB / 1.236 GB, free: 14.77 MB / 0.9981 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.005387/0.4639, allocations: 2.682 MB / 1.239 GB, free: 12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4639, allocations: 15.97 kB / 1.239 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003855/0.4643, allocations: 216 kB / 1.239 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/0.4688, allocations: 0.9612 MB / 1.24 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003924/0.4728, allocations: 2.257 MB / 1.242 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009674/0.4738, allocations: 322.9 kB / 1.242 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.474, allocations: 160 kB / 1.242 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004046/0.4781, allocations: 1.977 MB / 1.244 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.4781, allocations: 7.938 kB / 1.244 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.4783, allocations: 60 kB / 1.244 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.4783, allocations: 43.94 kB / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004827/0.4831, allocations: 1.913 MB / 1.246 GB, free: 3.93 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.4264/0.9095, allocations: 9.111 MB / 1.255 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004183/0.9137, allocations: 1.299 MB / 1.257 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009532/0.9147, allocations: 484.7 kB / 1.257 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/0.9153, allocations: 1.727 MB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.9153, allocations: 44.34 kB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/0.9153, allocations: 0 / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.007838/0.9232, allocations: 2.519 MB / 1.261 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.9232, allocations: 86.61 kB / 1.261 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003161/0.9264, allocations: 2.538 MB / 1.264 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.064e-05/0.9265, allocations: 44.55 kB / 1.264 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006615/0.9271, allocations: 1.049 MB / 1.265 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.9273, allocations: 272.6 kB / 1.265 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.9275, allocations: 91.44 kB / 1.265 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.9276, allocations: 342.1 kB / 1.265 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.9292, allocations: 0.632 MB / 1.266 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.9311, allocations: 1.008 MB / 1.267 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/0.9342, allocations: 1.335 MB / 1.268 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.9342, allocations: 2.281 kB / 1.268 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006796/0.941, allocations: 2.196 MB / 1.271 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.9411, allocations: 8.781 kB / 1.271 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.9411, allocations: 8.156 kB / 1.271 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001818/0.9429, allocations: 0.5021 MB / 1.271 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.9442, allocations: 302.5 kB / 1.271 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.9463, allocations: 1.566 MB / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/0.9494, allocations: 484.9 kB / 1.273 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.9496, allocations: 58.72 kB / 1.273 GB, free: 175.6 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.0008398/0.9504, allocations: 457.5 kB / 1.274 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/0.9508, allocations: 248.7 kB / 1.274 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/0.9544, allocations: 1.557 MB / 1.276 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.9544, allocations: 10.17 kB / 1.276 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.9544, allocations: 2.656 kB / 1.276 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.9545, allocations: 5.906 kB / 1.276 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007364/0.9618, allocations: 3.713 MB / 1.279 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.9619, allocations: 2.781 kB / 1.279 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/0.9625, allocations: 143.1 kB / 1.279 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.9641, allocations: 0.4987 MB / 1.28 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.9642, allocations: 26.45 kB / 1.28 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.9666, allocations: 1.653 MB / 1.281 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9666, allocations: 3.891 kB / 1.281 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00581/0.9724, allocations: 2.073 MB / 1.284 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008463/0.9733, allocations: 0.5163 MB / 1.284 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/0.9735, allocations: 20.38 kB / 1.284 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/0.9752, allocations: 197.3 kB / 1.284 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.9753, allocations: 62.31 kB / 1.284 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/0.9754, allocations: 42 kB / 1.284 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002674/0.9781, allocations: 1.793 MB / 1.286 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9781, allocations: 0 / 1.286 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001722/0.9798, allocations: 0.677 MB / 1.287 GB, free: 171 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.006732/0.9866, allocations: 3.139 MB / 1.29 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003834/0.9904, allocations: 1.437 MB / 1.291 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9905, allocations: 0 / 1.291 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.9927, allocations: 0.7242 MB / 1.292 GB, free: 169 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006486/0.9992, allocations: 1.32 MB / 1.293 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03438/1.034, allocations: 20.22 MB / 1.313 GB, free: 153 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/1.034, allocations: 1.487 MB / 1.314 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001807/1.036, allocations: 444.8 kB / 1.315 GB, free: 151 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008763/1.037, allocations: 0.9093 MB / 1.316 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.037, allocations: 3.938 kB / 1.316 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4615/1.498, allocations: 69.18 MB / 1.383 GB, free: 81.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/1.499, allocations: 301.5 kB / 1.384 GB, free: 81.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.493/4.992, allocations: 0 / 1.384 GB, free: 81.42 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)