Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001419/0.001419, allocations: 114.2 kB / 16.42 MB, free: 6.504 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.001589/0.001589, allocations: 188.2 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.436/1.436, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 68.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.914/0.9157, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1304/1.046, allocations: 132.2 MB / 1.296 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03293/1.079, allocations: 23.22 MB / 1.319 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005824/1.085, allocations: 119.3 kB / 1.319 GB, free: 7.762 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004939/1.09, allocations: 1.529 MB / 1.321 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01396/1.104, allocations: 4.322 MB / 1.325 GB, free: 1.883 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006732/1.111, allocations: 2.17 MB / 1.327 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01067/1.121, allocations: 6.539 MB / 1.333 GB, free: 9.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005626/1.127, allocations: 2.359 MB / 1.336 GB, free: 6.762 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00795/1.135, allocations: 2.808 MB / 1.339 GB, free: 3.953 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/1.139, allocations: 1.882 MB / 1.34 GB, free: 2.062 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001141/1.14, allocations: 244 kB / 1.341 GB, free: 1.824 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006238/1.147, allocations: 1.938 MB / 1.342 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001323/1.148, allocations: 0.5914 MB / 1.343 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003596/1.152, allocations: 1.45 MB / 1.344 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/1.162, allocations: 4.368 MB / 1.349 GB, free: 9.453 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/1.162, allocations: 7.938 kB / 1.349 GB, free: 9.445 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.234e-06/1.162, allocations: 0 / 1.349 GB, free: 9.445 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001677/1.162, allocations: 0 / 1.349 GB, free: 9.445 MB / 1.076 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.01056/1.173, allocations: 3.251 MB / 1.352 GB, free: 6.105 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 8.341e-05/1.173, allocations: 12.92 kB / 1.352 GB, free: 6.094 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/1.178, allocations: 0.857 MB / 1.353 GB, free: 5.234 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006858/1.185, allocations: 2.348 MB / 1.355 GB, free: 2.816 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/1.185, allocations: 127 kB / 1.355 GB, free: 2.691 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006177/1.186, allocations: 160 kB / 1.355 GB, free: 2.535 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005327/1.191, allocations: 1.923 MB / 1.357 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-05/1.191, allocations: 3.938 kB / 1.357 GB, free: 0.543 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003149/1.192, allocations: 60 kB / 1.357 GB, free: 496 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/1.192, allocations: 43.94 kB / 1.357 GB, free: 452 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005611/1.197, allocations: 1.788 MB / 1.359 GB, free: 14.65 MB / 1.092 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.01545/1.213, allocations: 8.991 MB / 1.368 GB, free: 5.059 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/1.217, allocations: 1.19 MB / 1.369 GB, free: 3.852 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/1.218, allocations: 461.6 kB / 1.369 GB, free: 3.395 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/1.22, allocations: 1.726 MB / 1.371 GB, free: 1.281 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/1.22, allocations: 38.56 kB / 1.371 GB, free: 1.234 MB / 1.092 GB Notification: Performance of pre-optimization done (n=76): time 3.296e-06/1.22, allocations: 0 / 1.371 GB, free: 1.234 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.008935/1.229, allocations: 2.334 MB / 1.373 GB, free: 14.85 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/1.229, allocations: 85.11 kB / 1.374 GB, free: 14.75 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006039/1.235, allocations: 2.504 MB / 1.376 GB, free: 12.22 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002435/1.235, allocations: 45.64 kB / 1.376 GB, free: 12.17 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/1.237, allocations: 1.047 MB / 1.377 GB, free: 11.12 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004544/1.237, allocations: 293.5 kB / 1.377 GB, free: 10.83 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/1.238, allocations: 254.8 kB / 1.378 GB, free: 10.57 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.238, allocations: 349.9 kB / 1.378 GB, free: 10.22 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/1.24, allocations: 0.5686 MB / 1.378 GB, free: 9.656 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/1.242, allocations: 0.9465 MB / 1.379 GB, free: 8.559 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/1.245, allocations: 1.248 MB / 1.381 GB, free: 7.207 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.245, allocations: 0 / 1.381 GB, free: 7.207 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007049/1.252, allocations: 2.037 MB / 1.383 GB, free: 5.152 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/1.252, allocations: 8 kB / 1.383 GB, free: 5.145 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.252, allocations: 8 kB / 1.383 GB, free: 5.137 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/1.254, allocations: 425.6 kB / 1.383 GB, free: 4.715 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.255, allocations: 283.5 kB / 1.383 GB, free: 4.438 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/1.258, allocations: 1.499 MB / 1.385 GB, free: 2.887 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/1.261, allocations: 370.5 kB / 1.385 GB, free: 2.523 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/1.261, allocations: 63.95 kB / 1.385 GB, free: 2.461 MB / 1.107 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.00129/1.262, allocations: 461.9 kB / 1.386 GB, free: 2 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009631/1.263, allocations: 258.4 kB / 1.386 GB, free: 1.746 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004155/1.267, allocations: 1.498 MB / 1.387 GB, free: 228 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/1.267, allocations: 7.984 kB / 1.387 GB, free: 220 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.267, allocations: 0 / 1.387 GB, free: 220 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.269, allocations: 495.1 kB / 1.388 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007389/1.27, allocations: 16 kB / 1.388 GB, free: 15.69 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/1.272, allocations: 131.8 kB / 1.388 GB, free: 15.56 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.272, allocations: 59.67 kB / 1.388 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00494/1.277, allocations: 1.575 MB / 1.39 GB, free: 13.92 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004691/1.281, allocations: 2.066 MB / 1.392 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00116/1.282, allocations: 472.5 kB / 1.392 GB, free: 11.38 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003942/1.286, allocations: 1.75 MB / 1.394 GB, free: 9.625 MB / 1.123 GB Notification: Performance of Backend: time 1.082e-06/1.286, allocations: 0 / 1.394 GB, free: 9.625 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007295/1.294, allocations: 1.641 MB / 1.395 GB, free: 7.98 MB / 1.123 GB Notification: Performance of SimCode: time 0.01143/1.305, allocations: 4.987 MB / 1.4 GB, free: 2.949 MB / 1.123 GB Notification: Performance of Templates: time 0.09578/1.401, allocations: 50.35 MB / 1.449 GB, free: 1.121 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)