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.008302/0.008302, allocations: 102.2 kB / 15.73 MB, free: 6.484 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.001356/0.001356, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.665/1.665, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.616/1.616, allocations: 251.7 MB / 0.5094 GB, free: 3.07 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.001612/0.001612, allocations: 75.89 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.254, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08079/0.3349, allocations: 70.51 MB / 0.8969 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6541/0.989, allocations: 18.77 MB / 0.9152 GB, free: 18.97 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004018/0.9931, allocations: 68.12 kB / 0.9153 GB, free: 18.97 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.9963, allocations: 0.8383 MB / 0.9161 GB, free: 18.97 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01156/1.008, allocations: 2.984 MB / 0.919 GB, free: 18.9 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005487/1.013, allocations: 1.68 MB / 0.9207 GB, free: 18.87 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009231/1.023, allocations: 4.046 MB / 0.9246 GB, free: 18.86 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/1.026, allocations: 1.464 MB / 0.926 GB, free: 18.69 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005512/1.031, allocations: 1.796 MB / 0.9278 GB, free: 18.55 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002787/1.034, allocations: 1.191 MB / 0.929 GB, free: 18.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000306/1.035, allocations: 179.2 kB / 0.9291 GB, free: 18.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/1.038, allocations: 1.394 MB / 0.9305 GB, free: 18.31 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004102/1.039, allocations: 393.9 kB / 0.9309 GB, free: 18.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001309/1.04, allocations: 0.9234 MB / 0.9318 GB, free: 18.01 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00577/1.046, allocations: 3.115 MB / 0.9348 GB, free: 17.65 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.046, allocations: 0 / 0.9348 GB, free: 17.65 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.136e-06/1.046, allocations: 0 / 0.9348 GB, free: 17.65 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.254e-05/1.046, allocations: 3.688 kB / 0.9348 GB, free: 17.65 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.004397/1.051, allocations: 2.036 MB / 0.9368 GB, free: 16.61 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.051, allocations: 8.156 kB / 0.9368 GB, free: 16.61 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/1.053, allocations: 448 kB / 0.9372 GB, free: 16.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/1.056, allocations: 1.561 MB / 0.9388 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.022e-05/1.056, allocations: 78.62 kB / 0.9388 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.056, allocations: 106.5 kB / 0.9389 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/1.058, allocations: 1.309 MB / 0.9402 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/1.058, allocations: 4 kB / 0.9402 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.059, allocations: 46.23 kB / 0.9403 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/1.059, allocations: 30.33 kB / 0.9403 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/1.061, allocations: 1.112 MB / 0.9414 GB, free: 14.8 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.008624/1.07, allocations: 7.249 MB / 0.9485 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/1.073, allocations: 0.8515 MB / 0.9493 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/1.074, allocations: 305 kB / 0.9496 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009377/1.074, allocations: 1.718 MB / 0.9513 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.075, allocations: 42.09 kB / 0.9513 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 2.675e-06/1.075, allocations: 0 / 0.9513 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.004918/1.079, allocations: 1.376 MB / 0.9526 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/1.079, allocations: 68.62 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/1.082, allocations: 1.547 MB / 0.9542 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/1.082, allocations: 38.48 kB / 0.9543 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/1.083, allocations: 0.6647 MB / 0.9549 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/1.083, allocations: 191.1 kB / 0.9551 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003898/1.083, allocations: 180.4 kB / 0.9553 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/1.084, allocations: 333.4 kB / 0.9556 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009792/1.085, allocations: 380 kB / 0.9559 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/1.086, allocations: 0.6738 MB / 0.9566 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/1.088, allocations: 0.9107 MB / 0.9575 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/1.088, allocations: 1.969 kB / 0.9575 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003082/1.091, allocations: 1.236 MB / 0.9587 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/1.091, allocations: 12.22 kB / 0.9587 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.091, allocations: 8.5 kB / 0.9587 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009747/1.092, allocations: 222.9 kB / 0.9589 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/1.092, allocations: 196.9 kB / 0.9591 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006932/1.093, allocations: 0.7133 MB / 0.9598 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/1.095, allocations: 213.2 kB / 0.96 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/1.095, allocations: 46.8 kB / 0.9601 GB, free: 2.008 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.0007443/1.096, allocations: 360.7 kB / 0.9604 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/1.096, allocations: 155 kB / 0.9606 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/1.099, allocations: 1.182 MB / 0.9617 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/1.099, allocations: 13.94 kB / 0.9617 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.099, allocations: 0 / 0.9617 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/1.099, allocations: 9.094 kB / 0.9617 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005171/1.104, allocations: 2.566 MB / 0.9642 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.104, allocations: 2.656 kB / 0.9642 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/1.104, allocations: 91.34 kB / 0.9643 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007471/1.105, allocations: 218.3 kB / 0.9645 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/1.105, allocations: 23.33 kB / 0.9646 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/1.106, allocations: 0.7692 MB / 0.9653 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.106, allocations: 2.906 kB / 0.9653 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003734/1.11, allocations: 1.249 MB / 0.9665 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.111, allocations: 350.4 kB / 0.9669 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006211/1.112, allocations: 12.78 kB / 0.9669 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.113, allocations: 74.88 kB / 0.9669 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.113, allocations: 51.94 kB / 0.967 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/1.114, allocations: 36.2 kB / 0.967 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002959/1.117, allocations: 1.085 MB / 0.9681 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.31e-07/1.117, allocations: 0 / 0.9681 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002566/1.119, allocations: 445.5 kB / 0.9685 GB, free: 12.78 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.001566/1.121, allocations: 465.5 kB / 0.969 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002629/1.123, allocations: 0.8737 MB / 0.9698 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.123, allocations: 0 / 0.9698 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/1.125, allocations: 467 kB / 0.9703 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006382/1.131, allocations: 0.7709 MB / 0.971 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/1.138, allocations: 2.266 MB / 0.9732 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.139, allocations: 1.174 MB / 0.9744 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00186/1.141, allocations: 269.5 kB / 0.9746 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/1.141, allocations: 120.4 kB / 0.9747 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of SimCode: time 1.372e-06/1.141, allocations: 0.625 kB / 0.9747 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of Templates: time 0.06268/1.204, allocations: 32.3 MB / 1.006 GB, free: 12.05 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)