Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001168/0.001167, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001222/0.001222, allocations: 189 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 251.6 MB / 0.5089 GB, free: 3.312 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 67.84 kB / 0.6217 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5041, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06946/0.5736, allocations: 69.92 MB / 0.7923 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02283/0.5965, allocations: 18.65 MB / 0.8105 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.5988, allocations: 59.62 kB / 0.8105 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.6013, allocations: 0.7035 MB / 0.8112 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007226/0.6086, allocations: 2.637 MB / 0.8138 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.613, allocations: 1.538 MB / 0.8153 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008189/0.6212, allocations: 4.054 MB / 0.8193 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/0.6244, allocations: 1.445 MB / 0.8207 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.6288, allocations: 1.763 MB / 0.8224 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.6312, allocations: 1.229 MB / 0.8236 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003889/0.6316, allocations: 180 kB / 0.8238 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.6346, allocations: 1.411 MB / 0.8251 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003935/0.635, allocations: 394.6 kB / 0.8255 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.6361, allocations: 0.9294 MB / 0.8264 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.6397, allocations: 3.105 MB / 0.8295 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6397, allocations: 4 kB / 0.8295 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6397, allocations: 0 / 0.8295 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.905e-05/0.6398, allocations: 0 / 0.8295 GB, free: 0.7344 MB / 0.6387 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.003389/0.6432, allocations: 2.03 MB / 0.8314 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6432, allocations: 16.02 kB / 0.8315 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.6454, allocations: 438.5 kB / 0.8319 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.6476, allocations: 1.52 MB / 0.8334 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/0.648, allocations: 134 kB / 0.8335 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.6481, allocations: 104 kB / 0.8336 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.6504, allocations: 1.296 MB / 0.8349 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6505, allocations: 0 / 0.8349 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/0.6506, allocations: 40 kB / 0.8349 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.6506, allocations: 32 kB / 0.8349 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.653, allocations: 1.12 MB / 0.836 GB, free: 9.809 MB / 0.6544 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.007923/0.661, allocations: 6.886 MB / 0.8427 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00304/0.664, allocations: 0.8444 MB / 0.8436 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.6647, allocations: 302 kB / 0.8439 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/0.6661, allocations: 1.726 MB / 0.8455 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.6662, allocations: 42.94 kB / 0.8456 GB, free: 15.15 MB / 0.67 GB Notification: Performance of pre-optimization done (n=52): time 2.755e-06/0.6662, allocations: 0 / 0.8456 GB, free: 15.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=52): time 0.004827/0.671, allocations: 1.381 MB / 0.8469 GB, free: 13.74 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.6711, allocations: 55.84 kB / 0.847 GB, free: 13.67 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.6734, allocations: 1.525 MB / 0.8485 GB, free: 12.14 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.71e-05/0.6735, allocations: 37.7 kB / 0.8485 GB, free: 12.09 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005219/0.674, allocations: 0.6653 MB / 0.8492 GB, free: 11.42 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.6742, allocations: 177.5 kB / 0.8493 GB, free: 11.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.6745, allocations: 170.4 kB / 0.8495 GB, free: 11.07 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6746, allocations: 334 kB / 0.8498 GB, free: 10.74 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009261/0.6755, allocations: 377.8 kB / 0.8502 GB, free: 10.38 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.6767, allocations: 0.6471 MB / 0.8508 GB, free: 9.609 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.6784, allocations: 0.8834 MB / 0.8517 GB, free: 8.637 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.6785, allocations: 4 kB / 0.8517 GB, free: 8.633 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004305/0.6828, allocations: 1.365 MB / 0.853 GB, free: 7.258 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.6828, allocations: 8 kB / 0.853 GB, free: 7.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.6828, allocations: 8 kB / 0.853 GB, free: 7.242 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.6839, allocations: 224.7 kB / 0.8532 GB, free: 7.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/0.6847, allocations: 191.7 kB / 0.8534 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009683/0.6857, allocations: 0.7162 MB / 0.8541 GB, free: 6.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.6878, allocations: 234.7 kB / 0.8543 GB, free: 5.859 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.6879, allocations: 47.97 kB / 0.8544 GB, free: 5.812 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 81 * 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.000685/0.6886, allocations: 354.1 kB / 0.8547 GB, free: 5.457 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.6889, allocations: 154.1 kB / 0.8549 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.6914, allocations: 1.183 MB / 0.856 GB, free: 4.098 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.6914, allocations: 11.98 kB / 0.856 GB, free: 4.086 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.6914, allocations: 0 / 0.856 GB, free: 4.086 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.6914, allocations: 3.984 kB / 0.856 GB, free: 4.082 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005244/0.6967, allocations: 2.58 MB / 0.8586 GB, free: 1.418 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.6967, allocations: 3.938 kB / 0.8586 GB, free: 1.414 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/0.6971, allocations: 87.88 kB / 0.8586 GB, free: 1.328 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007738/0.6979, allocations: 224.7 kB / 0.8589 GB, free: 1.105 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.698, allocations: 19.92 kB / 0.8589 GB, free: 1.086 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.6992, allocations: 0.7709 MB / 0.8596 GB, free: 296 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6992, allocations: 0 / 0.8596 GB, free: 296 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/0.7026, allocations: 1.242 MB / 0.8608 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006033/0.7032, allocations: 350.9 kB / 0.8612 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.7034, allocations: 19.94 kB / 0.8612 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009274/0.7044, allocations: 79.91 kB / 0.8613 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.7045, allocations: 56.38 kB / 0.8613 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.7045, allocations: 27.98 kB / 0.8614 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001583/0.7061, allocations: 1.074 MB / 0.8624 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7061, allocations: 0 / 0.8624 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001262/0.7074, allocations: 435.4 kB / 0.8628 GB, free: 12.97 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008624/0.7083, allocations: 468.8 kB / 0.8633 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.7106, allocations: 0.9068 MB / 0.8641 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.7106, allocations: 0 / 0.8641 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.7119, allocations: 463.6 kB / 0.8646 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.715, allocations: 0.7673 MB / 0.8653 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.7191, allocations: 2.756 MB / 0.868 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/0.7199, allocations: 1.176 MB / 0.8692 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001259/0.7212, allocations: 268.2 kB / 0.8694 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.7215, allocations: 119.4 kB / 0.8696 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/0.7215, allocations: 0 / 0.8696 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of Templates: time 0.05165/0.7731, allocations: 31.71 MB / 0.9005 GB, free: 6.703 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)