Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.655/1.655, allocations: 255.9 MB / 271.2 MB, free: 8.871 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 185.9 kB / 330.8 MB, free: 464 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 225.7 MB / 0.6016 GB, free: 1.535 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000811/0.0008109, allocations: 115.2 kB / 0.709 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003692, allocations: 9.062 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2463, allocations: 109.2 MB / 0.9328 GB, free: 6.238 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.5399/0.7862, allocations: 70.19 MB / 1.001 GB, free: 28.92 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02882/0.8151, allocations: 25.33 MB / 1.026 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/0.8181, allocations: 59.94 kB / 1.026 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.8207, allocations: 0.6519 MB / 1.027 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009763/0.8305, allocations: 2.591 MB / 1.029 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005647/0.8362, allocations: 1.497 MB / 1.031 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009957/0.8461, allocations: 4.991 MB / 1.036 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003086/0.8493, allocations: 1.138 MB / 1.037 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00478/0.8541, allocations: 1.483 MB / 1.038 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003091/0.8572, allocations: 1.109 MB / 1.039 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003548/0.8576, allocations: 58.53 kB / 1.039 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004681/0.8623, allocations: 1.141 MB / 1.04 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004968/0.8628, allocations: 263.8 kB / 1.041 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.8646, allocations: 0.8099 MB / 1.041 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006338/0.871, allocations: 2.961 MB / 1.044 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.871, allocations: 0 / 1.044 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.226e-06/0.871, allocations: 0 / 1.044 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.404e-05/0.8711, allocations: 3.938 kB / 1.044 GB, free: 16.59 MB / 0.6355 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.00392/0.875, allocations: 1.701 MB / 1.046 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.8751, allocations: 15.89 kB / 1.046 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.8774, allocations: 0.4955 MB / 1.047 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.88, allocations: 1.525 MB / 1.048 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000397/0.8804, allocations: 149.8 kB / 1.048 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.8806, allocations: 102.8 kB / 1.048 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.8835, allocations: 1.31 MB / 1.05 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.8836, allocations: 7.938 kB / 1.05 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.8837, allocations: 43.03 kB / 1.05 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.8837, allocations: 28.94 kB / 1.05 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/0.8867, allocations: 1.161 MB / 1.051 GB, free: 13.24 MB / 0.6355 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.008028/0.8947, allocations: 6.94 MB / 1.058 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.898, allocations: 0.9338 MB / 1.058 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006646/0.8987, allocations: 320.7 kB / 1.059 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009541/0.8997, allocations: 1.722 MB / 1.06 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.8997, allocations: 38.34 kB / 1.06 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 2.595e-06/0.8997, allocations: 0 / 1.06 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=52): time 0.005353/0.9051, allocations: 1.49 MB / 1.062 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.9052, allocations: 56.66 kB / 1.062 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/0.9079, allocations: 1.531 MB / 1.063 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.284e-05/0.908, allocations: 38.11 kB / 1.063 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004742/0.9085, allocations: 0.6598 MB / 1.064 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.9087, allocations: 179.7 kB / 1.064 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.9087, allocations: 15.5 kB / 1.064 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.817e-05/0.9088, allocations: 332.2 kB / 1.065 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.9098, allocations: 399 kB / 1.065 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.911, allocations: 0.6716 MB / 1.066 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.9128, allocations: 0.9165 MB / 1.067 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.9128, allocations: 2.25 kB / 1.067 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003096/0.9159, allocations: 1.26 MB / 1.068 GB, free: 280 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.9159, allocations: 7.656 kB / 1.068 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.9159, allocations: 7.469 kB / 1.068 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009332/0.9169, allocations: 232 kB / 1.068 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008763/0.9178, allocations: 203.9 kB / 1.068 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009011/0.9187, allocations: 0.7256 MB / 1.069 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/0.9207, allocations: 259.1 kB / 1.069 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.9208, allocations: 50.12 kB / 1.069 GB, free: 15.32 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 (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.0009591/0.9218, allocations: 356.5 kB / 1.07 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/0.9222, allocations: 148.7 kB / 1.07 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/0.9256, allocations: 1.208 MB / 1.071 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-05/0.9257, allocations: 14.48 kB / 1.071 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.9257, allocations: 1.562 kB / 1.071 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.9257, allocations: 3.984 kB / 1.071 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006505/0.9322, allocations: 2.652 MB / 1.074 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.9322, allocations: 5.312 kB / 1.074 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.9327, allocations: 104.9 kB / 1.074 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008244/0.9335, allocations: 218.6 kB / 1.074 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.9336, allocations: 18.86 kB / 1.074 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.9349, allocations: 0.7929 MB / 1.075 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.9349, allocations: 1.375 kB / 1.075 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.9386, allocations: 1.329 MB / 1.076 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008993/0.9395, allocations: 375 kB / 1.076 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.9397, allocations: 18.55 kB / 1.076 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009447/0.9406, allocations: 108.8 kB / 1.076 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.9407, allocations: 46.86 kB / 1.076 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.9408, allocations: 30.62 kB / 1.076 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001928/0.9428, allocations: 1.077 MB / 1.078 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9428, allocations: 0 / 1.078 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00152/0.9443, allocations: 438.2 kB / 1.078 GB, free: 9.816 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 (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.0009962/0.9453, allocations: 475.8 kB / 1.078 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.9476, allocations: 0.8967 MB / 1.079 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.9476, allocations: 4.125 kB / 1.079 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.9489, allocations: 499.1 kB / 1.08 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/0.9523, allocations: 0.7332 MB / 1.08 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.9565, allocations: 2.799 MB / 1.083 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.9573, allocations: 1.177 MB / 1.084 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00129/0.9586, allocations: 266.3 kB / 1.085 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.9589, allocations: 119.4 kB / 1.085 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/0.9589, allocations: 0 / 1.085 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of Templates: time 0.05325/1.012, allocations: 30.98 MB / 1.115 GB, free: 9.465 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)