Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001336/0.001336, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.22 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2892, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1402/0.4295, allocations: 131.1 MB / 1.196 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0376/0.4671, allocations: 23.05 MB / 1.218 GB, free: 188 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007399/0.4746, allocations: 115.2 kB / 1.218 GB, free: 72 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006167/0.4808, allocations: 1.29 MB / 1.22 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0162/0.4971, allocations: 3.818 MB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007294/0.5044, allocations: 1.985 MB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01148/0.516, allocations: 6.565 MB / 1.232 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005144/0.5211, allocations: 2.34 MB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008169/0.5293, allocations: 2.768 MB / 1.237 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003879/0.5332, allocations: 1.933 MB / 1.239 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000926/0.5342, allocations: 244 kB / 1.239 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005255/0.5395, allocations: 1.957 MB / 1.241 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.5406, allocations: 0.5954 MB / 1.241 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003281/0.5438, allocations: 1.462 MB / 1.243 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008733/0.5526, allocations: 4.323 MB / 1.247 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.5526, allocations: 0 / 1.247 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5527, allocations: 0 / 1.247 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001535/0.5528, allocations: 4 kB / 1.247 GB, free: 2.672 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.5817/1.135, allocations: 3.157 MB / 1.25 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/1.135, allocations: 9.625 kB / 1.25 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004846/1.14, allocations: 0.8392 MB / 1.251 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/1.144, allocations: 2.263 MB / 1.253 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009213/1.145, allocations: 291.9 kB / 1.253 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/1.146, allocations: 159.7 kB / 1.253 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/1.15, allocations: 1.939 MB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/1.15, allocations: 5 kB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/1.15, allocations: 60.5 kB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/1.15, allocations: 41.91 kB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00446/1.154, allocations: 1.814 MB / 1.257 GB, free: 179.2 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.01212/1.167, allocations: 9.017 MB / 1.266 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004188/1.171, allocations: 1.194 MB / 1.267 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/1.172, allocations: 461.3 kB / 1.268 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008229/1.173, allocations: 1.722 MB / 1.269 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/1.173, allocations: 47.84 kB / 1.269 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.434e-06/1.173, allocations: 1.375 kB / 1.269 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.00857/1.181, allocations: 2.324 MB / 1.272 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/1.181, allocations: 84.61 kB / 1.272 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003923/1.185, allocations: 2.484 MB / 1.274 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/1.185, allocations: 44.48 kB / 1.274 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007304/1.186, allocations: 1.051 MB / 1.275 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/1.186, allocations: 267.5 kB / 1.275 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/1.187, allocations: 256.6 kB / 1.276 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/1.187, allocations: 352.2 kB / 1.276 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/1.189, allocations: 0.582 MB / 1.277 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/1.191, allocations: 0.969 MB / 1.278 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/1.194, allocations: 1.259 MB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/1.194, allocations: 3.031 kB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006777/1.201, allocations: 2.042 MB / 1.281 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/1.201, allocations: 10.34 kB / 1.281 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/1.201, allocations: 8.312 kB / 1.281 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/1.203, allocations: 422.2 kB / 1.281 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/1.204, allocations: 288.3 kB / 1.281 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/1.206, allocations: 1.51 MB / 1.283 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/1.21, allocations: 437.3 kB / 1.283 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/1.21, allocations: 71.27 kB / 1.283 GB, free: 163.5 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001093/1.211, allocations: 458.7 kB / 1.284 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/1.212, allocations: 248.4 kB / 1.284 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/1.215, allocations: 1.501 MB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/1.215, allocations: 9.781 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.215, allocations: 0.875 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.215, allocations: 3.703 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007429/1.223, allocations: 3.589 MB / 1.289 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.223, allocations: 3.781 kB / 1.289 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/1.223, allocations: 134.5 kB / 1.289 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/1.225, allocations: 411.4 kB / 1.29 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/1.225, allocations: 24.89 kB / 1.29 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/1.227, allocations: 1.573 MB / 1.291 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.227, allocations: 3.531 kB / 1.291 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005937/1.233, allocations: 1.934 MB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.235, allocations: 492.6 kB / 1.294 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006821/1.235, allocations: 19.09 kB / 1.294 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/1.237, allocations: 172.6 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.238, allocations: 65.45 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.238, allocations: 42.12 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003644/1.241, allocations: 1.74 MB / 1.296 GB, free: 156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.241, allocations: 0 / 1.296 GB, free: 156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002561/1.244, allocations: 0.6757 MB / 1.296 GB, free: 155.9 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/1.245, allocations: 0.605 MB / 1.297 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004359/1.25, allocations: 1.404 MB / 1.298 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.25, allocations: 1.188 kB / 1.298 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002296/1.252, allocations: 0.6598 MB / 1.299 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006483/1.258, allocations: 1.333 MB / 1.3 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/1.265, allocations: 4.293 MB / 1.304 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.266, allocations: 1.491 MB / 1.306 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0025/1.269, allocations: 435.3 kB / 1.306 GB, free: 150 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/1.269, allocations: 161.7 kB / 1.306 GB, free: 150 MB / 0.9981 GB Notification: Performance of SimCode: time 1.563e-06/1.269, allocations: 0 / 1.306 GB, free: 150 MB / 0.9981 GB Notification: Performance of Templates: time 0.07313/1.342, allocations: 50.17 MB / 1.355 GB, free: 102.6 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)