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.001794/0.001794, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.694/1.694, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.865/1.865, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001452/0.001452, allocations: 72.03 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3064, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07098/0.3775, allocations: 70.51 MB / 0.853 GB, free: 6.008 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02534/0.4029, allocations: 18.83 MB / 0.8714 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003941/0.4068, allocations: 71.56 kB / 0.8714 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.4097, allocations: 0.8189 MB / 0.8722 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00979/0.4195, allocations: 2.833 MB / 0.875 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004818/0.4244, allocations: 1.679 MB / 0.8766 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006499/0.4309, allocations: 4.03 MB / 0.8806 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.4332, allocations: 1.469 MB / 0.882 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004297/0.4375, allocations: 1.781 MB / 0.8837 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.4396, allocations: 1.19 MB / 0.8849 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.4399, allocations: 180 kB / 0.8851 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.4433, allocations: 1.416 MB / 0.8865 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004523/0.4438, allocations: 386.7 kB / 0.8868 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.4452, allocations: 0.9254 MB / 0.8877 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005356/0.4505, allocations: 3.136 MB / 0.8908 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4506, allocations: 0 / 0.8908 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4506, allocations: 0 / 0.8908 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.256e-05/0.4506, allocations: 4 kB / 0.8908 GB, free: 15.14 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.004216/0.4549, allocations: 2.034 MB / 0.8928 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.4549, allocations: 12.03 kB / 0.8928 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.4571, allocations: 449.8 kB / 0.8932 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.4599, allocations: 1.559 MB / 0.8947 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/0.46, allocations: 78.03 kB / 0.8948 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.4601, allocations: 100 kB / 0.8949 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.4627, allocations: 1.315 MB / 0.8962 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.4628, allocations: 7.938 kB / 0.8962 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.4629, allocations: 44 kB / 0.8962 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.4629, allocations: 31.94 kB / 0.8963 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/0.4656, allocations: 1.108 MB / 0.8974 GB, free: 8.195 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.009202/0.4748, allocations: 7.226 MB / 0.9044 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.478, allocations: 0.8511 MB / 0.9052 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006173/0.4786, allocations: 302 kB / 0.9055 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.4799, allocations: 1.726 MB / 0.9072 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.48, allocations: 39 kB / 0.9073 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 2.685e-06/0.48, allocations: 4 kB / 0.9073 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.004868/0.4848, allocations: 1.381 MB / 0.9086 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.4849, allocations: 63.83 kB / 0.9087 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.4873, allocations: 1.545 MB / 0.9102 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/0.4874, allocations: 37.7 kB / 0.9102 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/0.4879, allocations: 0.6691 MB / 0.9109 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.4881, allocations: 185.4 kB / 0.911 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.4884, allocations: 174.4 kB / 0.9112 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4885, allocations: 338 kB / 0.9115 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009591/0.4895, allocations: 381.8 kB / 0.9119 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.4907, allocations: 0.6741 MB / 0.9126 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.4925, allocations: 0.9141 MB / 0.9135 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.4925, allocations: 0 / 0.9135 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002984/0.4955, allocations: 1.228 MB / 0.9147 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4956, allocations: 8 kB / 0.9147 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.4956, allocations: 8 kB / 0.9147 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008542/0.4964, allocations: 224.6 kB / 0.9149 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/0.4972, allocations: 203.7 kB / 0.9151 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000842/0.4981, allocations: 0.7122 MB / 0.9158 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.4996, allocations: 218.7 kB / 0.916 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/0.4997, allocations: 39.98 kB / 0.916 GB, free: 3.863 MB / 0.7325 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.000598/0.5003, allocations: 366.2 kB / 0.9164 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.5005, allocations: 150.1 kB / 0.9165 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.5029, allocations: 1.184 MB / 0.9177 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.503, allocations: 15.98 kB / 0.9177 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.503, allocations: 0 / 0.9177 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.503, allocations: 3.984 kB / 0.9177 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5727/1.076, allocations: 2.569 MB / 0.9202 GB, free: 136 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.076, allocations: 5.812 kB / 0.9202 GB, free: 136 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/1.076, allocations: 93.03 kB / 0.9203 GB, free: 136 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000953/1.077, allocations: 211.8 kB / 0.9205 GB, free: 136 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/1.077, allocations: 17.39 kB / 0.9205 GB, free: 136 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/1.079, allocations: 0.7711 MB / 0.9213 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/1.079, allocations: 2.953 kB / 0.9213 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/1.083, allocations: 1.246 MB / 0.9225 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009154/1.084, allocations: 355.9 kB / 0.9228 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/1.084, allocations: 13.58 kB / 0.9228 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/1.085, allocations: 81.94 kB / 0.9229 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.085, allocations: 38.27 kB / 0.9229 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/1.085, allocations: 30.58 kB / 0.923 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002155/1.087, allocations: 1.09 MB / 0.924 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.087, allocations: 0 / 0.924 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002158/1.089, allocations: 445.7 kB / 0.9245 GB, free: 135.1 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.00141/1.091, allocations: 479 kB / 0.9249 GB, free: 135 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002668/1.093, allocations: 0.8825 MB / 0.9258 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.094, allocations: 0 / 0.9258 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.095, allocations: 459.2 kB / 0.9262 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/1.098, allocations: 0.7727 MB / 0.927 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/1.102, allocations: 2.267 MB / 0.9292 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/1.103, allocations: 1.172 MB / 0.9303 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001178/1.104, allocations: 286.3 kB / 0.9306 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/1.104, allocations: 114.3 kB / 0.9307 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/1.104, allocations: 0 / 0.9307 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.071/1.175, allocations: 32.14 MB / 0.9621 GB, free: 119.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (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)