Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 110 kB / 16.42 MB, free: 6.453 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.001191/0.001191, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.458/1.458, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9838/0.985, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1392/1.124, allocations: 132.3 MB / 1.218 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03869/1.163, allocations: 23.23 MB / 1.24 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007061/1.17, allocations: 124.4 kB / 1.241 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005466/1.176, allocations: 1.538 MB / 1.242 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01469/1.19, allocations: 4.322 MB / 1.246 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007183/1.198, allocations: 2.17 MB / 1.248 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01105/1.209, allocations: 6.562 MB / 1.255 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004703/1.213, allocations: 2.355 MB / 1.257 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007115/1.22, allocations: 2.818 MB / 1.26 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003639/1.224, allocations: 1.893 MB / 1.262 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009492/1.225, allocations: 248 kB / 1.262 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005594/1.231, allocations: 1.938 MB / 1.264 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/1.232, allocations: 0.5992 MB / 1.264 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003083/1.235, allocations: 1.458 MB / 1.266 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00959/1.245, allocations: 4.356 MB / 1.27 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.245, allocations: 0 / 1.27 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/1.245, allocations: 0 / 1.27 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001438/1.245, allocations: 0 / 1.27 GB, free: 3.824 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.00812/1.253, allocations: 3.176 MB / 1.273 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/1.253, allocations: 8.031 kB / 1.273 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/1.258, allocations: 0.8475 MB / 1.274 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005781/1.264, allocations: 2.319 MB / 1.276 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/1.264, allocations: 127 kB / 1.276 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004805/1.264, allocations: 160 kB / 1.277 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005257/1.27, allocations: 1.923 MB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/1.27, allocations: 4 kB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/1.27, allocations: 60 kB / 1.279 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/1.27, allocations: 43.94 kB / 1.279 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00502/1.275, allocations: 1.799 MB / 1.28 GB, free: 9.133 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.01552/1.291, allocations: 9 MB / 1.289 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004476/1.295, allocations: 1.199 MB / 1.29 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/1.296, allocations: 461.2 kB / 1.291 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/1.298, allocations: 1.723 MB / 1.292 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/1.298, allocations: 46.5 kB / 1.292 GB, free: 11.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 3.597e-06/1.298, allocations: 0 / 1.292 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.009115/1.307, allocations: 2.328 MB / 1.295 GB, free: 9.316 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.307, allocations: 85.11 kB / 1.295 GB, free: 9.215 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005243/1.312, allocations: 2.524 MB / 1.297 GB, free: 6.672 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/1.312, allocations: 49.7 kB / 1.297 GB, free: 6.617 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.313, allocations: 1.038 MB / 1.298 GB, free: 5.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/1.314, allocations: 280.1 kB / 1.299 GB, free: 5.293 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005548/1.314, allocations: 250.6 kB / 1.299 GB, free: 5.039 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.315, allocations: 345.9 kB / 1.299 GB, free: 4.695 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/1.316, allocations: 0.5763 MB / 1.3 GB, free: 4.121 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/1.319, allocations: 0.9528 MB / 1.301 GB, free: 3.016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003495/1.323, allocations: 1.252 MB / 1.302 GB, free: 1.656 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/1.323, allocations: 7.938 kB / 1.302 GB, free: 1.648 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007218/1.33, allocations: 2.012 MB / 1.304 GB, free: 15.62 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.33, allocations: 8 kB / 1.304 GB, free: 15.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/1.33, allocations: 11.98 kB / 1.304 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/1.332, allocations: 0.4925 MB / 1.304 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.333, allocations: 275.6 kB / 1.305 GB, free: 14.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/1.335, allocations: 1.526 MB / 1.306 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/1.338, allocations: 358 kB / 1.306 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/1.338, allocations: 67.97 kB / 1.307 GB, free: 12.84 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 (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.00103/1.339, allocations: 465.3 kB / 1.307 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006741/1.34, allocations: 248.9 kB / 1.307 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/1.344, allocations: 1.5 MB / 1.309 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.344, allocations: 3.984 kB / 1.309 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.344, allocations: 0 / 1.309 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.346, allocations: 485.6 kB / 1.309 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006953/1.346, allocations: 20 kB / 1.309 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.348, allocations: 131.8 kB / 1.309 GB, free: 9.965 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/1.348, allocations: 51.86 kB / 1.309 GB, free: 9.914 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00508/1.353, allocations: 1.588 MB / 1.311 GB, free: 8.312 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004543/1.358, allocations: 2.054 MB / 1.313 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001187/1.359, allocations: 492.4 kB / 1.313 GB, free: 5.758 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003455/1.363, allocations: 1.769 MB / 1.315 GB, free: 3.984 MB / 1.045 GB Notification: Performance of Backend: time 4.91e-07/1.363, allocations: 0 / 1.315 GB, free: 3.984 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00606/1.369, allocations: 1.652 MB / 1.317 GB, free: 2.34 MB / 1.045 GB Notification: Performance of SimCode: time 0.01022/1.379, allocations: 4.917 MB / 1.322 GB, free: 13.38 MB / 1.061 GB Notification: Performance of Templates: time 0.08365/1.463, allocations: 50.64 MB / 1.371 GB, free: 11.36 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)