Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.098/2.098, allocations: 288.4 MB / 303.4 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009806/0.0009804, allocations: 178.6 kB / 372 MB, free: 10.21 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009062/0.0009064, allocations: 82.41 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004417, allocations: 18.98 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2612, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05583/0.3171, allocations: 65.12 MB / 1.043 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0243/0.3414, allocations: 17.6 MB / 1.06 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.3441, allocations: 63.56 kB / 1.06 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.3464, allocations: 0.5199 MB / 1.061 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00799/0.3544, allocations: 2.092 MB / 1.063 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004188/0.3586, allocations: 1.102 MB / 1.064 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006797/0.3654, allocations: 4.38 MB / 1.068 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5759/0.9413, allocations: 1.006 MB / 1.069 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004399/0.9458, allocations: 1.345 MB / 1.071 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.9482, allocations: 1.045 MB / 1.072 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.9484, allocations: 58.25 kB / 1.072 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.9514, allocations: 0.9092 MB / 1.073 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.9518, allocations: 246.8 kB / 1.073 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000624/0.9524, allocations: 374.4 kB / 1.073 GB, free: 26.74 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004143/0.9566, allocations: 2.307 MB / 1.075 GB, free: 26.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.9566, allocations: 1.906 kB / 1.075 GB, free: 26.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.008e-06/0.9566, allocations: 0.6875 kB / 1.075 GB, free: 26.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.413e-05/0.9567, allocations: 0 / 1.075 GB, free: 26.68 MB / 0.6823 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.004452/0.9611, allocations: 1.727 MB / 1.077 GB, free: 25.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.9612, allocations: 8.438 kB / 1.077 GB, free: 25.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.9638, allocations: 0.4968 MB / 1.078 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/0.9672, allocations: 1.478 MB / 1.079 GB, free: 25.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004538/0.9676, allocations: 147.2 kB / 1.079 GB, free: 25.24 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.9679, allocations: 106.4 kB / 1.079 GB, free: 25.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/0.9712, allocations: 1.309 MB / 1.081 GB, free: 25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.9712, allocations: 4.188 kB / 1.081 GB, free: 25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.9713, allocations: 44.5 kB / 1.081 GB, free: 25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.9714, allocations: 30.41 kB / 1.081 GB, free: 25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/0.9748, allocations: 1.168 MB / 1.082 GB, free: 24.97 MB / 0.6823 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.01027/0.9851, allocations: 6.904 MB / 1.089 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003682/0.9888, allocations: 0.9272 MB / 1.089 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007398/0.9896, allocations: 315.1 kB / 1.09 GB, free: 21.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.9907, allocations: 1.724 MB / 1.091 GB, free: 19.31 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.9907, allocations: 42.62 kB / 1.091 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.827e-06/0.9908, allocations: 0 / 1.091 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.005761/0.9965, allocations: 1.496 MB / 1.093 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.9966, allocations: 60.7 kB / 1.093 GB, free: 18.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/0.9998, allocations: 1.523 MB / 1.094 GB, free: 18.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.9999, allocations: 39.25 kB / 1.095 GB, free: 18.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005937/1.001, allocations: 0.6561 MB / 1.095 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/1.001, allocations: 189.6 kB / 1.095 GB, free: 18.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/1.001, allocations: 14.78 kB / 1.095 GB, free: 18.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/1.001, allocations: 330.6 kB / 1.096 GB, free: 18.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/1.002, allocations: 401 kB / 1.096 GB, free: 18.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/1.003, allocations: 0.6737 MB / 1.097 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/1.004, allocations: 457 kB / 1.097 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.004, allocations: 1.375 kB / 1.097 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003318/1.008, allocations: 1.245 MB / 1.098 GB, free: 17.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/1.008, allocations: 11.12 kB / 1.098 GB, free: 17.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.008, allocations: 6.781 kB / 1.098 GB, free: 17.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/1.009, allocations: 231 kB / 1.099 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008607/1.01, allocations: 204 kB / 1.099 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000829/1.011, allocations: 0.7277 MB / 1.099 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/1.013, allocations: 263.3 kB / 1.1 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/1.013, allocations: 41.89 kB / 1.1 GB, free: 16.96 MB / 0.6823 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.0008753/1.014, allocations: 359 kB / 1.1 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/1.014, allocations: 155 kB / 1.1 GB, free: 16.76 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/1.017, allocations: 1.219 MB / 1.101 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/1.017, allocations: 12.41 kB / 1.101 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.017, allocations: 3 kB / 1.101 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.017, allocations: 3.656 kB / 1.101 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006351/1.023, allocations: 2.655 MB / 1.104 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.023, allocations: 1.375 kB / 1.104 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/1.024, allocations: 102 kB / 1.104 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009077/1.025, allocations: 218.5 kB / 1.104 GB, free: 16.17 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/1.025, allocations: 21.16 kB / 1.104 GB, free: 16.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/1.026, allocations: 0.8057 MB / 1.105 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.026, allocations: 6.25 kB / 1.105 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/1.03, allocations: 1.318 MB / 1.106 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.031, allocations: 381 kB / 1.107 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/1.031, allocations: 13.77 kB / 1.107 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009806/1.032, allocations: 108 kB / 1.107 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.033, allocations: 42.03 kB / 1.107 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/1.033, allocations: 28.95 kB / 1.107 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002021/1.035, allocations: 1.069 MB / 1.108 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.382e-06/1.035, allocations: 7.562 kB / 1.108 GB, free: 15 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001853/1.037, allocations: 442.1 kB / 1.109 GB, free: 14.95 MB / 0.6823 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.001057/1.038, allocations: 461.1 kB / 1.109 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002574/1.04, allocations: 0.8897 MB / 1.11 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.04, allocations: 0 / 1.11 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.042, allocations: 499 kB / 1.11 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/1.047, allocations: 0.7246 MB / 1.111 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006059/1.053, allocations: 2.733 MB / 1.114 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/1.054, allocations: 1.174 MB / 1.115 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00181/1.056, allocations: 268.5 kB / 1.115 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/1.056, allocations: 117.7 kB / 1.115 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of SimCode: time 2.415e-06/1.056, allocations: 3.281 kB / 1.115 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of Templates: time 0.05932/1.116, allocations: 29.61 MB / 1.144 GB, free: 15.44 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)