Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009647/0.0009647, allocations: 98.03 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.008457/0.008457, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003994, allocations: 11.28 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3694, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1327/0.5022, allocations: 129.4 MB / 1.201 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03798/0.5402, allocations: 23.06 MB / 1.223 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006367/0.5466, allocations: 111.2 kB / 1.223 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006072/0.5527, allocations: 1.2 MB / 1.224 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01612/0.5689, allocations: 3.771 MB / 1.228 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007321/0.5762, allocations: 1.972 MB / 1.23 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0141/0.5903, allocations: 8.297 MB / 1.238 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00513/0.5955, allocations: 1.913 MB / 1.24 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007125/0.6027, allocations: 2.294 MB / 1.242 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004417/0.6071, allocations: 1.792 MB / 1.244 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009347/0.6081, allocations: 92 kB / 1.244 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006228/0.6143, allocations: 1.711 MB / 1.246 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.6156, allocations: 449.7 kB / 1.246 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004017/0.6196, allocations: 1.299 MB / 1.247 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00899/0.6286, allocations: 4.131 MB / 1.251 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.6287, allocations: 0 / 1.251 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 6.923e-06/0.6287, allocations: 0 / 1.251 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001833/0.6289, allocations: 3.938 kB / 1.251 GB, free: 1.438 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.7526/1.382, allocations: 2.667 MB / 1.254 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 8.951e-05/1.382, allocations: 10.16 kB / 1.254 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00692/1.389, allocations: 0.9621 MB / 1.255 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008364/1.397, allocations: 2.267 MB / 1.257 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001172/1.398, allocations: 324.4 kB / 1.257 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000574/1.399, allocations: 158 kB / 1.258 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00518/1.404, allocations: 1.984 MB / 1.26 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/1.404, allocations: 5.562 kB / 1.26 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/1.404, allocations: 61.53 kB / 1.26 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/1.404, allocations: 37.75 kB / 1.26 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005515/1.41, allocations: 1.909 MB / 1.262 GB, free: 176.7 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.01656/1.426, allocations: 9.117 MB / 1.27 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004934/1.431, allocations: 1.308 MB / 1.272 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/1.433, allocations: 482.4 kB / 1.272 GB, free: 170 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/1.434, allocations: 1.726 MB / 1.274 GB, free: 168 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/1.434, allocations: 48.89 kB / 1.274 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.977e-06/1.434, allocations: 0 / 1.274 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.01061/1.444, allocations: 2.513 MB / 1.276 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/1.445, allocations: 85.92 kB / 1.276 GB, free: 167 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006813/1.451, allocations: 2.535 MB / 1.279 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002736/1.452, allocations: 45.59 kB / 1.279 GB, free: 166 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009936/1.453, allocations: 1.048 MB / 1.28 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/1.453, allocations: 271.5 kB / 1.28 GB, free: 165 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/1.453, allocations: 94.33 kB / 1.28 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.453, allocations: 348.2 kB / 1.281 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/1.455, allocations: 0.6334 MB / 1.281 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/1.458, allocations: 1.009 MB / 1.282 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/1.461, allocations: 1.328 MB / 1.284 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/1.461, allocations: 2.844 kB / 1.284 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007786/1.469, allocations: 2.191 MB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.469, allocations: 9.391 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/1.469, allocations: 7.344 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/1.471, allocations: 0.5047 MB / 1.286 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.473, allocations: 304.4 kB / 1.286 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/1.475, allocations: 1.563 MB / 1.288 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/1.479, allocations: 471.1 kB / 1.288 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/1.479, allocations: 62.89 kB / 1.289 GB, free: 160.9 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.001128/1.48, allocations: 474 kB / 1.289 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006125/1.481, allocations: 248 kB / 1.289 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/1.485, allocations: 1.558 MB / 1.291 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/1.485, allocations: 13.17 kB / 1.291 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/1.485, allocations: 4.688 kB / 1.291 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/1.485, allocations: 8.312 kB / 1.291 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008365/1.493, allocations: 3.708 MB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.493, allocations: 2.625 kB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/1.494, allocations: 140.3 kB / 1.295 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001852/1.496, allocations: 0.4919 MB / 1.295 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/1.496, allocations: 31.94 kB / 1.295 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/1.499, allocations: 1.644 MB / 1.297 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.499, allocations: 4.312 kB / 1.297 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006823/1.505, allocations: 2.091 MB / 1.299 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/1.507, allocations: 0.5046 MB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/1.508, allocations: 22.64 kB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/1.509, allocations: 197.5 kB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.51, allocations: 50.78 kB / 1.299 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/1.51, allocations: 41.22 kB / 1.299 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003368/1.513, allocations: 1.795 MB / 1.301 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.513, allocations: 0 / 1.301 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002546/1.516, allocations: 0.6839 MB / 1.302 GB, free: 153.1 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.00132/1.517, allocations: 0.6097 MB / 1.302 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004564/1.522, allocations: 1.439 MB / 1.304 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.522, allocations: 1.375 kB / 1.304 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002462/1.524, allocations: 0.7301 MB / 1.305 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008449/1.532, allocations: 1.31 MB / 1.306 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/1.539, allocations: 4.373 MB / 1.31 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008667/1.54, allocations: 1.489 MB / 1.312 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002248/1.542, allocations: 436.2 kB / 1.312 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/1.543, allocations: 176.2 kB / 1.312 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.492e-06/1.543, allocations: 4 kB / 1.312 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.08566/1.629, allocations: 51.02 MB / 1.362 GB, free: 97.08 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)