Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_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.001043/0.001043, allocations: 97.95 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.007596/0.007596, allocations: 170 kB / 16.27 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003017, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5632/0.5635, allocations: 142.4 MB / 0.9552 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1133/0.6768, allocations: 129.4 MB / 1.082 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0286/0.7055, allocations: 23.06 MB / 1.104 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003663/0.7092, allocations: 103.3 kB / 1.104 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003391/0.7126, allocations: 1.208 MB / 1.105 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009447/0.722, allocations: 3.773 MB / 1.109 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004786/0.7268, allocations: 1.968 MB / 1.111 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009374/0.7362, allocations: 8.284 MB / 1.119 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0029/0.7391, allocations: 1.911 MB / 1.121 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00432/0.7435, allocations: 2.294 MB / 1.123 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/0.7462, allocations: 1.8 MB / 1.125 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003923/0.7466, allocations: 88 kB / 1.125 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.7504, allocations: 1.719 MB / 1.127 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005343/0.7509, allocations: 445.6 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.7524, allocations: 1.296 MB / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0045/0.7569, allocations: 4.139 MB / 1.132 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7569, allocations: 0 / 1.132 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7569, allocations: 0 / 1.132 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.141e-05/0.757, allocations: 8 kB / 1.132 GB, free: 9.227 MB / 0.8887 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.004305/0.7613, allocations: 2.678 MB / 1.135 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.7613, allocations: 12.03 kB / 1.135 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002394/0.7616, allocations: 216 kB / 1.135 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/0.766, allocations: 0.9528 MB / 1.136 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00362/0.7696, allocations: 2.268 MB / 1.138 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009874/0.7706, allocations: 326.9 kB / 1.139 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.7708, allocations: 159.9 kB / 1.139 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004169/0.775, allocations: 1.977 MB / 1.141 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.775, allocations: 11.92 kB / 1.141 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.7752, allocations: 63.94 kB / 1.141 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.7752, allocations: 44 kB / 1.141 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004704/0.78, allocations: 1.913 MB / 1.143 GB, free: 14.38 MB / 0.9044 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.01129/0.7913, allocations: 9.106 MB / 1.152 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/0.7956, allocations: 1.295 MB / 1.153 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.7968, allocations: 481.4 kB / 1.153 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.7978, allocations: 1.719 MB / 1.155 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.7979, allocations: 50.5 kB / 1.155 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.435e-06/0.7979, allocations: 0 / 1.155 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008671/0.8066, allocations: 2.523 MB / 1.158 GB, free: 14.14 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.8066, allocations: 89.11 kB / 1.158 GB, free: 14.04 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/0.8103, allocations: 2.536 MB / 1.16 GB, free: 11.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.595e-05/0.8104, allocations: 41.7 kB / 1.16 GB, free: 11.44 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008278/0.8113, allocations: 1.049 MB / 1.161 GB, free: 10.38 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.8115, allocations: 276.2 kB / 1.161 GB, free: 10.11 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.8117, allocations: 89.67 kB / 1.162 GB, free: 10.01 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8118, allocations: 345.9 kB / 1.162 GB, free: 9.668 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.8136, allocations: 0.6272 MB / 1.162 GB, free: 9.039 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.8156, allocations: 1.021 MB / 1.163 GB, free: 7.867 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002994/0.8186, allocations: 1.322 MB / 1.165 GB, free: 6.445 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.8187, allocations: 4 kB / 1.165 GB, free: 6.441 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006379/0.825, allocations: 2.196 MB / 1.167 GB, free: 4.227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.8251, allocations: 8 kB / 1.167 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.8251, allocations: 8.625 kB / 1.167 GB, free: 4.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.8268, allocations: 0.5025 MB / 1.167 GB, free: 3.703 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.8281, allocations: 303.6 kB / 1.168 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.8302, allocations: 1.565 MB / 1.169 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/0.833, allocations: 483.9 kB / 1.17 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.8332, allocations: 59.95 kB / 1.17 GB, free: 1.258 MB / 0.92 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.0007626/0.8339, allocations: 475.2 kB / 1.17 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.8343, allocations: 248.9 kB / 1.17 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.8378, allocations: 1.548 MB / 1.172 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.8378, allocations: 15.98 kB / 1.172 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8379, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.8379, allocations: 7.922 kB / 1.172 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007066/0.8449, allocations: 3.702 MB / 1.176 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.845, allocations: 4 kB / 1.176 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.8456, allocations: 136.1 kB / 1.176 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.8472, allocations: 0.4946 MB / 1.176 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.8473, allocations: 35.91 kB / 1.176 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002636/0.8499, allocations: 1.649 MB / 1.178 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.8499, allocations: 8 kB / 1.178 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005944/0.8559, allocations: 2.084 MB / 1.18 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000846/0.8567, allocations: 0.5092 MB / 1.18 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.857, allocations: 19.98 kB / 1.18 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.8588, allocations: 195.7 kB / 1.181 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.8589, allocations: 60 kB / 1.181 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/0.859, allocations: 47.95 kB / 1.181 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002748/0.8618, allocations: 1.793 MB / 1.182 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8618, allocations: 0 / 1.182 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00165/0.8634, allocations: 0.6788 MB / 1.183 GB, free: 3.281 MB / 0.9356 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.007213/0.8707, allocations: 3.14 MB / 1.186 GB, free: 76 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004094/0.8748, allocations: 1.435 MB / 1.188 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8748, allocations: 0 / 1.188 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.8772, allocations: 0.7288 MB / 1.188 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007058/0.8842, allocations: 1.312 MB / 1.19 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04123/0.9255, allocations: 20.23 MB / 1.209 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.9266, allocations: 1.494 MB / 1.211 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001993/0.9286, allocations: 433.2 kB / 1.211 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/0.9299, allocations: 0.9132 MB / 1.212 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/0.9299, allocations: 0 / 1.212 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4992/1.429, allocations: 69.17 MB / 1.28 GB, free: 258.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/1.429, allocations: 282.3 kB / 1.28 GB, free: 258.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.344/4.774, allocations: 1.75 kB / 1.28 GB, free: 258.4 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)