Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.752/1.752, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.001315/0.001315, allocations: 187.4 kB / 393.1 MB, free: 4.039 MB / 314.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.451/1.451, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 90.97 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 8 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7204, allocations: 121.3 MB / 1.041 GB, free: 58.33 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06308/0.7835, allocations: 70.23 MB / 1.109 GB, free: 6.172 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03091/0.8144, allocations: 25.46 MB / 1.134 GB, free: 288 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00368/0.8181, allocations: 58.91 kB / 1.134 GB, free: 264 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002997/0.8212, allocations: 0.6539 MB / 1.135 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.8313, allocations: 2.596 MB / 1.138 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005096/0.8364, allocations: 1.513 MB / 1.139 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008014/0.8444, allocations: 5.009 MB / 1.144 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.8472, allocations: 1.148 MB / 1.145 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004407/0.8517, allocations: 1.503 MB / 1.146 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/0.8545, allocations: 1.094 MB / 1.148 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000516/0.855, allocations: 65.53 kB / 1.148 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005282/0.8603, allocations: 1.165 MB / 1.149 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.8614, allocations: 250.7 kB / 1.149 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.003615/0.865, allocations: 0.8033 MB / 1.15 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.007709/0.8727, allocations: 2.965 MB / 1.153 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.8728, allocations: 0 / 1.153 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8728, allocations: 0 / 1.153 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001383/0.8729, allocations: 0 / 1.153 GB, free: 7.855 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.005516/0.8785, allocations: 1.721 MB / 1.154 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.8785, allocations: 10.09 kB / 1.154 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.8813, allocations: 0.4986 MB / 1.155 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/0.8854, allocations: 1.506 MB / 1.156 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004825/0.8859, allocations: 150.8 kB / 1.156 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004196/0.8863, allocations: 106 kB / 1.157 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/0.8902, allocations: 1.312 MB / 1.158 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.8903, allocations: 2.75 kB / 1.158 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.8904, allocations: 41.62 kB / 1.158 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.8905, allocations: 31.19 kB / 1.158 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/0.8939, allocations: 1.155 MB / 1.159 GB, free: 4.441 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.01286/0.9068, allocations: 7.187 MB / 1.166 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/0.9104, allocations: 0.8879 MB / 1.167 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.9111, allocations: 303 kB / 1.167 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.9125, allocations: 1.728 MB / 1.169 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.9126, allocations: 35.56 kB / 1.169 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 3.156e-06/0.9126, allocations: 0 / 1.169 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.005467/0.9181, allocations: 1.449 MB / 1.17 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.9182, allocations: 55.84 kB / 1.17 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/0.9221, allocations: 1.522 MB / 1.172 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.9222, allocations: 37.7 kB / 1.172 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007711/0.923, allocations: 0.668 MB / 1.173 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.9232, allocations: 172.3 kB / 1.173 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.9233, allocations: 16 kB / 1.173 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9235, allocations: 330.5 kB / 1.173 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.9245, allocations: 389.5 kB / 1.173 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.9259, allocations: 0.6539 MB / 1.174 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.9279, allocations: 0.894 MB / 1.175 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.9279, allocations: 4 kB / 1.175 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003484/0.9314, allocations: 1.216 MB / 1.176 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.9315, allocations: 8 kB / 1.176 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.9315, allocations: 12.78 kB / 1.176 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.9325, allocations: 224.3 kB / 1.176 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008209/0.9333, allocations: 194.1 kB / 1.177 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009436/0.9343, allocations: 0.738 MB / 1.177 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.9367, allocations: 261.7 kB / 1.178 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.9368, allocations: 45.02 kB / 1.178 GB, free: 4.066 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 (78): * Single equations (assignments): 77 * 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.0009365/0.9378, allocations: 357.5 kB / 1.178 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/0.9383, allocations: 151 kB / 1.178 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/0.9412, allocations: 1.161 MB / 1.179 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/0.9413, allocations: 18.11 kB / 1.179 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.9413, allocations: 0.8438 kB / 1.179 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.9413, allocations: 2.578 kB / 1.179 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006817/0.9481, allocations: 2.582 MB / 1.182 GB, free: 472 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.9482, allocations: 0 / 1.182 GB, free: 472 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.9486, allocations: 94.55 kB / 1.182 GB, free: 392 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008836/0.9495, allocations: 228.8 kB / 1.182 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.9496, allocations: 14.44 kB / 1.182 GB, free: 208 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.951, allocations: 0.812 MB / 1.183 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.951, allocations: 0 / 1.183 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/0.955, allocations: 1.281 MB / 1.184 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.9563, allocations: 382.4 kB / 1.184 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005462/0.9569, allocations: 16.55 kB / 1.185 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.9583, allocations: 101.2 kB / 1.185 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.9585, allocations: 43.56 kB / 1.185 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.9586, allocations: 24.45 kB / 1.185 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003617/0.9622, allocations: 1.075 MB / 1.186 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9622, allocations: 0 / 1.186 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002963/0.9652, allocations: 444.2 kB / 1.186 GB, free: 12.45 MB / 0.7605 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 (52): * Single equations (assignments): 41 * 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.001878/0.9671, allocations: 483.6 kB / 1.187 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003065/0.9702, allocations: 0.8678 MB / 1.187 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.9702, allocations: 4.25 kB / 1.187 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.9719, allocations: 478 kB / 1.188 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/0.9772, allocations: 0.7137 MB / 1.189 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/0.9828, allocations: 2.79 MB / 1.191 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009904/0.9838, allocations: 1.168 MB / 1.192 GB, free: 6.371 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001782/0.9856, allocations: 263.9 kB / 1.193 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.9861, allocations: 119.4 kB / 1.193 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of SimCode: time 1.724e-06/0.9861, allocations: 0 / 1.193 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of Templates: time 0.05756/1.044, allocations: 30.7 MB / 1.223 GB, free: 7.688 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)