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.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001169/0.001169, allocations: 191.5 kB / 16.14 MB, free: 6.719 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.181/1.181, allocations: 222.9 MB / 239.8 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.367/2.367, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 61.7 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2186, allocations: 157.4 MB / 1.052 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1029/0.3216, allocations: 131.4 MB / 1.181 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02573/0.3474, allocations: 23.32 MB / 1.203 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.3497, allocations: 111.2 kB / 1.203 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.3521, allocations: 1.208 MB / 1.205 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006815/0.359, allocations: 3.783 MB / 1.208 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/0.3626, allocations: 1.957 MB / 1.21 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006779/0.3694, allocations: 8.287 MB / 1.218 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.3715, allocations: 1.97 MB / 1.22 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.3747, allocations: 2.368 MB / 1.223 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.3764, allocations: 1.863 MB / 1.224 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.3767, allocations: 123.9 kB / 1.224 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.3796, allocations: 1.746 MB / 1.226 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.38, allocations: 489.6 kB / 1.227 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.3811, allocations: 1.333 MB / 1.228 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.3847, allocations: 4.237 MB / 1.232 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3847, allocations: 7.938 kB / 1.232 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.51e-07/0.3847, allocations: 0 / 1.232 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.3847, allocations: 0 / 1.232 GB, free: 15.34 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.004491/0.3892, allocations: 3.181 MB / 1.235 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3893, allocations: 11.97 kB / 1.235 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002231/0.3895, allocations: 220 kB / 1.235 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003939/0.3934, allocations: 0.8362 MB / 1.236 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003322/0.3968, allocations: 2.268 MB / 1.238 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008598/0.3977, allocations: 294.9 kB / 1.239 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.3979, allocations: 156 kB / 1.239 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0035/0.4014, allocations: 1.948 MB / 1.241 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.4014, allocations: 3.938 kB / 1.241 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.4015, allocations: 60 kB / 1.241 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.4016, allocations: 47.92 kB / 1.241 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004224/0.4058, allocations: 1.827 MB / 1.243 GB, free: 4.262 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.3736/0.7794, allocations: 9.019 MB / 1.251 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/0.7832, allocations: 1.195 MB / 1.253 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000858/0.7841, allocations: 461.5 kB / 1.253 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/0.7847, allocations: 1.721 MB / 1.255 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.7847, allocations: 44.27 kB / 1.255 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.595e-06/0.7847, allocations: 3.938 kB / 1.255 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.006917/0.7916, allocations: 2.341 MB / 1.257 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.7917, allocations: 87.44 kB / 1.257 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.7946, allocations: 2.515 MB / 1.26 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/0.7946, allocations: 50.11 kB / 1.26 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/0.7953, allocations: 1.046 MB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.7954, allocations: 271.3 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.7958, allocations: 257.4 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.7959, allocations: 342.1 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.7973, allocations: 0.5871 MB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.799, allocations: 0.9727 MB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.8014, allocations: 1.256 MB / 1.264 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.8015, allocations: 6.641 kB / 1.264 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005625/0.8071, allocations: 2.056 MB / 1.266 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.8071, allocations: 8.906 kB / 1.266 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.8071, allocations: 11 kB / 1.266 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.8087, allocations: 497.8 kB / 1.267 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.8098, allocations: 286.9 kB / 1.267 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.8115, allocations: 1.51 MB / 1.269 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.8139, allocations: 441.8 kB / 1.269 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.8141, allocations: 65.28 kB / 1.269 GB, free: 178.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.0006101/0.8147, allocations: 460 kB / 1.269 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/0.8151, allocations: 244.1 kB / 1.27 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/0.8187, allocations: 1.504 MB / 1.271 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.8187, allocations: 10.77 kB / 1.271 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.8187, allocations: 6.188 kB / 1.271 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.8187, allocations: 4.812 kB / 1.271 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006404/0.8252, allocations: 3.601 MB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.8252, allocations: 3.562 kB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/0.8257, allocations: 127.6 kB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.8272, allocations: 497.3 kB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.8273, allocations: 25.83 kB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.8293, allocations: 1.584 MB / 1.277 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.8293, allocations: 5.078 kB / 1.277 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004966/0.8343, allocations: 1.932 MB / 1.279 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/0.8349, allocations: 0.4907 MB / 1.279 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.8352, allocations: 16.58 kB / 1.279 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.8367, allocations: 170.9 kB / 1.279 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.8368, allocations: 61.7 kB / 1.279 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/0.8369, allocations: 48.8 kB / 1.28 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002299/0.8392, allocations: 1.772 MB / 1.281 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8392, allocations: 0 / 1.281 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001512/0.8408, allocations: 0.6799 MB / 1.282 GB, free: 174.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.005724/0.8465, allocations: 2.998 MB / 1.285 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003317/0.8498, allocations: 1.354 MB / 1.286 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8498, allocations: 1.125 kB / 1.286 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.8517, allocations: 0.6751 MB / 1.287 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/0.8563, allocations: 1.263 MB / 1.288 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03193/0.8882, allocations: 19.8 MB / 1.307 GB, free: 158 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.8889, allocations: 1.486 MB / 1.309 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001571/0.8905, allocations: 433.7 kB / 1.309 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008208/0.8913, allocations: 0.9093 MB / 1.31 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.8913, allocations: 0 / 1.31 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3343/1.226, allocations: 65.8 MB / 1.374 GB, free: 90.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.226, allocations: 294.7 kB / 1.375 GB, free: 89.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/4.428, allocations: 3.75 kB / 1.375 GB, free: 89.85 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)