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.001028/0.001028, allocations: 90.83 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.01083/0.01083, allocations: 171.1 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 9.188 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3719, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1249/0.4968, allocations: 129.4 MB / 1.201 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03255/0.5294, allocations: 23.07 MB / 1.223 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005428/0.5349, allocations: 107.2 kB / 1.223 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00418/0.5391, allocations: 1.2 MB / 1.224 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.551, allocations: 3.775 MB / 1.228 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00522/0.5562, allocations: 1.963 MB / 1.23 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01219/0.5684, allocations: 8.291 MB / 1.238 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004479/0.573, allocations: 1.92 MB / 1.24 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00623/0.5792, allocations: 2.298 MB / 1.242 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.5825, allocations: 1.792 MB / 1.244 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004433/0.5829, allocations: 92 kB / 1.244 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004675/0.5876, allocations: 1.711 MB / 1.246 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005702/0.5882, allocations: 445.7 kB / 1.246 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001889/0.5901, allocations: 1.299 MB / 1.247 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006037/0.5962, allocations: 4.139 MB / 1.251 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.5962, allocations: 0 / 1.251 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5962, allocations: 0 / 1.251 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.36e-05/0.5963, allocations: 0 / 1.251 GB, free: 1.457 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.6882/1.284, allocations: 2.668 MB / 1.254 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/1.285, allocations: 13.47 kB / 1.254 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005864/1.29, allocations: 0.9623 MB / 1.255 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00642/1.297, allocations: 2.261 MB / 1.257 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/1.298, allocations: 321.6 kB / 1.257 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008803/1.299, allocations: 163.8 kB / 1.258 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005229/1.304, allocations: 1.981 MB / 1.26 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/1.304, allocations: 8.562 kB / 1.26 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/1.305, allocations: 64.59 kB / 1.26 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/1.305, allocations: 37.66 kB / 1.26 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005224/1.31, allocations: 1.907 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.01562/1.325, allocations: 9.116 MB / 1.27 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004692/1.33, allocations: 1.306 MB / 1.272 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/1.331, allocations: 484.7 kB / 1.272 GB, free: 170 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009632/1.332, allocations: 1.722 MB / 1.274 GB, free: 168 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/1.332, allocations: 49.34 kB / 1.274 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.216e-06/1.333, allocations: 0 / 1.274 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009938/1.342, allocations: 2.509 MB / 1.276 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/1.343, allocations: 86.38 kB / 1.276 GB, free: 167 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005603/1.348, allocations: 2.539 MB / 1.279 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/1.348, allocations: 45.02 kB / 1.279 GB, free: 166 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009148/1.349, allocations: 1.045 MB / 1.28 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/1.35, allocations: 273.7 kB / 1.28 GB, free: 165 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/1.35, allocations: 90.86 kB / 1.28 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/1.35, allocations: 351 kB / 1.281 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/1.352, allocations: 0.6368 MB / 1.281 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/1.354, allocations: 1.01 MB / 1.282 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/1.358, allocations: 1.325 MB / 1.284 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.358, allocations: 6.594 kB / 1.284 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.009131/1.367, allocations: 2.187 MB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/1.367, allocations: 9 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/1.367, allocations: 12.88 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/1.369, allocations: 0.5005 MB / 1.286 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/1.371, allocations: 302.2 kB / 1.286 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/1.373, allocations: 1.566 MB / 1.288 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/1.377, allocations: 474.4 kB / 1.288 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/1.377, allocations: 59.98 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.001003/1.378, allocations: 475.4 kB / 1.289 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006022/1.379, allocations: 251 kB / 1.289 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/1.382, allocations: 1.554 MB / 1.291 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/1.382, allocations: 17.44 kB / 1.291 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.382, allocations: 2.125 kB / 1.291 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.382, allocations: 7.484 kB / 1.291 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007839/1.39, allocations: 3.708 MB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.39, allocations: 3.562 kB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/1.391, allocations: 139.9 kB / 1.295 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001757/1.393, allocations: 0.4976 MB / 1.295 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/1.393, allocations: 29.48 kB / 1.295 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/1.395, allocations: 1.65 MB / 1.297 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.395, allocations: 3.812 kB / 1.297 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006429/1.402, allocations: 2.081 MB / 1.299 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/1.404, allocations: 0.5085 MB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000429/1.404, allocations: 14.59 kB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/1.406, allocations: 197.5 kB / 1.299 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.292e-05/1.406, allocations: 62.2 kB / 1.299 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.053e-05/1.406, allocations: 42 kB / 1.299 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003351/1.409, allocations: 1.787 MB / 1.301 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.409, allocations: 0 / 1.301 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002556/1.412, allocations: 0.6892 MB / 1.302 GB, free: 153 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.001194/1.413, allocations: 0.6006 MB / 1.302 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004357/1.418, allocations: 1.443 MB / 1.304 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.418, allocations: 0 / 1.304 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/1.42, allocations: 0.7346 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.008051/1.428, allocations: 1.316 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.005978/1.434, allocations: 4.361 MB / 1.31 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/1.435, allocations: 1.497 MB / 1.312 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002082/1.437, allocations: 439 kB / 1.312 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/1.437, allocations: 180.2 kB / 1.312 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.437, allocations: 0 / 1.312 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.07818/1.516, allocations: 51.02 MB / 1.362 GB, free: 97.11 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)