Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.001201/0.001201, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001206/0.001206, allocations: 192.1 kB / 16.13 MB, free: 6.645 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.216/1.216, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.407/2.407, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 68.44 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2206, allocations: 157.4 MB / 1.052 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1076/0.3283, allocations: 131.4 MB / 1.181 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02614/0.3544, allocations: 23.31 MB / 1.203 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003516/0.358, allocations: 115.2 kB / 1.203 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.3615, allocations: 1.204 MB / 1.205 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008738/0.3703, allocations: 3.779 MB / 1.208 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004295/0.3746, allocations: 1.96 MB / 1.21 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00808/0.3827, allocations: 8.272 MB / 1.218 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.3855, allocations: 1.97 MB / 1.22 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004111/0.3896, allocations: 2.368 MB / 1.222 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.3922, allocations: 1.859 MB / 1.224 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004814/0.3927, allocations: 120 kB / 1.224 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.3963, allocations: 1.738 MB / 1.226 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004397/0.3967, allocations: 493.6 kB / 1.227 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.398, allocations: 1.333 MB / 1.228 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003981/0.402, allocations: 4.23 MB / 1.232 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.402, allocations: 0 / 1.232 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of FrontEnd: time 6.72e-07/0.4021, allocations: 0 / 1.232 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.18e-05/0.4021, allocations: 0 / 1.232 GB, free: 15.53 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.004755/0.4068, allocations: 3.156 MB / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4069, allocations: 11.97 kB / 1.235 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002323/0.4071, allocations: 220 kB / 1.235 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/0.4113, allocations: 0.8397 MB / 1.236 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/0.4149, allocations: 2.268 MB / 1.238 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009256/0.4158, allocations: 290.8 kB / 1.239 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.416, allocations: 164 kB / 1.239 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.4197, allocations: 1.937 MB / 1.241 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.4197, allocations: 0 / 1.241 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.4199, allocations: 67.94 kB / 1.241 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.4199, allocations: 36 kB / 1.241 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004538/0.4244, allocations: 1.815 MB / 1.243 GB, free: 4.496 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.3928/0.8173, allocations: 9.008 MB / 1.251 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003863/0.8212, allocations: 1.191 MB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009103/0.8221, allocations: 460.7 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.8227, allocations: 1.723 MB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.8228, allocations: 40.97 kB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.454e-06/0.8228, allocations: 0 / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.007348/0.8301, allocations: 2.328 MB / 1.257 GB, free: 182 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.8301, allocations: 90.05 kB / 1.257 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002956/0.8331, allocations: 2.491 MB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.8332, allocations: 41.7 kB / 1.259 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006134/0.8338, allocations: 1.038 MB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.834, allocations: 279.2 kB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/0.8343, allocations: 252.5 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.8344, allocations: 347.4 kB / 1.261 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.8359, allocations: 0.5841 MB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.8377, allocations: 0.9689 MB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.8402, allocations: 1.257 MB / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.8402, allocations: 6.5 kB / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005902/0.8461, allocations: 2.048 MB / 1.266 GB, free: 180 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.8462, allocations: 13.84 kB / 1.266 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.8462, allocations: 8.688 kB / 1.266 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.8476, allocations: 416.2 kB / 1.267 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.8489, allocations: 300.5 kB / 1.267 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.8506, allocations: 1.493 MB / 1.268 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/0.8531, allocations: 429 kB / 1.269 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.8532, allocations: 66.42 kB / 1.269 GB, free: 178.8 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005847/0.8538, allocations: 468.6 kB / 1.269 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.8542, allocations: 245.7 kB / 1.269 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.8578, allocations: 1.49 MB / 1.271 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.8578, allocations: 19.25 kB / 1.271 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.8578, allocations: 0.5 kB / 1.271 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.8578, allocations: 5.344 kB / 1.271 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00665/0.8645, allocations: 3.584 MB / 1.274 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.8645, allocations: 5.875 kB / 1.274 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.8651, allocations: 128.6 kB / 1.275 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.8664, allocations: 423.2 kB / 1.275 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.8665, allocations: 23.39 kB / 1.275 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.8686, allocations: 1.568 MB / 1.276 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8686, allocations: 8.406 kB / 1.276 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005113/0.8737, allocations: 1.934 MB / 1.278 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/0.8743, allocations: 491.3 kB / 1.279 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.8746, allocations: 20.47 kB / 1.279 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.8762, allocations: 168 kB / 1.279 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.8763, allocations: 62.16 kB / 1.279 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.8764, allocations: 38.86 kB / 1.279 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002352/0.8787, allocations: 1.753 MB / 1.281 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8788, allocations: 0 / 1.281 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001493/0.8803, allocations: 0.6779 MB / 1.281 GB, free: 174.6 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005927/0.8862, allocations: 2.989 MB / 1.284 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003513/0.8897, allocations: 1.344 MB / 1.286 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8897, allocations: 1.062 kB / 1.286 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/0.8918, allocations: 0.6671 MB / 1.286 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004621/0.8964, allocations: 1.257 MB / 1.288 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/0.9302, allocations: 19.76 MB / 1.307 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.9309, allocations: 1.491 MB / 1.308 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001576/0.9324, allocations: 441.4 kB / 1.309 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008053/0.9332, allocations: 0.8976 MB / 1.31 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.9333, allocations: 0 / 1.31 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.592/3.526, allocations: 65.44 MB / 1.374 GB, free: 91.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/3.526, allocations: 284.4 kB / 1.374 GB, free: 90.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/6.634, allocations: 0 / 1.374 GB, free: 90.86 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)