Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01034/0.01034, allocations: 89.2 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001228/0.001228, allocations: 168.7 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.258/2.258, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.444/2.444, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006356/0.0006359, allocations: 16.5 kB / 0.6243 GB, free: 20.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2507, allocations: 106.2 MB / 0.7281 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.102/0.3528, allocations: 59.2 MB / 0.7859 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03007/0.3829, allocations: 14.97 MB / 0.8005 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.3853, allocations: 59.62 kB / 0.8005 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003481/0.3889, allocations: 0.6995 MB / 0.8012 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009811/0.3987, allocations: 2.259 MB / 0.8034 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006914/0.4057, allocations: 1.477 MB / 0.8049 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006199/0.4119, allocations: 2.272 MB / 0.8071 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.4147, allocations: 1.026 MB / 0.8081 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004888/0.4196, allocations: 1.257 MB / 0.8093 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.4222, allocations: 0.7934 MB / 0.8101 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004773/0.4227, allocations: 60 kB / 0.8102 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004198/0.4269, allocations: 0.9673 MB / 0.8111 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006979/0.4277, allocations: 242.9 kB / 0.8113 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008448/0.4285, allocations: 376.8 kB / 0.8117 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005351/0.4339, allocations: 2.276 MB / 0.8139 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.434, allocations: 0 / 0.8139 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.266e-06/0.434, allocations: 0 / 0.8139 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.255e-05/0.4341, allocations: 0 / 0.8139 GB, free: 15.96 MB / 0.6511 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.00557/0.4397, allocations: 1.727 MB / 0.8156 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.4397, allocations: 9.094 kB / 0.8156 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004758/0.4402, allocations: 160.4 kB / 0.8158 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004154/0.4444, allocations: 0.4936 MB / 0.8162 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004231/0.4487, allocations: 1.435 MB / 0.8177 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007125/0.4494, allocations: 142 kB / 0.8178 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003604/0.4498, allocations: 112 kB / 0.8179 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004696/0.4545, allocations: 1.307 MB / 0.8192 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.4546, allocations: 0 / 0.8192 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.4548, allocations: 44 kB / 0.8192 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.4549, allocations: 27.95 kB / 0.8192 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005607/0.4605, allocations: 1.167 MB / 0.8204 GB, free: 9.137 MB / 0.6511 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.0157/0.4762, allocations: 6.953 MB / 0.8272 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006343/0.4826, allocations: 0.9573 MB / 0.8281 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5862/1.069, allocations: 1.713 MB / 0.8298 GB, free: 99.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.069, allocations: 38.69 kB / 0.8298 GB, free: 99.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 2.855e-06/1.069, allocations: 1 kB / 0.8298 GB, free: 99.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.009793/1.079, allocations: 1.483 MB / 0.8313 GB, free: 99.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.079, allocations: 57.8 kB / 0.8313 GB, free: 99.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005892/1.085, allocations: 1.546 MB / 0.8328 GB, free: 99.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001995/1.085, allocations: 36.17 kB / 0.8329 GB, free: 99.08 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/1.086, allocations: 0.6665 MB / 0.8335 GB, free: 98.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/1.086, allocations: 184.8 kB / 0.8337 GB, free: 98.51 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/1.087, allocations: 14.41 kB / 0.8337 GB, free: 98.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.087, allocations: 335.3 kB / 0.834 GB, free: 98.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/1.09, allocations: 397.2 kB / 0.8344 GB, free: 98.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003385/1.093, allocations: 0.6709 MB / 0.8351 GB, free: 97.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/1.096, allocations: 454.3 kB / 0.8355 GB, free: 97.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/1.096, allocations: 6.219 kB / 0.8355 GB, free: 97.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.007294/1.103, allocations: 1.249 MB / 0.8367 GB, free: 97.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/1.103, allocations: 8.484 kB / 0.8367 GB, free: 97.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/1.104, allocations: 7.312 kB / 0.8367 GB, free: 97.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/1.106, allocations: 228.6 kB / 0.8369 GB, free: 96.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/1.108, allocations: 202.7 kB / 0.8371 GB, free: 96.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/1.11, allocations: 0.7243 MB / 0.8378 GB, free: 96.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/1.114, allocations: 271.4 kB / 0.8381 GB, free: 96.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/1.114, allocations: 40.11 kB / 0.8381 GB, free: 96.3 MB / 0.6511 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.00129/1.116, allocations: 353.2 kB / 0.8385 GB, free: 96.04 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/1.116, allocations: 152.8 kB / 0.8386 GB, free: 95.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006006/1.122, allocations: 1.218 MB / 0.8398 GB, free: 95.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/1.122, allocations: 6.953 kB / 0.8398 GB, free: 95.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/1.122, allocations: 6.891 kB / 0.8398 GB, free: 95.49 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/1.122, allocations: 2.672 kB / 0.8398 GB, free: 95.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/1.136, allocations: 2.675 MB / 0.8424 GB, free: 94.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.868e-05/1.136, allocations: 2.781 kB / 0.8424 GB, free: 94.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/1.137, allocations: 99.44 kB / 0.8425 GB, free: 94.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/1.139, allocations: 227.1 kB / 0.8428 GB, free: 94.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/1.139, allocations: 20.62 kB / 0.8428 GB, free: 94.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/1.142, allocations: 0.7928 MB / 0.8436 GB, free: 93.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/1.142, allocations: 5.281 kB / 0.8436 GB, free: 93.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008523/1.15, allocations: 1.416 MB / 0.8449 GB, free: 92.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.152, allocations: 391.8 kB / 0.8453 GB, free: 92.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005939/1.153, allocations: 12.48 kB / 0.8453 GB, free: 92.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002814/1.155, allocations: 106.3 kB / 0.8454 GB, free: 92.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/1.156, allocations: 43.7 kB / 0.8455 GB, free: 92.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.156, allocations: 31.25 kB / 0.8455 GB, free: 92.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003217/1.159, allocations: 1.088 MB / 0.8466 GB, free: 92.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.775e-06/1.159, allocations: 0 / 0.8466 GB, free: 92.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002239/1.161, allocations: 442.6 kB / 0.847 GB, free: 92.06 MB / 0.6511 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.008125/1.17, allocations: 2.701 MB / 0.8496 GB, free: 90.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004222/1.174, allocations: 0.8947 MB / 0.8505 GB, free: 90.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/1.174, allocations: 0 / 0.8505 GB, free: 90.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/1.177, allocations: 497.2 kB / 0.851 GB, free: 89.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006178/1.183, allocations: 0.7123 MB / 0.8517 GB, free: 89.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.193, allocations: 8.52 MB / 0.86 GB, free: 82.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.194, allocations: 1.201 MB / 0.8612 GB, free: 81.74 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002179/1.196, allocations: 274.6 kB / 0.8614 GB, free: 81.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/1.198, allocations: 0.5575 MB / 0.862 GB, free: 81.24 MB / 0.6511 GB Notification: Performance of SimCode: time 1.673e-06/1.198, allocations: 0 / 0.862 GB, free: 81.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/1.303, allocations: 43.05 MB / 0.904 GB, free: 48.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/1.303, allocations: 267.8 kB / 0.9043 GB, free: 47.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.105/5.408, allocations: 0 / 0.9043 GB, free: 47.98 MB / 0.6511 GB