Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001986/0.001986, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.626/1.626, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 74.06 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3727, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.126/0.4988, allocations: 131.1 MB / 1.196 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03439/0.5332, allocations: 23.06 MB / 1.218 GB, free: 164 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005615/0.5389, allocations: 119.2 kB / 1.218 GB, free: 44 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004951/0.5438, allocations: 1.286 MB / 1.22 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0134/0.5573, allocations: 3.818 MB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006871/0.5642, allocations: 1.977 MB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01029/0.5745, allocations: 6.592 MB / 1.232 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004634/0.5792, allocations: 2.347 MB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007593/0.5868, allocations: 2.762 MB / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/0.5909, allocations: 1.933 MB / 1.239 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.5921, allocations: 244 kB / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005629/0.5978, allocations: 1.965 MB / 1.241 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.599, allocations: 0.6031 MB / 1.241 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003463/0.6025, allocations: 1.466 MB / 1.243 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00863/0.6112, allocations: 4.327 MB / 1.247 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.6112, allocations: 0 / 1.247 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6112, allocations: 4 kB / 1.247 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001592/0.6114, allocations: 0 / 1.247 GB, free: 2.605 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.5658/1.177, allocations: 3.178 MB / 1.25 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.023e-05/1.177, allocations: 9.875 kB / 1.25 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005166/1.183, allocations: 0.8458 MB / 1.251 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005676/1.188, allocations: 2.257 MB / 1.253 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009951/1.189, allocations: 291 kB / 1.253 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/1.19, allocations: 167.5 kB / 1.254 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004964/1.195, allocations: 1.938 MB / 1.255 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/1.195, allocations: 9.438 kB / 1.255 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/1.195, allocations: 63.91 kB / 1.256 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.912e-05/1.195, allocations: 36.88 kB / 1.256 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004592/1.199, allocations: 1.831 MB / 1.257 GB, free: 179.1 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.01369/1.213, allocations: 9.025 MB / 1.266 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004357/1.218, allocations: 1.196 MB / 1.267 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/1.219, allocations: 462.7 kB / 1.268 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009538/1.22, allocations: 1.72 MB / 1.269 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.22, allocations: 47.09 kB / 1.269 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.467e-06/1.22, allocations: 3.828 kB / 1.269 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.00983/1.23, allocations: 2.337 MB / 1.272 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/1.23, allocations: 84.8 kB / 1.272 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006176/1.236, allocations: 2.518 MB / 1.274 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004213/1.236, allocations: 44.7 kB / 1.274 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/1.238, allocations: 1.05 MB / 1.275 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006068/1.238, allocations: 270.9 kB / 1.276 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007779/1.239, allocations: 260 kB / 1.276 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.239, allocations: 352.2 kB / 1.276 GB, free: 167 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002558/1.242, allocations: 0.5864 MB / 1.277 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003086/1.245, allocations: 0.9655 MB / 1.278 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/1.249, allocations: 1.261 MB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/1.249, allocations: 6.469 kB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.009366/1.258, allocations: 2.046 MB / 1.281 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.882e-05/1.258, allocations: 8.594 kB / 1.281 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.763e-05/1.258, allocations: 11.38 kB / 1.281 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/1.261, allocations: 0.4897 MB / 1.281 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/1.263, allocations: 287.7 kB / 1.282 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/1.266, allocations: 1.515 MB / 1.283 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004532/1.271, allocations: 436.3 kB / 1.284 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003796/1.271, allocations: 62.77 kB / 1.284 GB, free: 163.4 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.001364/1.273, allocations: 458.9 kB / 1.284 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008656/1.273, allocations: 253.1 kB / 1.284 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/1.277, allocations: 1.507 MB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/1.277, allocations: 9.125 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.277, allocations: 0 / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.277, allocations: 9 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008318/1.286, allocations: 3.61 MB / 1.289 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/1.286, allocations: 9.781 kB / 1.289 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/1.286, allocations: 120.5 kB / 1.29 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/1.288, allocations: 494 kB / 1.29 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-05/1.288, allocations: 22.95 kB / 1.29 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/1.291, allocations: 1.584 MB / 1.292 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/1.291, allocations: 7.25 kB / 1.292 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006454/1.297, allocations: 1.94 MB / 1.293 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.299, allocations: 493.7 kB / 1.294 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/1.299, allocations: 23.97 kB / 1.294 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/1.301, allocations: 168.9 kB / 1.294 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/1.301, allocations: 56.62 kB / 1.294 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/1.301, allocations: 47.02 kB / 1.294 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003348/1.305, allocations: 1.771 MB / 1.296 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.8e-07/1.305, allocations: 0 / 1.296 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003058/1.308, allocations: 0.6865 MB / 1.297 GB, free: 155.7 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.001416/1.309, allocations: 0.5988 MB / 1.297 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004389/1.314, allocations: 1.391 MB / 1.299 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.314, allocations: 4.062 kB / 1.299 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/1.316, allocations: 0.6761 MB / 1.299 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007167/1.323, allocations: 1.342 MB / 1.301 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/1.33, allocations: 4.306 MB / 1.305 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/1.331, allocations: 1.488 MB / 1.306 GB, free: 150 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002308/1.333, allocations: 438.8 kB / 1.307 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/1.333, allocations: 169.7 kB / 1.307 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.333, allocations: 0 / 1.307 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.07231/1.406, allocations: 50.47 MB / 1.356 GB, free: 102 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)