Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01098/0.01098, allocations: 107.1 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00118/0.00118, allocations: 181.7 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.154/2.154, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.518/2.518, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004733, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6705/0.671, allocations: 98.72 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.1035/0.7746, allocations: 58.53 MB / 0.7406 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03789/0.8125, allocations: 14.89 MB / 0.7551 GB, free: 4.832 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/0.8154, allocations: 59.56 kB / 0.7552 GB, free: 4.773 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.8193, allocations: 0.7035 MB / 0.7559 GB, free: 4.066 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.8295, allocations: 2.263 MB / 0.7581 GB, free: 1.797 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006615/0.8361, allocations: 1.382 MB / 0.7594 GB, free: 424 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.006219/0.8423, allocations: 2.334 MB / 0.7617 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.845, allocations: 1.03 MB / 0.7627 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004237/0.8492, allocations: 1.285 MB / 0.764 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.8515, allocations: 0.7934 MB / 0.7647 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.00038/0.852, allocations: 60 kB / 0.7648 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/0.856, allocations: 0.9673 MB / 0.7657 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0005807/0.8566, allocations: 238.9 kB / 0.766 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008106/0.8574, allocations: 368.9 kB / 0.7663 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004933/0.8624, allocations: 2.276 MB / 0.7685 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8624, allocations: 0 / 0.7685 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8625, allocations: 0 / 0.7685 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.94e-05/0.8626, allocations: 4 kB / 0.7686 GB, free: 7.023 MB / 0.5886 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.005442/0.868, allocations: 1.723 MB / 0.7702 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.8681, allocations: 8.031 kB / 0.7702 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004674/0.8686, allocations: 156.4 kB / 0.7704 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004767/0.8734, allocations: 0.4937 MB / 0.7709 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/0.8776, allocations: 1.459 MB / 0.7723 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007125/0.8783, allocations: 154 kB / 0.7724 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/0.8787, allocations: 104 kB / 0.7725 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004445/0.8831, allocations: 1.303 MB / 0.7738 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/0.8832, allocations: 3.938 kB / 0.7738 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/0.8834, allocations: 44 kB / 0.7739 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/0.8835, allocations: 24 kB / 0.7739 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005237/0.8887, allocations: 1.159 MB / 0.775 GB, free: 192 kB / 0.5886 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.01468/0.9035, allocations: 6.937 MB / 0.7818 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006306/0.9098, allocations: 0.9245 MB / 0.7827 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001887/0.9118, allocations: 1.714 MB / 0.7844 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/0.9119, allocations: 47 kB / 0.7844 GB, free: 5.707 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.717e-06/0.9119, allocations: 0 / 0.7844 GB, free: 5.707 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.009208/0.9211, allocations: 1.417 MB / 0.7858 GB, free: 4.262 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.9212, allocations: 55.84 kB / 0.7859 GB, free: 4.195 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/0.9256, allocations: 1.565 MB / 0.7874 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.9258, allocations: 37.7 kB / 0.7874 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009519/0.9268, allocations: 0.6847 MB / 0.7881 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.9271, allocations: 165.6 kB / 0.7882 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.9272, allocations: 16 kB / 0.7883 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.9274, allocations: 337.9 kB / 0.7886 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.9294, allocations: 393.8 kB / 0.789 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/0.9318, allocations: 0.6708 MB / 0.7896 GB, free: 200 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.934, allocations: 445.9 kB / 0.79 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.9341, allocations: 0 / 0.79 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005723/0.9398, allocations: 1.24 MB / 0.7912 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.9399, allocations: 11.94 kB / 0.7913 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.9399, allocations: 4.75 kB / 0.7913 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.9414, allocations: 236.5 kB / 0.7915 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.9431, allocations: 195.7 kB / 0.7917 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.9446, allocations: 0.7318 MB / 0.7924 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/0.9478, allocations: 266.7 kB / 0.7926 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/0.9481, allocations: 39.98 kB / 0.7927 GB, free: 13.01 MB / 0.6198 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.001075/0.9492, allocations: 357.6 kB / 0.793 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/0.9497, allocations: 146.2 kB / 0.7932 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/0.9543, allocations: 1.176 MB / 0.7943 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-05/0.9544, allocations: 15.98 kB / 0.7943 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.9544, allocations: 0 / 0.7943 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.9545, allocations: 7.984 kB / 0.7943 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009873/0.9643, allocations: 2.534 MB / 0.7968 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/0.9644, allocations: 3.938 kB / 0.7968 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.9652, allocations: 99.89 kB / 0.7969 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.9667, allocations: 224.6 kB / 0.7971 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.9669, allocations: 15.98 kB / 0.7971 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.9693, allocations: 0.7982 MB / 0.7979 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.9693, allocations: 0 / 0.7979 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006647/0.976, allocations: 1.309 MB / 0.7992 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.9772, allocations: 366.9 kB / 0.7995 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004472/0.9777, allocations: 15.98 kB / 0.7996 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/0.9798, allocations: 103.8 kB / 0.7997 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.98, allocations: 36.52 kB / 0.7997 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.9802, allocations: 23.97 kB / 0.7997 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003398/0.9836, allocations: 1.102 MB / 0.8008 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.82e-07/0.9836, allocations: 4 kB / 0.8008 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002192/0.9858, allocations: 431.3 kB / 0.8012 GB, free: 4.086 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (52): * Single equations (assignments): 41 * 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.008511/0.9944, allocations: 2.328 MB / 0.8035 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004108/0.9985, allocations: 0.8795 MB / 0.8043 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/0.9986, allocations: 4 kB / 0.8043 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/1.001, allocations: 463.5 kB / 0.8048 GB, free: 392 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005977/1.007, allocations: 0.7112 MB / 0.8055 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.018, allocations: 8.467 MB / 0.8137 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/1.019, allocations: 1.203 MB / 0.8149 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001996/1.021, allocations: 272.2 kB / 0.8152 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/1.023, allocations: 0.5539 MB / 0.8157 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/1.023, allocations: 3.938 kB / 0.8157 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/1.149, allocations: 43.14 MB / 0.8579 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004005/1.149, allocations: 259.3 kB / 0.8581 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.381/5.531, allocations: 0 / 0.8581 GB, free: 9.852 MB / 0.6823 GB