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.001078/0.001078, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.009302/0.009302, allocations: 172.9 kB / 16.27 MB, free: 6.652 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.712/1.712, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.703/1.703, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005806/0.000581, allocations: 18.06 kB / 0.6743 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3058, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0679/0.3737, allocations: 68.88 MB / 0.8551 GB, free: 6.48 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02823/0.402, allocations: 18.69 MB / 0.8734 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.4057, allocations: 63.5 kB / 0.8734 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.4088, allocations: 0.6527 MB / 0.8741 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.4189, allocations: 2.59 MB / 0.8766 GB, free: 436 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005494/0.4244, allocations: 1.51 MB / 0.8781 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009247/0.4337, allocations: 5.001 MB / 0.883 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.4366, allocations: 1.152 MB / 0.8841 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004928/0.4416, allocations: 1.454 MB / 0.8855 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003157/0.4448, allocations: 1.112 MB / 0.8866 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005804/0.4454, allocations: 60 kB / 0.8867 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004367/0.4498, allocations: 1.216 MB / 0.8878 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006998/0.4505, allocations: 270.6 kB / 0.8881 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002237/0.4528, allocations: 0.8022 MB / 0.8889 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006956/0.4597, allocations: 2.975 MB / 0.8918 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4598, allocations: 0 / 0.8918 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4598, allocations: 4 kB / 0.8918 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000104/0.4599, allocations: 0 / 0.8918 GB, free: 0.793 MB / 0.7012 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.004785/0.4647, allocations: 1.708 MB / 0.8935 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.4648, allocations: 8.031 kB / 0.8935 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.4673, allocations: 0.5056 MB / 0.894 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.4703, allocations: 1.528 MB / 0.8955 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/0.4707, allocations: 146 kB / 0.8956 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.4709, allocations: 100 kB / 0.8957 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.4736, allocations: 1.327 MB / 0.897 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.4737, allocations: 3.938 kB / 0.897 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.4738, allocations: 43.98 kB / 0.897 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.4738, allocations: 31.94 kB / 0.8971 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.4766, allocations: 1.167 MB / 0.8982 GB, free: 10.02 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.009308/0.4859, allocations: 6.916 MB / 0.905 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003353/0.4893, allocations: 0.9341 MB / 0.9059 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006693/0.49, allocations: 321.9 kB / 0.9062 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.4913, allocations: 1.726 MB / 0.9079 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.4914, allocations: 39 kB / 0.9079 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 2.806e-06/0.4914, allocations: 0 / 0.9079 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.005231/0.4966, allocations: 1.491 MB / 0.9094 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.4967, allocations: 59.84 kB / 0.9094 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.4992, allocations: 1.545 MB / 0.9109 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.674e-05/0.4994, allocations: 37.7 kB / 0.911 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000572/0.4999, allocations: 0.6537 MB / 0.9116 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.5001, allocations: 185.3 kB / 0.9118 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.5003, allocations: 69.62 kB / 0.9118 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5004, allocations: 334 kB / 0.9122 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.5014, allocations: 397.8 kB / 0.9125 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.5027, allocations: 0.6783 MB / 0.9132 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.5046, allocations: 0.9264 MB / 0.9141 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.5046, allocations: 4 kB / 0.9141 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004741/0.5094, allocations: 1.478 MB / 0.9156 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.5094, allocations: 8 kB / 0.9156 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.5095, allocations: 7.938 kB / 0.9156 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009995/0.5105, allocations: 224.9 kB / 0.9158 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/0.5113, allocations: 203.7 kB / 0.916 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008991/0.5122, allocations: 0.7318 MB / 0.9167 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.5142, allocations: 267.3 kB / 0.9169 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.5143, allocations: 47.95 kB / 0.917 GB, free: 5.594 MB / 0.7325 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.000764/0.5151, allocations: 361.4 kB / 0.9173 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.5154, allocations: 146.2 kB / 0.9175 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/0.518, allocations: 1.218 MB / 0.9187 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.518, allocations: 11.98 kB / 0.9187 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.518, allocations: 0 / 0.9187 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.518, allocations: 7.984 kB / 0.9187 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/0.5239, allocations: 2.658 MB / 0.9213 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.5239, allocations: 0 / 0.9213 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.5244, allocations: 96.06 kB / 0.9214 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008843/0.5253, allocations: 232.5 kB / 0.9216 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/0.5253, allocations: 23.92 kB / 0.9216 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5429/1.068, allocations: 0.7914 MB / 0.9224 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.068, allocations: 1.875 kB / 0.9224 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/1.073, allocations: 1.327 MB / 0.9237 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009183/1.074, allocations: 379.5 kB / 0.924 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/1.074, allocations: 12.75 kB / 0.9241 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.075, allocations: 104.8 kB / 0.9242 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.075, allocations: 44.42 kB / 0.9242 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/1.075, allocations: 29.39 kB / 0.9242 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002313/1.078, allocations: 1.091 MB / 0.9253 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.9e-07/1.078, allocations: 0 / 0.9253 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001839/1.08, allocations: 447.8 kB / 0.9257 GB, free: 133.4 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.00114/1.081, allocations: 465.2 kB / 0.9262 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002583/1.083, allocations: 0.9148 MB / 0.9271 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.083, allocations: 2.656 kB / 0.9271 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/1.085, allocations: 492.2 kB / 0.9275 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/1.089, allocations: 0.7325 MB / 0.9282 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/1.093, allocations: 2.806 MB / 0.931 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/1.094, allocations: 1.18 MB / 0.9321 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001361/1.095, allocations: 267.8 kB / 0.9324 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/1.095, allocations: 115.6 kB / 0.9325 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/1.095, allocations: 0 / 0.9325 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.06967/1.165, allocations: 31.14 MB / 0.9629 GB, free: 118.8 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: