Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 115.1 kB / 16.42 MB, free: 6.461 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.001326/0.001326, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.91 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9166/0.9181, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07424/0.9924, allocations: 70.51 MB / 1.277 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02574/1.018, allocations: 18.93 MB / 1.296 GB, free: 3.883 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/1.021, allocations: 67.62 kB / 1.296 GB, free: 3.816 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00264/1.024, allocations: 0.815 MB / 1.297 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009184/1.033, allocations: 2.852 MB / 1.299 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004446/1.037, allocations: 1.657 MB / 1.301 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006363/1.044, allocations: 4.062 MB / 1.305 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/1.046, allocations: 1.453 MB / 1.306 GB, free: 8.926 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00456/1.051, allocations: 1.793 MB / 1.308 GB, free: 7.129 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/1.053, allocations: 1.182 MB / 1.309 GB, free: 5.941 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000526/1.054, allocations: 176 kB / 1.309 GB, free: 5.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004739/1.058, allocations: 1.412 MB / 1.311 GB, free: 4.355 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000833/1.059, allocations: 390.6 kB / 1.311 GB, free: 3.973 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002419/1.062, allocations: 0.9216 MB / 1.312 GB, free: 3.047 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005947/1.068, allocations: 3.106 MB / 1.315 GB, free: 15.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.068, allocations: 0 / 1.315 GB, free: 15.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.804e-06/1.068, allocations: 0 / 1.315 GB, free: 15.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.194e-05/1.068, allocations: 0 / 1.315 GB, free: 15.93 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004657/1.073, allocations: 2.027 MB / 1.317 GB, free: 13.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.073, allocations: 8.031 kB / 1.317 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/1.075, allocations: 446.4 kB / 1.318 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/1.078, allocations: 1.555 MB / 1.319 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/1.078, allocations: 78.03 kB / 1.319 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/1.078, allocations: 104 kB / 1.319 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/1.082, allocations: 1.313 MB / 1.321 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/1.082, allocations: 4 kB / 1.321 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.082, allocations: 40 kB / 1.321 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/1.082, allocations: 28 kB / 1.321 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/1.085, allocations: 1.104 MB / 1.322 GB, free: 9.012 MB / 1.045 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.01117/1.096, allocations: 7.505 MB / 1.329 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/1.099, allocations: 0.807 MB / 1.33 GB, free: 184 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/1.1, allocations: 282 kB / 1.33 GB, free: 15.9 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/1.101, allocations: 1.718 MB / 1.332 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.101, allocations: 39 kB / 1.332 GB, free: 13.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=48): time 4.559e-06/1.102, allocations: 0 / 1.332 GB, free: 13.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.005045/1.107, allocations: 1.346 MB / 1.333 GB, free: 12.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/1.107, allocations: 55.84 kB / 1.333 GB, free: 12.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/1.11, allocations: 1.542 MB / 1.335 GB, free: 10.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/1.11, allocations: 41.64 kB / 1.335 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007008/1.111, allocations: 0.6768 MB / 1.335 GB, free: 10.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/1.111, allocations: 165.6 kB / 1.336 GB, free: 9.863 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/1.111, allocations: 178.3 kB / 1.336 GB, free: 9.684 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.112, allocations: 334 kB / 1.336 GB, free: 9.352 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/1.113, allocations: 365.8 kB / 1.336 GB, free: 8.992 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/1.114, allocations: 0.6585 MB / 1.337 GB, free: 8.207 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/1.116, allocations: 0.8829 MB / 1.338 GB, free: 7.215 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/1.116, allocations: 4 kB / 1.338 GB, free: 7.211 MB / 1.061 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003251/1.119, allocations: 1.197 MB / 1.339 GB, free: 6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.119, allocations: 8 kB / 1.339 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/1.119, allocations: 8 kB / 1.339 GB, free: 5.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009243/1.12, allocations: 220.6 kB / 1.339 GB, free: 5.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/1.121, allocations: 195.7 kB / 1.339 GB, free: 5.574 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009878/1.122, allocations: 0.7123 MB / 1.34 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.124, allocations: 218.6 kB / 1.34 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.124, allocations: 43.97 kB / 1.34 GB, free: 4.578 MB / 1.061 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008321/1.125, allocations: 357.6 kB / 1.341 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/1.125, allocations: 146.2 kB / 1.341 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/1.128, allocations: 1.145 MB / 1.342 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.128, allocations: 3.984 kB / 1.342 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.128, allocations: 4 kB / 1.342 GB, free: 2.902 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007528/1.128, allocations: 342.9 kB / 1.342 GB, free: 2.547 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/1.129, allocations: 12 kB / 1.342 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009601/1.13, allocations: 71.91 kB / 1.342 GB, free: 2.465 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.13, allocations: 36.5 kB / 1.342 GB, free: 2.426 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00273/1.133, allocations: 0.9852 MB / 1.343 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002817/1.135, allocations: 1.427 MB / 1.345 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007082/1.136, allocations: 348.3 kB / 1.345 GB, free: 15.65 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002369/1.139, allocations: 1.078 MB / 1.346 GB, free: 14.57 MB / 1.076 GB Notification: Performance of Backend: time 6.11e-07/1.139, allocations: 0 / 1.346 GB, free: 14.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004062/1.143, allocations: 1.083 MB / 1.347 GB, free: 13.5 MB / 1.076 GB Notification: Performance of SimCode: time 0.006542/1.149, allocations: 3.16 MB / 1.35 GB, free: 10.29 MB / 1.076 GB Notification: Performance of Templates: time 0.06096/1.21, allocations: 34.06 MB / 1.384 GB, free: 8.562 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)