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: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01427/0.01427, allocations: 107.7 kB / 15.06 MB, free: 5.562 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.001788/0.001788, allocations: 181.9 kB / 15.95 MB, free: 5.523 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.036/2.036, allocations: 194.6 MB / 211.3 MB, free: 10.98 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.188/2.188, allocations: 236.2 MB / 492.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007313/0.0007317, allocations: 12 kB / 0.5869 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.5414, allocations: 98.72 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08649/0.6279, allocations: 58.52 MB / 0.7405 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02906/0.657, allocations: 14.9 MB / 0.755 GB, free: 4.766 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.6599, allocations: 59.56 kB / 0.7551 GB, free: 4.707 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.6631, allocations: 0.6918 MB / 0.7558 GB, free: 4.012 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.6733, allocations: 2.263 MB / 0.758 GB, free: 1.742 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005895/0.6792, allocations: 1.392 MB / 0.7593 GB, free: 356 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005587/0.6848, allocations: 2.328 MB / 0.7616 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.6872, allocations: 1.034 MB / 0.7626 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/0.6911, allocations: 1.277 MB / 0.7639 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.6931, allocations: 0.7934 MB / 0.7647 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.6934, allocations: 60 kB / 0.7647 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.6968, allocations: 0.9712 MB / 0.7657 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004608/0.6973, allocations: 238.9 kB / 0.7659 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0006879/0.698, allocations: 372.9 kB / 0.7662 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004112/0.7021, allocations: 2.272 MB / 0.7685 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.351e-06/0.7022, allocations: 0 / 0.7685 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.656e-06/0.7022, allocations: 0 / 0.7685 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.956e-05/0.7022, allocations: 0 / 0.7685 GB, free: 6.965 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.004111/0.7064, allocations: 1.723 MB / 0.7701 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.7064, allocations: 12.03 kB / 0.7702 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.7093, allocations: 0.4937 MB / 0.7706 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/0.7129, allocations: 1.459 MB / 0.7721 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004612/0.7134, allocations: 153.9 kB / 0.7722 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.7136, allocations: 104 kB / 0.7723 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003679/0.7173, allocations: 1.299 MB / 0.7736 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.7174, allocations: 4 kB / 0.7736 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.7175, allocations: 40 kB / 0.7736 GB, free: 1.473 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.7176, allocations: 28 kB / 0.7736 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/0.7215, allocations: 1.159 MB / 0.7748 GB, free: 296 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.01263/0.7342, allocations: 6.932 MB / 0.7815 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/0.7386, allocations: 0.9357 MB / 0.7825 GB, free: 7.961 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001821/0.7405, allocations: 1.722 MB / 0.7841 GB, free: 5.852 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.7405, allocations: 35 kB / 0.7842 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 4.059e-06/0.7406, allocations: 4 kB / 0.7842 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.006257/0.7468, allocations: 1.421 MB / 0.7856 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.7469, allocations: 55.84 kB / 0.7856 GB, free: 4.289 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/0.7505, allocations: 1.561 MB / 0.7871 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.7507, allocations: 37.7 kB / 0.7872 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00086/0.7516, allocations: 0.6809 MB / 0.7878 GB, free: 1.988 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.7518, allocations: 165.6 kB / 0.788 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.7519, allocations: 16 kB / 0.788 GB, free: 1.809 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.7521, allocations: 337.9 kB / 0.7883 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.7536, allocations: 401.7 kB / 0.7887 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.7554, allocations: 0.6669 MB / 0.7894 GB, free: 300 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.7571, allocations: 442 kB / 0.7898 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.7571, allocations: 0 / 0.7898 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004343/0.7615, allocations: 1.24 MB / 0.791 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.7615, allocations: 8 kB / 0.791 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.7616, allocations: 12.06 kB / 0.791 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.7628, allocations: 224.6 kB / 0.7912 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.7639, allocations: 203.7 kB / 0.7914 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.7652, allocations: 0.7279 MB / 0.7921 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.7675, allocations: 270.7 kB / 0.7924 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.7677, allocations: 35.98 kB / 0.7924 GB, free: 13.11 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.000906/0.7686, allocations: 365.6 kB / 0.7928 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.769, allocations: 142.2 kB / 0.7929 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/0.7726, allocations: 1.18 MB / 0.7941 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/0.7727, allocations: 12.09 kB / 0.7941 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.272e-06/0.7727, allocations: 3.938 kB / 0.7941 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.7727, allocations: 7.984 kB / 0.7941 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007484/0.7802, allocations: 2.534 MB / 0.7966 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.7803, allocations: 4 kB / 0.7966 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.7808, allocations: 87.88 kB / 0.7967 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.782, allocations: 228.5 kB / 0.7969 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-05/0.7821, allocations: 19.98 kB / 0.7969 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.7839, allocations: 0.7982 MB / 0.7977 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.7839, allocations: 0 / 0.7977 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004673/0.7886, allocations: 1.301 MB / 0.7989 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.7896, allocations: 370.9 kB / 0.7993 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.7899, allocations: 12 kB / 0.7993 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.7912, allocations: 103.8 kB / 0.7994 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.7913, allocations: 40.44 kB / 0.7994 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.68e-05/0.7914, allocations: 23.98 kB / 0.7995 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002734/0.7942, allocations: 1.098 MB / 0.8005 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.77e-07/0.7942, allocations: 4 kB / 0.8005 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001893/0.7961, allocations: 431.4 kB / 0.801 GB, free: 4.195 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.001099/0.7973, allocations: 469.3 kB / 0.8014 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003935/0.8012, allocations: 0.8795 MB / 0.8023 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.626e-06/0.8013, allocations: 0 / 0.8023 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003966/0.8052, allocations: 471.4 kB / 0.8027 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/0.8168, allocations: 0.7181 MB / 0.8034 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.8303, allocations: 2.675 MB / 0.806 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/0.8327, allocations: 1.207 MB / 0.8072 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003772/0.8366, allocations: 268.2 kB / 0.8075 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/0.8375, allocations: 119.4 kB / 0.8076 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of SimCode: time 2.005e-06/0.8375, allocations: 0 / 0.8076 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.1023/0.9399, allocations: 29.81 MB / 0.8367 GB, free: 15.96 MB / 0.6667 GB