Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01055/0.01055, allocations: 221.3 kB / 15.17 MB, free: 5.93 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.00111/0.00111, allocations: 179.5 kB / 16.06 MB, free: 5.832 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 3.582/3.582, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.022/4.022, allocations: 472.3 MB / 0.9018 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004879, allocations: 16 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5504, allocations: 98.7 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1592/0.7097, allocations: 147.4 MB / 1.248 GB, free: 90.94 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004828/0.7145, allocations: 3.95 MB / 1.252 GB, free: 86.99 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.7148, allocations: 11.94 kB / 1.252 GB, free: 86.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.7153, allocations: 139.1 kB / 1.252 GB, free: 86.84 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001144/0.7164, allocations: 456 kB / 1.252 GB, free: 86.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.7181, allocations: 0.5502 MB / 1.253 GB, free: 85.86 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006302/0.7187, allocations: 0.7329 MB / 1.254 GB, free: 85.12 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.719, allocations: 165.6 kB / 1.254 GB, free: 84.96 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006859/0.7197, allocations: 342.5 kB / 1.254 GB, free: 84.62 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.7202, allocations: 275 kB / 1.254 GB, free: 84.36 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.7203, allocations: 12 kB / 1.254 GB, free: 84.34 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008739/0.7212, allocations: 395 kB / 1.255 GB, free: 83.96 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.7213, allocations: 79.77 kB / 1.255 GB, free: 83.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.7213, allocations: 69.58 kB / 1.255 GB, free: 83.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.7218, allocations: 351.2 kB / 1.255 GB, free: 83.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.572e-06/0.7218, allocations: 0 / 1.255 GB, free: 83.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.157e-06/0.7218, allocations: 7.562 kB / 1.255 GB, free: 83.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.429e-06/0.7219, allocations: 0 / 1.255 GB, free: 83.46 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007137/0.7226, allocations: 0.5331 MB / 1.256 GB, free: 82.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.7226, allocations: 12.03 kB / 1.256 GB, free: 82.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007495/0.7234, allocations: 79.55 kB / 1.256 GB, free: 82.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.7238, allocations: 274.5 kB / 1.256 GB, free: 82.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.7238, allocations: 19.94 kB / 1.256 GB, free: 82.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.7239, allocations: 16 kB / 1.256 GB, free: 82.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.7244, allocations: 271.3 kB / 1.256 GB, free: 82.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.7244, allocations: 0.7969 kB / 1.256 GB, free: 82.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.7244, allocations: 4 kB / 1.256 GB, free: 82.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.317e-06/0.7245, allocations: 8 kB / 1.256 GB, free: 82.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.725, allocations: 211.8 kB / 1.257 GB, free: 81.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.7265, allocations: 0.9431 MB / 1.258 GB, free: 80.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.7268, allocations: 118.1 kB / 1.258 GB, free: 80.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.727, allocations: 96.78 kB / 1.258 GB, free: 80.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007479/0.7278, allocations: 343.2 kB / 1.258 GB, free: 80.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.7279, allocations: 34.56 kB / 1.258 GB, free: 80.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.4e-06/0.7279, allocations: 3.938 kB / 1.258 GB, free: 80.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0007638/0.7286, allocations: 281.5 kB / 1.258 GB, free: 80 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.7287, allocations: 51.41 kB / 1.258 GB, free: 79.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.729, allocations: 279 kB / 1.259 GB, free: 79.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.729, allocations: 29.7 kB / 1.259 GB, free: 79.63 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.808e-05/0.7291, allocations: 151.8 kB / 1.259 GB, free: 79.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.7291, allocations: 47.3 kB / 1.259 GB, free: 79.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.7292, allocations: 4 kB / 1.259 GB, free: 79.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.7292, allocations: 334.8 kB / 1.259 GB, free: 79.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.7295, allocations: 75.95 kB / 1.259 GB, free: 79.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.7297, allocations: 151.3 kB / 1.259 GB, free: 78.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.7299, allocations: 83.95 kB / 1.26 GB, free: 78.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.068e-06/0.73, allocations: 0 / 1.26 GB, free: 78.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006219/0.7306, allocations: 253.3 kB / 1.26 GB, free: 78.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.7306, allocations: 8.062 kB / 1.26 GB, free: 78.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.31e-06/0.7306, allocations: 4 kB / 1.26 GB, free: 78.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7307, allocations: 0 / 1.26 GB, free: 78.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.7309, allocations: 43.92 kB / 1.26 GB, free: 78.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.811e-06/0.7309, allocations: 7.984 kB / 1.26 GB, free: 78.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.7312, allocations: 35.39 kB / 1.26 GB, free: 78.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.7312, allocations: 12 kB / 1.26 GB, free: 78.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.7314, allocations: 152.1 kB / 1.26 GB, free: 78.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.7315, allocations: 28.8 kB / 1.26 GB, free: 78.22 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/0.7321, allocations: 221.9 kB / 1.26 GB, free: 77.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.773e-06/0.7321, allocations: 0 / 1.26 GB, free: 77.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.824e-06/0.7321, allocations: 4 kB / 1.26 GB, free: 77.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.964e-06/0.7321, allocations: 0 / 1.26 GB, free: 77.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007579/0.7329, allocations: 0.5687 MB / 1.261 GB, free: 77.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-06/0.7329, allocations: 0 / 1.261 GB, free: 77.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.733, allocations: 27.92 kB / 1.261 GB, free: 77.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.573e-06/0.7331, allocations: 7.25 kB / 1.261 GB, free: 77.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.7331, allocations: 7.984 kB / 1.261 GB, free: 77.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.134e-06/0.7331, allocations: 3.953 kB / 1.261 GB, free: 77.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.291e-06/0.7331, allocations: 4 kB / 1.261 GB, free: 77.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.7337, allocations: 358.7 kB / 1.261 GB, free: 76.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.7339, allocations: 127.4 kB / 1.261 GB, free: 76.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.7339, allocations: 3.984 kB / 1.261 GB, free: 76.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.7341, allocations: 12 kB / 1.261 GB, free: 76.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.7342, allocations: 19.94 kB / 1.261 GB, free: 76.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.7342, allocations: 8 kB / 1.261 GB, free: 76.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002512/0.7345, allocations: 229.9 kB / 1.262 GB, free: 76.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.74e-07/0.7345, allocations: 0 / 1.262 GB, free: 76.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000513/0.735, allocations: 87.98 kB / 1.262 GB, free: 76.43 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004452/0.7355, allocations: 199.1 kB / 1.262 GB, free: 76.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.7359, allocations: 155.8 kB / 1.262 GB, free: 76.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.736, allocations: 0 / 1.262 GB, free: 76.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.7361, allocations: 68.47 kB / 1.262 GB, free: 76.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/0.737, allocations: 131.3 kB / 1.262 GB, free: 75.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008108/0.7379, allocations: 0.5657 MB / 1.263 GB, free: 75.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.7381, allocations: 0.7599 MB / 1.264 GB, free: 74.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002654/0.7384, allocations: 61.19 kB / 1.264 GB, free: 74.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.7384, allocations: 27.42 kB / 1.264 GB, free: 74.43 MB / 0.7292 GB Notification: Performance of SimCode: time 1.336e-06/0.7384, allocations: 0 / 1.264 GB, free: 74.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.01138/0.7498, allocations: 5.257 MB / 1.269 GB, free: 69.36 MB / 0.7292 GB