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.001027/0.001027, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.007918/0.007918, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.176/1.176, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.257/2.257, allocations: 443.3 MB / 0.7176 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 9.406 kB / 0.8797 GB, free: 41.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 155.2 MB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1046/0.3162, allocations: 129.4 MB / 1.158 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02579/0.342, allocations: 23.07 MB / 1.18 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/0.345, allocations: 111.2 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.3475, allocations: 1.193 MB / 1.181 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007832/0.3554, allocations: 3.779 MB / 1.185 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.3592, allocations: 1.961 MB / 1.187 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007187/0.3664, allocations: 8.29 MB / 1.195 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.3685, allocations: 1.912 MB / 1.197 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003199/0.3717, allocations: 2.298 MB / 1.199 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.3735, allocations: 1.788 MB / 1.201 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.3737, allocations: 92 kB / 1.201 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.3766, allocations: 1.715 MB / 1.203 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003554/0.377, allocations: 457.7 kB / 1.203 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.378, allocations: 1.292 MB / 1.204 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.3816, allocations: 4.139 MB / 1.208 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3816, allocations: 0 / 1.208 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3816, allocations: 0 / 1.208 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.03e-05/0.3816, allocations: 4 kB / 1.208 GB, free: 14.11 MB / 0.9669 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.004062/0.3857, allocations: 2.676 MB / 1.211 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3857, allocations: 16.03 kB / 1.211 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.386, allocations: 216 kB / 1.211 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00405/0.39, allocations: 0.9572 MB / 1.212 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.3933, allocations: 2.264 MB / 1.214 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009295/0.3943, allocations: 322.8 kB / 1.215 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.3945, allocations: 160 kB / 1.215 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003626/0.3981, allocations: 1.989 MB / 1.217 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.3982, allocations: 4 kB / 1.217 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.3983, allocations: 60 kB / 1.217 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.3983, allocations: 43.94 kB / 1.217 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004472/0.4028, allocations: 1.917 MB / 1.219 GB, free: 3.266 MB / 0.9669 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.01018/0.413, allocations: 9.106 MB / 1.228 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/0.4172, allocations: 1.3 MB / 1.229 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.4182, allocations: 485.1 kB / 1.229 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009619/0.4192, allocations: 1.727 MB / 1.231 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.4192, allocations: 46.48 kB / 1.231 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 1.974e-06/0.4192, allocations: 0 / 1.231 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.007991/0.4272, allocations: 2.512 MB / 1.234 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.4273, allocations: 89.05 kB / 1.234 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/0.4305, allocations: 2.536 MB / 1.236 GB, free: 376 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.4306, allocations: 45.7 kB / 1.236 GB, free: 324 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007774/0.4314, allocations: 1.045 MB / 1.237 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.4316, allocations: 276.1 kB / 1.238 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.4317, allocations: 93.67 kB / 1.238 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4319, allocations: 345.9 kB / 1.238 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.4336, allocations: 0.6311 MB / 1.239 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.4355, allocations: 1.005 MB / 1.24 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/0.4384, allocations: 1.334 MB / 1.241 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.4384, allocations: 4 kB / 1.241 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005955/0.4444, allocations: 2.196 MB / 1.243 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4444, allocations: 11.94 kB / 1.243 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4444, allocations: 8 kB / 1.243 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.446, allocations: 0.495 MB / 1.244 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.4472, allocations: 307.5 kB / 1.244 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.4492, allocations: 1.563 MB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.4517, allocations: 481.9 kB / 1.246 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.4518, allocations: 55.97 kB / 1.246 GB, free: 6.141 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.0006119/0.4525, allocations: 461.5 kB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.4528, allocations: 252.8 kB / 1.247 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/0.4561, allocations: 1.552 MB / 1.248 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.4561, allocations: 11.98 kB / 1.248 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4561, allocations: 0 / 1.248 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.4561, allocations: 3.984 kB / 1.248 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006609/0.4627, allocations: 3.713 MB / 1.252 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.4628, allocations: 0 / 1.252 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4253/0.8881, allocations: 144.6 kB / 1.252 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.8898, allocations: 0.4989 MB / 1.252 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.717e-05/0.8898, allocations: 27.77 kB / 1.252 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/0.8921, allocations: 1.647 MB / 1.254 GB, free: 212 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8922, allocations: 2.719 kB / 1.254 GB, free: 212 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005773/0.8979, allocations: 2.081 MB / 1.256 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.899, allocations: 0.5091 MB / 1.256 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.8992, allocations: 18.62 kB / 1.256 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/0.901, allocations: 194.1 kB / 1.257 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.9011, allocations: 58.77 kB / 1.257 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.995e-05/0.9012, allocations: 41.97 kB / 1.257 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003051/0.9043, allocations: 1.79 MB / 1.259 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9043, allocations: 4.656 kB / 1.259 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001919/0.9062, allocations: 0.6857 MB / 1.259 GB, free: 211.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.00739/0.9136, allocations: 3.132 MB / 1.262 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004312/0.918, allocations: 1.434 MB / 1.264 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/0.918, allocations: 0.6562 kB / 1.264 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.9206, allocations: 0.733 MB / 1.264 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007976/0.9285, allocations: 1.309 MB / 1.266 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04123/0.9698, allocations: 20.23 MB / 1.285 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.9705, allocations: 1.49 MB / 1.287 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002144/0.9727, allocations: 447.2 kB / 1.287 GB, free: 198 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009718/0.9737, allocations: 0.908 MB / 1.288 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/0.9737, allocations: 0 / 1.288 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/1.078, allocations: 69.18 MB / 1.356 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/1.078, allocations: 290.6 kB / 1.356 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.315/4.394, allocations: 0 / 1.356 GB, free: 133.5 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)