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.01075/0.01075, allocations: 101.9 kB / 15.73 MB, free: 5.516 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.001537/0.001537, allocations: 196.6 kB / 16.68 MB, free: 5.445 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.728/1.728, allocations: 205.1 MB / 222.6 MB, free: 4.461 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.698/1.698, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001535/0.001535, allocations: 67.91 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2292, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06957/0.2988, allocations: 70.5 MB / 0.8969 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6095/0.9084, allocations: 18.78 MB / 0.9152 GB, free: 19.53 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.9116, allocations: 66.56 kB / 0.9153 GB, free: 19.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.9145, allocations: 0.8176 MB / 0.9161 GB, free: 19.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.9256, allocations: 2.836 MB / 0.9189 GB, free: 19.44 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005424/0.931, allocations: 1.676 MB / 0.9205 GB, free: 19.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009494/0.9405, allocations: 4.03 MB / 0.9244 GB, free: 19.4 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0033/0.9439, allocations: 1.461 MB / 0.9259 GB, free: 19.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00556/0.9495, allocations: 1.754 MB / 0.9276 GB, free: 19.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003563/0.9531, allocations: 1.199 MB / 0.9287 GB, free: 18.87 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005053/0.9536, allocations: 185.5 kB / 0.9289 GB, free: 18.87 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004834/0.9584, allocations: 1.394 MB / 0.9303 GB, free: 18.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005791/0.959, allocations: 386.9 kB / 0.9307 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.9608, allocations: 0.9242 MB / 0.9316 GB, free: 18.54 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006842/0.9676, allocations: 3.129 MB / 0.9346 GB, free: 18.17 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.9677, allocations: 1.094 kB / 0.9346 GB, free: 18.17 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9677, allocations: 0 / 0.9346 GB, free: 18.17 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.057e-05/0.9678, allocations: 0 / 0.9346 GB, free: 18.17 MB / 0.7169 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.004685/0.9724, allocations: 2.087 MB / 0.9367 GB, free: 17.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.9725, allocations: 13.22 kB / 0.9367 GB, free: 17.08 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.9748, allocations: 449.2 kB / 0.9371 GB, free: 16.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.9778, allocations: 1.583 MB / 0.9386 GB, free: 16.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/0.9779, allocations: 77.97 kB / 0.9387 GB, free: 16.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.978, allocations: 106.3 kB / 0.9388 GB, free: 16.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.9807, allocations: 1.312 MB / 0.9401 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.9807, allocations: 3.938 kB / 0.9401 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.9809, allocations: 43.12 kB / 0.9401 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.9809, allocations: 26.44 kB / 0.9402 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.9836, allocations: 1.111 MB / 0.9412 GB, free: 15.09 MB / 0.7169 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.008309/0.9919, allocations: 7.255 MB / 0.9483 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003288/0.9952, allocations: 0.8518 MB / 0.9492 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007036/0.9959, allocations: 298.3 kB / 0.9495 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.997, allocations: 1.721 MB / 0.9511 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.997, allocations: 42.62 kB / 0.9512 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 2.785e-06/0.9971, allocations: 0 / 0.9512 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.005244/1.002, allocations: 1.386 MB / 0.9525 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/1.002, allocations: 60.12 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/1.005, allocations: 1.547 MB / 0.9541 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/1.005, allocations: 49.95 kB / 0.9541 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006006/1.006, allocations: 0.6844 MB / 0.9548 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/1.006, allocations: 188.4 kB / 0.955 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/1.007, allocations: 179 kB / 0.9552 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.007, allocations: 337.7 kB / 0.9555 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/1.008, allocations: 379 kB / 0.9558 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.009, allocations: 0.6752 MB / 0.9565 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/1.011, allocations: 0.9148 MB / 0.9574 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.011, allocations: 3.031 kB / 0.9574 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00334/1.015, allocations: 1.231 MB / 0.9586 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/1.015, allocations: 14.14 kB / 0.9586 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/1.015, allocations: 8.531 kB / 0.9586 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/1.016, allocations: 220.4 kB / 0.9588 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000776/1.016, allocations: 200.8 kB / 0.959 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007371/1.017, allocations: 0.7166 MB / 0.9597 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.019, allocations: 223.2 kB / 0.9599 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.019, allocations: 47.09 kB / 0.96 GB, free: 2.238 MB / 0.7169 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 (88): * Single equations (assignments): 87 * 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.0007623/1.02, allocations: 363.3 kB / 0.9603 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/1.02, allocations: 155.9 kB / 0.9605 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/1.023, allocations: 1.18 MB / 0.9616 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/1.023, allocations: 13.61 kB / 0.9616 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.023, allocations: 0 / 0.9616 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.023, allocations: 7.891 kB / 0.9616 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005408/1.028, allocations: 2.568 MB / 0.9642 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/1.028, allocations: 6.719 kB / 0.9642 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/1.029, allocations: 91.41 kB / 0.9643 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007855/1.029, allocations: 207.2 kB / 0.9644 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/1.03, allocations: 21.77 kB / 0.9645 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/1.031, allocations: 0.7762 MB / 0.9652 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.031, allocations: 5.922 kB / 0.9652 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/1.035, allocations: 1.256 MB / 0.9665 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.036, allocations: 359.1 kB / 0.9668 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005089/1.036, allocations: 16.41 kB / 0.9668 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.037, allocations: 74.19 kB / 0.9669 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.038, allocations: 46.09 kB / 0.9669 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/1.038, allocations: 30.17 kB / 0.967 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002477/1.04, allocations: 1.087 MB / 0.968 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/1.04, allocations: 4 kB / 0.968 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002059/1.042, allocations: 444.7 kB / 0.9685 GB, free: 12.99 MB / 0.7325 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.001364/1.044, allocations: 472.7 kB / 0.9689 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002591/1.046, allocations: 0.8779 MB / 0.9698 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.046, allocations: 0 / 0.9698 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/1.048, allocations: 459.5 kB / 0.9702 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004373/1.052, allocations: 0.7644 MB / 0.9709 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005229/1.057, allocations: 2.326 MB / 0.9732 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.058, allocations: 1.171 MB / 0.9744 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001429/1.06, allocations: 273.8 kB / 0.9746 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/1.06, allocations: 121.6 kB / 0.9747 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of SimCode: time 1.502e-06/1.06, allocations: 0 / 0.9747 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of Templates: time 0.06232/1.123, allocations: 32.3 MB / 1.006 GB, free: 12.27 MB / 0.7637 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)