Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_9_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.001192/0.001192, allocations: 111.6 kB / 16.42 MB, free: 6.488 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.001172/0.001172, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 71.89 kB / 0.9516 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9621/0.9635, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1471/1.111, allocations: 132.2 MB / 1.218 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03633/1.147, allocations: 23.23 MB / 1.24 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006672/1.154, allocations: 128.2 kB / 1.241 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005533/1.159, allocations: 1.531 MB / 1.242 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01401/1.173, allocations: 4.32 MB / 1.246 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006393/1.18, allocations: 2.172 MB / 1.248 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01019/1.19, allocations: 6.552 MB / 1.255 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004226/1.194, allocations: 2.365 MB / 1.257 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007481/1.202, allocations: 2.806 MB / 1.26 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003839/1.206, allocations: 1.885 MB / 1.262 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008992/1.207, allocations: 248 kB / 1.262 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005559/1.212, allocations: 1.938 MB / 1.264 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009802/1.213, allocations: 0.5992 MB / 1.264 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002893/1.216, allocations: 1.458 MB / 1.266 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008711/1.225, allocations: 4.349 MB / 1.27 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.225, allocations: 4 kB / 1.27 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.276e-06/1.225, allocations: 0 / 1.27 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001417/1.225, allocations: 3.938 kB / 1.27 GB, free: 3.941 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.0088/1.234, allocations: 3.18 MB / 1.273 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.234, allocations: 8.031 kB / 1.273 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/1.239, allocations: 0.8319 MB / 1.274 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/1.245, allocations: 2.342 MB / 1.276 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/1.245, allocations: 127 kB / 1.276 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004812/1.246, allocations: 160 kB / 1.277 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004373/1.25, allocations: 1.93 MB / 1.278 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/1.25, allocations: 3.938 kB / 1.278 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/1.251, allocations: 67.94 kB / 1.279 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/1.251, allocations: 36 kB / 1.279 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004521/1.255, allocations: 1.784 MB / 1.28 GB, free: 9.246 MB / 1.014 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.01332/1.268, allocations: 8.961 MB / 1.289 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/1.273, allocations: 1.189 MB / 1.29 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/1.274, allocations: 473.1 kB / 1.291 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/1.275, allocations: 1.727 MB / 1.292 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/1.275, allocations: 42.5 kB / 1.292 GB, free: 11.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 4.549e-06/1.275, allocations: 0 / 1.292 GB, free: 11.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.00875/1.284, allocations: 2.328 MB / 1.295 GB, free: 9.465 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/1.284, allocations: 81.11 kB / 1.295 GB, free: 9.367 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003828/1.288, allocations: 2.504 MB / 1.297 GB, free: 6.844 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000178/1.288, allocations: 45.7 kB / 1.297 GB, free: 6.793 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008269/1.289, allocations: 1.034 MB / 1.298 GB, free: 5.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/1.289, allocations: 272.2 kB / 1.298 GB, free: 5.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/1.289, allocations: 250.6 kB / 1.299 GB, free: 5.227 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.29, allocations: 361.9 kB / 1.299 GB, free: 4.867 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.291, allocations: 0.5647 MB / 1.3 GB, free: 4.305 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/1.293, allocations: 0.9581 MB / 1.301 GB, free: 3.191 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/1.296, allocations: 1.252 MB / 1.302 GB, free: 1.832 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/1.296, allocations: 0 / 1.302 GB, free: 1.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006588/1.303, allocations: 2.017 MB / 1.304 GB, free: 15.8 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/1.303, allocations: 8 kB / 1.304 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.303, allocations: 8 kB / 1.304 GB, free: 15.78 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/1.305, allocations: 425.3 kB / 1.304 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/1.306, allocations: 283.5 kB / 1.304 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/1.308, allocations: 1.499 MB / 1.306 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/1.311, allocations: 366 kB / 1.306 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/1.312, allocations: 59.95 kB / 1.306 GB, free: 13.12 MB / 1.045 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.001417/1.313, allocations: 470.5 kB / 1.307 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000824/1.314, allocations: 248.9 kB / 1.307 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/1.318, allocations: 1.498 MB / 1.308 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/1.318, allocations: 3.984 kB / 1.308 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.318, allocations: 0 / 1.308 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.319, allocations: 481.6 kB / 1.309 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003956/1.32, allocations: 15.94 kB / 1.309 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/1.321, allocations: 135.8 kB / 1.309 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.321, allocations: 55.92 kB / 1.309 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004801/1.326, allocations: 1.569 MB / 1.311 GB, free: 8.605 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004318/1.33, allocations: 2.049 MB / 1.313 GB, free: 6.535 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00115/1.332, allocations: 480.3 kB / 1.313 GB, free: 6.066 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003165/1.335, allocations: 1.757 MB / 1.315 GB, free: 4.305 MB / 1.045 GB Notification: Performance of Backend: time 6.32e-07/1.335, allocations: 0 / 1.315 GB, free: 4.305 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005909/1.341, allocations: 1.638 MB / 1.316 GB, free: 2.668 MB / 1.045 GB Notification: Performance of SimCode: time 0.009317/1.35, allocations: 4.906 MB / 1.321 GB, free: 13.72 MB / 1.061 GB Notification: Performance of Templates: time 0.08163/1.432, allocations: 50.41 MB / 1.37 GB, free: 11.92 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)