Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="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_latest_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_latest_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.00154/0.00154, allocations: 109.6 kB / 16.42 MB, free: 6.473 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.001704/0.001705, allocations: 190.6 kB / 17.35 MB, free: 5.711 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.582/2.582, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 59.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.036, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1464/1.183, allocations: 132.3 MB / 1.337 GB, free: 8.895 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03777/1.22, allocations: 23.22 MB / 1.36 GB, free: 1.625 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006195/1.227, allocations: 123.3 kB / 1.36 GB, free: 1.504 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005315/1.232, allocations: 1.502 MB / 1.362 GB, free: 15.99 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0176/1.25, allocations: 4.1 MB / 1.366 GB, free: 11.87 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006637/1.256, allocations: 2.168 MB / 1.368 GB, free: 9.723 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01131/1.268, allocations: 6.552 MB / 1.374 GB, free: 3.156 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004936/1.273, allocations: 2.351 MB / 1.376 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007772/1.281, allocations: 2.759 MB / 1.379 GB, free: 13.98 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004186/1.285, allocations: 1.886 MB / 1.381 GB, free: 12.09 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0009873/1.286, allocations: 248 kB / 1.381 GB, free: 11.85 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006093/1.292, allocations: 1.938 MB / 1.383 GB, free: 9.906 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001158/1.293, allocations: 0.5954 MB / 1.384 GB, free: 9.309 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003709/1.297, allocations: 1.462 MB / 1.385 GB, free: 7.84 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009213/1.306, allocations: 4.349 MB / 1.389 GB, free: 3.48 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/1.306, allocations: 0 / 1.389 GB, free: 3.48 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.623e-06/1.306, allocations: 0 / 1.389 GB, free: 3.48 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001578/1.306, allocations: 0 / 1.389 GB, free: 3.48 MB / 1.107 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.008259/1.314, allocations: 3.188 MB / 1.392 GB, free: 212 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.315, allocations: 16.03 kB / 1.393 GB, free: 196 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004667/1.319, allocations: 0.84 MB / 1.393 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005568/1.325, allocations: 2.315 MB / 1.396 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/1.325, allocations: 127 kB / 1.396 GB, free: 12.83 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003982/1.325, allocations: 156 kB / 1.396 GB, free: 12.68 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004908/1.33, allocations: 1.926 MB / 1.398 GB, free: 10.69 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/1.33, allocations: 7.938 kB / 1.398 GB, free: 10.68 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/1.331, allocations: 60 kB / 1.398 GB, free: 10.62 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-05/1.331, allocations: 40 kB / 1.398 GB, free: 10.58 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004924/1.336, allocations: 1.803 MB / 1.4 GB, free: 8.777 MB / 1.123 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.01509/1.351, allocations: 8.992 MB / 1.408 GB, free: 15.18 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004245/1.355, allocations: 1.206 MB / 1.41 GB, free: 13.96 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/1.356, allocations: 453.4 kB / 1.41 GB, free: 13.52 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/1.357, allocations: 1.727 MB / 1.412 GB, free: 11.4 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/1.358, allocations: 42.56 kB / 1.412 GB, free: 11.35 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 3.226e-06/1.358, allocations: 0 / 1.412 GB, free: 11.35 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.0095/1.367, allocations: 2.346 MB / 1.414 GB, free: 8.953 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/1.367, allocations: 85.11 kB / 1.414 GB, free: 8.852 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006225/1.373, allocations: 2.52 MB / 1.417 GB, free: 6.312 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001549/1.374, allocations: 45.7 kB / 1.417 GB, free: 6.262 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001163/1.375, allocations: 1.045 MB / 1.418 GB, free: 5.207 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/1.375, allocations: 268.2 kB / 1.418 GB, free: 4.941 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000603/1.376, allocations: 258.6 kB / 1.418 GB, free: 4.68 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.376, allocations: 341.9 kB / 1.418 GB, free: 4.34 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/1.378, allocations: 0.5764 MB / 1.419 GB, free: 3.766 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/1.38, allocations: 0.956 MB / 1.42 GB, free: 2.66 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/1.383, allocations: 1.252 MB / 1.421 GB, free: 1.301 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/1.383, allocations: 4 kB / 1.421 GB, free: 1.297 MB / 1.139 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006802/1.39, allocations: 2.02 MB / 1.423 GB, free: 15.26 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/1.39, allocations: 8.625 kB / 1.423 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.39, allocations: 12 kB / 1.423 GB, free: 15.24 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/1.392, allocations: 0.492 MB / 1.424 GB, free: 14.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.393, allocations: 283.5 kB / 1.424 GB, free: 14.47 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/1.395, allocations: 1.511 MB / 1.425 GB, free: 12.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/1.399, allocations: 366 kB / 1.426 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/1.399, allocations: 59.97 kB / 1.426 GB, free: 12.49 MB / 1.154 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.001272/1.4, allocations: 467.2 kB / 1.426 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008804/1.401, allocations: 245 kB / 1.426 GB, free: 11.78 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/1.405, allocations: 1.501 MB / 1.428 GB, free: 10.26 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.405, allocations: 3.984 kB / 1.428 GB, free: 10.26 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.405, allocations: 8 kB / 1.428 GB, free: 10.25 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.407, allocations: 481.6 kB / 1.428 GB, free: 9.758 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007341/1.407, allocations: 19.91 kB / 1.428 GB, free: 9.738 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/1.409, allocations: 135.8 kB / 1.429 GB, free: 9.605 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/1.41, allocations: 51.81 kB / 1.429 GB, free: 9.555 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004989/1.415, allocations: 1.586 MB / 1.43 GB, free: 7.957 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004723/1.419, allocations: 2.05 MB / 1.432 GB, free: 5.887 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001165/1.42, allocations: 479.6 kB / 1.433 GB, free: 5.414 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003946/1.424, allocations: 1.766 MB / 1.434 GB, free: 3.645 MB / 1.154 GB Notification: Performance of Backend: time 7.31e-07/1.424, allocations: 4 kB / 1.434 GB, free: 3.641 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007146/1.432, allocations: 1.648 MB / 1.436 GB, free: 2.004 MB / 1.154 GB Notification: Performance of SimCode: time 0.01216/1.444, allocations: 4.924 MB / 1.441 GB, free: 13.03 MB / 1.17 GB Notification: Performance of Templates: time 0.0871/1.531, allocations: 50.24 MB / 1.49 GB, free: 11.36 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)