Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.269/2.269, allocations: 254.9 MB / 269.9 MB, free: 9.582 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.001415/0.001414, allocations: 184.8 kB / 329.5 MB, free: 1.148 MB / 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 2.67/2.67, allocations: 225.6 MB / 0.6001 GB, free: 2.238 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.001419/0.001419, allocations: 97.69 kB / 0.7074 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004806, allocations: 14.19 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2697, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09617/0.3659, allocations: 65.08 MB / 0.9943 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.04536/0.4113, allocations: 17.57 MB / 1.011 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/0.4145, allocations: 59.62 kB / 1.012 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003643/0.4181, allocations: 0.5238 MB / 1.012 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.4305, allocations: 2.087 MB / 1.014 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006733/0.4372, allocations: 1.111 MB / 1.015 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.7248/1.162, allocations: 4.399 MB / 1.019 GB, free: 25.96 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003432/1.166, allocations: 1.094 MB / 1.021 GB, free: 25.86 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005256/1.171, allocations: 1.329 MB / 1.022 GB, free: 25.86 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003724/1.175, allocations: 1.05 MB / 1.023 GB, free: 25.85 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006711/1.175, allocations: 58.88 kB / 1.023 GB, free: 25.85 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004643/1.18, allocations: 0.9058 MB / 1.024 GB, free: 25.85 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0009059/1.181, allocations: 250.2 kB / 1.024 GB, free: 25.85 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/1.182, allocations: 371.5 kB / 1.024 GB, free: 25.82 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00549/1.188, allocations: 2.286 MB / 1.027 GB, free: 25.76 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/1.188, allocations: 0 / 1.027 GB, free: 25.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.817e-06/1.188, allocations: 4.469 kB / 1.027 GB, free: 25.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.6e-05/1.188, allocations: 1.781 kB / 1.027 GB, free: 25.76 MB / 0.6511 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.006454/1.195, allocations: 1.732 MB / 1.028 GB, free: 24.78 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.195, allocations: 9.594 kB / 1.028 GB, free: 24.78 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004791/1.199, allocations: 0.5002 MB / 1.029 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005175/1.205, allocations: 1.475 MB / 1.03 GB, free: 24.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007375/1.205, allocations: 146.7 kB / 1.03 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004339/1.206, allocations: 101 kB / 1.03 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00507/1.211, allocations: 1.316 MB / 1.032 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/1.211, allocations: 2.844 kB / 1.032 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/1.211, allocations: 42.72 kB / 1.032 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/1.211, allocations: 25.19 kB / 1.032 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007294/1.219, allocations: 1.165 MB / 1.033 GB, free: 24.03 MB / 0.6511 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.01923/1.238, allocations: 6.928 MB / 1.04 GB, free: 20.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006228/1.244, allocations: 0.9342 MB / 1.041 GB, free: 20.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/1.246, allocations: 316 kB / 1.041 GB, free: 20.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/1.247, allocations: 1.722 MB / 1.043 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.247, allocations: 44.31 kB / 1.043 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 3.476e-06/1.247, allocations: 0 / 1.043 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.009594/1.257, allocations: 1.49 MB / 1.044 GB, free: 18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.257, allocations: 60.5 kB / 1.044 GB, free: 17.94 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004689/1.262, allocations: 1.526 MB / 1.046 GB, free: 17.76 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/1.262, allocations: 39.95 kB / 1.046 GB, free: 17.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009499/1.263, allocations: 0.6567 MB / 1.046 GB, free: 17.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/1.263, allocations: 188.4 kB / 1.047 GB, free: 17.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.263, allocations: 16.47 kB / 1.047 GB, free: 17.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.264, allocations: 331.4 kB / 1.047 GB, free: 17.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/1.266, allocations: 404.7 kB / 1.047 GB, free: 17.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/1.268, allocations: 0.6777 MB / 1.048 GB, free: 16.76 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/1.27, allocations: 449.6 kB / 1.048 GB, free: 16.74 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/1.271, allocations: 2.125 kB / 1.048 GB, free: 16.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006261/1.277, allocations: 1.248 MB / 1.05 GB, free: 16.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/1.277, allocations: 12.91 kB / 1.05 GB, free: 16.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/1.277, allocations: 10.38 kB / 1.05 GB, free: 16.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/1.279, allocations: 227.8 kB / 1.05 GB, free: 16.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/1.28, allocations: 202.2 kB / 1.05 GB, free: 16.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/1.282, allocations: 0.7234 MB / 1.051 GB, free: 16.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003657/1.286, allocations: 261 kB / 1.051 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003462/1.286, allocations: 46.52 kB / 1.051 GB, free: 15.96 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 (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.001267/1.287, allocations: 362.5 kB / 1.051 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000589/1.288, allocations: 145.8 kB / 1.051 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/1.293, allocations: 1.219 MB / 1.053 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.439e-05/1.293, allocations: 10.47 kB / 1.053 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.293, allocations: 0 / 1.053 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/1.293, allocations: 4.312 kB / 1.053 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/1.304, allocations: 2.657 MB / 1.055 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/1.304, allocations: 1.219 kB / 1.055 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/1.304, allocations: 99.64 kB / 1.055 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/1.306, allocations: 226.3 kB / 1.056 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.306, allocations: 27.3 kB / 1.056 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/1.308, allocations: 0.7968 MB / 1.056 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.308, allocations: 3.562 kB / 1.056 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006379/1.315, allocations: 1.323 MB / 1.058 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.316, allocations: 377.3 kB / 1.058 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003961/1.316, allocations: 14.41 kB / 1.058 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/1.319, allocations: 105.8 kB / 1.058 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.319, allocations: 47.83 kB / 1.058 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.319, allocations: 32.59 kB / 1.058 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003909/1.323, allocations: 1.069 MB / 1.059 GB, free: 14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.02e-07/1.323, allocations: 4 kB / 1.059 GB, free: 14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003259/1.326, allocations: 427.8 kB / 1.06 GB, free: 13.95 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 (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.001651/1.328, allocations: 463.2 kB / 1.06 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005562/1.334, allocations: 0.8968 MB / 1.061 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.334, allocations: 0 / 1.061 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003386/1.337, allocations: 0.4894 MB / 1.062 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008386/1.345, allocations: 0.7228 MB / 1.062 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009114/1.355, allocations: 2.722 MB / 1.065 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.356, allocations: 1.171 MB / 1.066 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002773/1.359, allocations: 274.2 kB / 1.066 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007016/1.359, allocations: 118.6 kB / 1.066 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/1.36, allocations: 0 / 1.066 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.0886/1.448, allocations: 29.53 MB / 1.095 GB, free: 10.91 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)