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.01071/0.01071, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002298/0.002299, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.669/1.669, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.523/1.523, allocations: 251.7 MB / 0.5094 GB, free: 2.957 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.001404/0.001404, allocations: 69.78 kB / 0.7258 GB, free: 8.949 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2321, allocations: 104.7 MB / 0.828 GB, free: 140 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06693/0.2991, allocations: 70.5 MB / 0.8969 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.7073/1.006, allocations: 18.79 MB / 0.9152 GB, free: 18.9 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003846/1.01, allocations: 67.94 kB / 0.9153 GB, free: 18.9 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002704/1.013, allocations: 0.8392 MB / 0.9161 GB, free: 18.9 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.011/1.024, allocations: 2.983 MB / 0.919 GB, free: 18.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005305/1.029, allocations: 1.681 MB / 0.9207 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008411/1.038, allocations: 4.045 MB / 0.9246 GB, free: 18.78 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004124/1.042, allocations: 1.464 MB / 0.926 GB, free: 18.61 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007649/1.05, allocations: 1.792 MB / 0.9278 GB, free: 18.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004001/1.054, allocations: 1.195 MB / 0.929 GB, free: 18.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009864/1.055, allocations: 184.7 kB / 0.9291 GB, free: 18.26 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005969/1.061, allocations: 1.394 MB / 0.9305 GB, free: 18.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/1.062, allocations: 392 kB / 0.9309 GB, free: 18.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003283/1.065, allocations: 0.9228 MB / 0.9318 GB, free: 17.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009525/1.075, allocations: 3.121 MB / 0.9348 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/1.075, allocations: 0 / 0.9348 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/1.075, allocations: 0 / 0.9348 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001149/1.075, allocations: 1.406 kB / 0.9348 GB, free: 17.57 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.008331/1.083, allocations: 2.03 MB / 0.9368 GB, free: 16.53 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/1.083, allocations: 12.97 kB / 0.9368 GB, free: 16.53 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/1.087, allocations: 443 kB / 0.9372 GB, free: 16.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/1.091, allocations: 1.568 MB / 0.9388 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/1.091, allocations: 82.06 kB / 0.9389 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004097/1.091, allocations: 103.8 kB / 0.939 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003774/1.095, allocations: 1.315 MB / 0.9402 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/1.095, allocations: 4.25 kB / 0.9402 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/1.095, allocations: 43.78 kB / 0.9403 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/1.095, allocations: 28.8 kB / 0.9403 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003329/1.099, allocations: 1.114 MB / 0.9414 GB, free: 14.72 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.01073/1.109, allocations: 7.235 MB / 0.9485 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/1.113, allocations: 0.8599 MB / 0.9493 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/1.113, allocations: 301 kB / 0.9496 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009279/1.114, allocations: 1.723 MB / 0.9513 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/1.114, allocations: 37.69 kB / 0.9513 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 2.345e-06/1.114, allocations: 0 / 0.9513 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.005226/1.12, allocations: 1.372 MB / 0.9526 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/1.12, allocations: 60.94 kB / 0.9527 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/1.123, allocations: 1.549 MB / 0.9542 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/1.123, allocations: 41.67 kB / 0.9543 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/1.123, allocations: 0.6723 MB / 0.9549 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/1.124, allocations: 182.8 kB / 0.9551 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/1.124, allocations: 182.4 kB / 0.9553 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.098e-05/1.124, allocations: 335.8 kB / 0.9556 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/1.125, allocations: 377.1 kB / 0.9559 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/1.126, allocations: 0.6804 MB / 0.9566 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/1.128, allocations: 0.918 MB / 0.9575 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.128, allocations: 2.312 kB / 0.9575 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00345/1.131, allocations: 1.224 MB / 0.9587 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/1.132, allocations: 12.94 kB / 0.9587 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/1.132, allocations: 7.75 kB / 0.9587 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009765/1.133, allocations: 219.3 kB / 0.9589 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/1.133, allocations: 198.7 kB / 0.9591 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007947/1.134, allocations: 0.7162 MB / 0.9598 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.136, allocations: 215.5 kB / 0.96 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.136, allocations: 46.11 kB / 0.9601 GB, free: 1.926 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.0008465/1.137, allocations: 360.7 kB / 0.9604 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005481/1.138, allocations: 149.6 kB / 0.9606 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/1.141, allocations: 1.179 MB / 0.9617 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/1.141, allocations: 12.14 kB / 0.9617 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.141, allocations: 0 / 0.9617 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.141, allocations: 8.984 kB / 0.9617 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00728/1.148, allocations: 2.575 MB / 0.9642 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.148, allocations: 192 / 0.9642 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/1.149, allocations: 100.8 kB / 0.9643 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008509/1.149, allocations: 207.1 kB / 0.9645 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/1.149, allocations: 21.27 kB / 0.9646 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/1.151, allocations: 0.7738 MB / 0.9653 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.151, allocations: 2.469 kB / 0.9653 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/1.157, allocations: 1.237 MB / 0.9665 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/1.159, allocations: 352.4 kB / 0.9669 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008642/1.159, allocations: 16.39 kB / 0.9669 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/1.161, allocations: 73.36 kB / 0.9669 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/1.161, allocations: 50.12 kB / 0.967 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.162, allocations: 28.45 kB / 0.967 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003868/1.165, allocations: 1.089 MB / 0.9681 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.21e-07/1.165, allocations: 4.188 kB / 0.9681 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002905/1.168, allocations: 450.3 kB / 0.9685 GB, free: 12.73 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.002021/1.17, allocations: 462.6 kB / 0.969 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00292/1.173, allocations: 0.8763 MB / 0.9698 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.173, allocations: 2.906 kB / 0.9698 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/1.175, allocations: 469 kB / 0.9703 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/1.18, allocations: 0.7661 MB / 0.971 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005881/1.186, allocations: 2.264 MB / 0.9732 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/1.187, allocations: 1.171 MB / 0.9744 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001591/1.189, allocations: 277.9 kB / 0.9746 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/1.189, allocations: 122.5 kB / 0.9747 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of SimCode: time 9.01e-07/1.189, allocations: 0 / 0.9747 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of Templates: time 0.0644/1.254, allocations: 32.3 MB / 1.006 GB, free: 11.98 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)