Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0009159/0.0009159, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001018/0.001018, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.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.0005688/0.0005689, allocations: 16.03 kB / 0.6735 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2495, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05389/0.3034, allocations: 59.18 MB / 0.8449 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0199/0.3233, allocations: 14.97 MB / 0.8595 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.3253, allocations: 59.56 kB / 0.8596 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.3273, allocations: 0.6996 MB / 0.8603 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.3332, allocations: 2.263 MB / 0.8625 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.3374, allocations: 1.566 MB / 0.864 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003895/0.3413, allocations: 2.276 MB / 0.8662 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.3428, allocations: 1.026 MB / 0.8672 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.3453, allocations: 1.273 MB / 0.8685 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.3465, allocations: 0.7895 MB / 0.8692 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.3466, allocations: 56 kB / 0.8693 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.349, allocations: 0.9868 MB / 0.8703 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.3493, allocations: 242.9 kB / 0.8705 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.3497, allocations: 364.9 kB / 0.8708 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.352, allocations: 2.291 MB / 0.8731 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.352, allocations: 0 / 0.8731 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.744e-06/0.352, allocations: 3.938 kB / 0.8731 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.798e-05/0.3521, allocations: 0 / 0.8731 GB, free: 3.758 MB / 0.6856 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.003198/0.3553, allocations: 1.735 MB / 0.8748 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3553, allocations: 12.03 kB / 0.8748 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.3574, allocations: 0.4936 MB / 0.8753 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.3599, allocations: 1.435 MB / 0.8767 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/0.3603, allocations: 146 kB / 0.8768 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.3604, allocations: 104 kB / 0.8769 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.3628, allocations: 1.307 MB / 0.8782 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.3629, allocations: 3.938 kB / 0.8782 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.363, allocations: 48 kB / 0.8782 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.363, allocations: 24 kB / 0.8783 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/0.3656, allocations: 1.159 MB / 0.8794 GB, free: 13.09 MB / 0.7012 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.00796/0.3736, allocations: 6.943 MB / 0.8862 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/0.3768, allocations: 0.9343 MB / 0.8871 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.3783, allocations: 1.718 MB / 0.8888 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.3783, allocations: 46.92 kB / 0.8888 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=52): time 2.544e-06/0.3783, allocations: 0 / 0.8888 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of matching and sorting (n=52): time 0.004983/0.3833, allocations: 1.487 MB / 0.8903 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.3834, allocations: 59.84 kB / 0.8903 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.3859, allocations: 1.537 MB / 0.8918 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/0.386, allocations: 37.7 kB / 0.8919 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005898/0.3867, allocations: 0.6692 MB / 0.8925 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.3868, allocations: 189.3 kB / 0.8927 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.3869, allocations: 16 kB / 0.8927 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.387, allocations: 333.9 kB / 0.893 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009566/0.388, allocations: 397.8 kB / 0.8934 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.3892, allocations: 0.6742 MB / 0.8941 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3902, allocations: 461.9 kB / 0.8945 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3902, allocations: 4 kB / 0.8945 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002918/0.3932, allocations: 1.243 MB / 0.8957 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3932, allocations: 11.98 kB / 0.8957 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3932, allocations: 8 kB / 0.8957 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000844/0.3941, allocations: 225.4 kB / 0.896 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/0.3948, allocations: 207.7 kB / 0.8961 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007749/0.3956, allocations: 0.7279 MB / 0.8969 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.3971, allocations: 263.4 kB / 0.8971 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.085e-05/0.3973, allocations: 47.97 kB / 0.8972 GB, free: 9.812 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005758/0.3978, allocations: 353.6 kB / 0.8975 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.3981, allocations: 150.1 kB / 0.8976 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.4004, allocations: 1.214 MB / 0.8988 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.4004, allocations: 11.95 kB / 0.8988 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4005, allocations: 0 / 0.8988 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4005, allocations: 3.984 kB / 0.8988 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/0.4055, allocations: 2.682 MB / 0.9015 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.4055, allocations: 0 / 0.9015 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/0.4059, allocations: 103.8 kB / 0.9016 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007596/0.4067, allocations: 224.8 kB / 0.9018 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.4067, allocations: 15.98 kB / 0.9018 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.4079, allocations: 0.806 MB / 0.9026 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4079, allocations: 4 kB / 0.9026 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003394/0.4113, allocations: 1.408 MB / 0.904 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/0.4122, allocations: 386.8 kB / 0.9043 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.4124, allocations: 12 kB / 0.9043 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009675/0.4134, allocations: 115.7 kB / 0.9044 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.4135, allocations: 48.39 kB / 0.9045 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.4136, allocations: 28.17 kB / 0.9045 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001968/0.4156, allocations: 1.09 MB / 0.9056 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4156, allocations: 3.938 kB / 0.9056 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001407/0.417, allocations: 439.4 kB / 0.906 GB, free: 0.5195 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007943/0.4178, allocations: 468.3 kB / 0.9064 GB, free: 56 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.42, allocations: 0.8952 MB / 0.9073 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.42, allocations: 0 / 0.9073 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.4213, allocations: 495.6 kB / 0.9078 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/0.4244, allocations: 0.7097 MB / 0.9085 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.4284, allocations: 2.726 MB / 0.9112 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/0.4292, allocations: 1.203 MB / 0.9123 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001042/0.4302, allocations: 271.5 kB / 0.9126 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.4305, allocations: 123.4 kB / 0.9127 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of SimCode: time 5.92e-07/0.4305, allocations: 0 / 0.9127 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of Templates: time 0.4015/0.8319, allocations: 29.92 MB / 0.9419 GB, free: 127.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: