Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.756/1.756, allocations: 292.6 MB / 307.8 MB, free: 7.129 MB / 234.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.001444/0.001444, allocations: 193 kB / 376.5 MB, free: 4.434 MB / 298.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.497/1.497, allocations: 225.7 MB / 0.655 GB, free: 13.07 MB / 490.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.0008337/0.0008335, allocations: 95.78 kB / 0.7711 GB, free: 50.4 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 12 kB / 0.897 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.6673, allocations: 118.2 MB / 1.012 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05568/0.7231, allocations: 65.13 MB / 1.076 GB, free: 19.36 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02283/0.746, allocations: 17.6 MB / 1.093 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.7492, allocations: 62.75 kB / 1.093 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.7514, allocations: 0.5188 MB / 1.094 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008008/0.7594, allocations: 2.288 MB / 1.096 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.7631, allocations: 1.135 MB / 1.097 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007051/0.7701, allocations: 4.406 MB / 1.101 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.7723, allocations: 1.129 MB / 1.102 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003464/0.7758, allocations: 1.42 MB / 1.104 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.7779, allocations: 1.045 MB / 1.105 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.7782, allocations: 57.97 kB / 1.105 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003321/0.7815, allocations: 1.163 MB / 1.106 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.7818, allocations: 250.5 kB / 1.106 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.7829, allocations: 0.7742 MB / 1.107 GB, free: 192 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/0.786, allocations: 2.392 MB / 1.109 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.786, allocations: 4 kB / 1.109 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.174e-06/0.786, allocations: 0 / 1.109 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.701e-05/0.7861, allocations: 0 / 1.109 GB, free: 15.64 MB / 0.7292 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.003616/0.7897, allocations: 1.709 MB / 1.111 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/0.7898, allocations: 13.12 kB / 1.111 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.7919, allocations: 0.5043 MB / 1.112 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/0.7949, allocations: 1.514 MB / 1.113 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/0.7953, allocations: 144.2 kB / 1.113 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.7955, allocations: 112.2 kB / 1.113 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.7981, allocations: 1.303 MB / 1.115 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.7981, allocations: 3.938 kB / 1.115 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.7982, allocations: 48.34 kB / 1.115 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.7983, allocations: 28.56 kB / 1.115 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/0.8009, allocations: 1.166 MB / 1.116 GB, free: 12.23 MB / 0.7292 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.009339/0.8103, allocations: 6.911 MB / 1.123 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.8135, allocations: 0.9354 MB / 1.123 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.8142, allocations: 318.3 kB / 1.124 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.8156, allocations: 1.726 MB / 1.125 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.8157, allocations: 37.84 kB / 1.125 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 3.647e-06/0.8157, allocations: 0 / 1.125 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.00523/0.8209, allocations: 1.487 MB / 1.127 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.821, allocations: 62.53 kB / 1.127 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.8235, allocations: 1.52 MB / 1.128 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/0.8236, allocations: 36.92 kB / 1.129 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/0.8242, allocations: 0.6631 MB / 1.129 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.8244, allocations: 186.8 kB / 1.129 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.8244, allocations: 14.97 kB / 1.129 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.8246, allocations: 331.9 kB / 1.13 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009961/0.8256, allocations: 402.9 kB / 1.13 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.8268, allocations: 0.6709 MB / 1.131 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.8286, allocations: 0.9162 MB / 1.132 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.8286, allocations: 2.875 kB / 1.132 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002902/0.8315, allocations: 1.248 MB / 1.133 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.8315, allocations: 6.375 kB / 1.133 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.8315, allocations: 10.19 kB / 1.133 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008623/0.8324, allocations: 232.9 kB / 1.133 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/0.8332, allocations: 204.2 kB / 1.133 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000896/0.8341, allocations: 0.7256 MB / 1.134 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.8359, allocations: 267.6 kB / 1.134 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.836, allocations: 44.55 kB / 1.134 GB, free: 15.95 MB / 0.7448 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.0007262/0.8367, allocations: 354.3 kB / 1.135 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/0.8371, allocations: 149.1 kB / 1.135 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.841, allocations: 1.216 MB / 1.136 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/0.841, allocations: 19.3 kB / 1.136 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/0.841, allocations: 1.312 kB / 1.136 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.8411, allocations: 3.469 kB / 1.136 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008436/0.8495, allocations: 2.647 MB / 1.139 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.8496, allocations: 3.375 kB / 1.139 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006469/0.8502, allocations: 108 kB / 1.139 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.8515, allocations: 217.4 kB / 1.139 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/0.8516, allocations: 18.17 kB / 1.139 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.8536, allocations: 0.8002 MB / 1.14 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.8536, allocations: 7.281 kB / 1.14 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005763/0.8594, allocations: 1.314 MB / 1.141 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/0.861, allocations: 384.5 kB / 1.141 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003875/0.8614, allocations: 17.03 kB / 1.141 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.863, allocations: 106.6 kB / 1.141 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.8632, allocations: 41.09 kB / 1.141 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.8634, allocations: 27.91 kB / 1.142 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00366/0.867, allocations: 1.079 MB / 1.143 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8671, allocations: 0 / 1.143 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002974/0.8701, allocations: 437.9 kB / 1.143 GB, free: 11.8 MB / 0.7448 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.001599/0.8717, allocations: 485.4 kB / 1.143 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003949/0.8756, allocations: 0.8988 MB / 1.144 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.8757, allocations: 1.875 kB / 1.144 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/0.8779, allocations: 492 kB / 1.145 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006508/0.8845, allocations: 0.7345 MB / 1.146 GB, free: 11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0075/0.892, allocations: 2.732 MB / 1.148 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.8932, allocations: 1.175 MB / 1.149 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00234/0.8956, allocations: 274.4 kB / 1.15 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.8961, allocations: 117.1 kB / 1.15 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of SimCode: time 1.743e-06/0.8961, allocations: 0 / 1.15 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of Templates: time 0.09986/0.996, allocations: 30.75 MB / 1.18 GB, free: 14.4 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)