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.MassFraction.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.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01053/0.01054, allocations: 221.2 kB / 15.17 MB, free: 5.926 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: 180.2 kB / 16.06 MB, free: 5.828 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.479/3.479, allocations: 389.1 MB / 405.9 MB, free: 13.28 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.069/4.069, allocations: 472.3 MB / 0.9018 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.0005191, allocations: 16 kB / 1.008 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5639, allocations: 98.72 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1789/0.7428, allocations: 167.9 MB / 1.268 GB, free: 70.47 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007329/0.7502, allocations: 4.669 MB / 1.273 GB, free: 65.81 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000862/0.7511, allocations: 23.81 kB / 1.273 GB, free: 65.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.7522, allocations: 381.6 kB / 1.273 GB, free: 65.41 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.003758/0.756, allocations: 1.345 MB / 1.274 GB, free: 64.06 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.7591, allocations: 0.8966 MB / 1.275 GB, free: 63.18 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002455/0.7616, allocations: 2.426 MB / 1.277 GB, free: 60.75 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007016/0.7623, allocations: 493.3 kB / 1.278 GB, free: 60.27 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.7637, allocations: 0.7623 MB / 1.279 GB, free: 59.51 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007461/0.7645, allocations: 0.5912 MB / 1.279 GB, free: 58.92 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.411e-05/0.7646, allocations: 32 kB / 1.279 GB, free: 58.89 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.7662, allocations: 0.6273 MB / 1.28 GB, free: 58.26 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.7665, allocations: 259.2 kB / 1.28 GB, free: 58 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.7667, allocations: 173.3 kB / 1.28 GB, free: 57.83 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.7678, allocations: 0.9637 MB / 1.281 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.156e-06/0.7678, allocations: 0 / 1.281 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7678, allocations: 0 / 1.281 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.7678, allocations: 0 / 1.281 GB, free: 56.86 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001484/0.7693, allocations: 1.001 MB / 1.282 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.7694, allocations: 8.031 kB / 1.282 GB, free: 55.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.7709, allocations: 210.8 kB / 1.282 GB, free: 55.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.7719, allocations: 0.5641 MB / 1.283 GB, free: 54.99 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/0.7719, allocations: 41.31 kB / 1.283 GB, free: 54.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.7721, allocations: 56 kB / 1.283 GB, free: 54.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.7733, allocations: 0.6433 MB / 1.284 GB, free: 54.24 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.7733, allocations: 4 kB / 1.284 GB, free: 54.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.7734, allocations: 20 kB / 1.284 GB, free: 54.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.7734, allocations: 21.25 kB / 1.284 GB, free: 54.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.7745, allocations: 0.5243 MB / 1.284 GB, free: 53.67 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.002971/0.7775, allocations: 2.422 MB / 1.287 GB, free: 51.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008666/0.7784, allocations: 426 kB / 1.287 GB, free: 50.62 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.7788, allocations: 236.8 kB / 1.287 GB, free: 50.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.7794, allocations: 324.2 kB / 1.288 GB, free: 50.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.7794, allocations: 43.16 kB / 1.288 GB, free: 49.97 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 2.962e-06/0.7795, allocations: 0 / 1.288 GB, free: 49.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.001537/0.781, allocations: 0.6013 MB / 1.288 GB, free: 49.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.781, allocations: 55.41 kB / 1.288 GB, free: 49.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/0.7817, allocations: 0.4989 MB / 1.289 GB, free: 48.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.7817, allocations: 33.7 kB / 1.289 GB, free: 48.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.7819, allocations: 308.6 kB / 1.289 GB, free: 48.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.7821, allocations: 141.9 kB / 1.289 GB, free: 48.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.7821, allocations: 12 kB / 1.289 GB, free: 48.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.7822, allocations: 370.8 kB / 1.29 GB, free: 47.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.7826, allocations: 173 kB / 1.29 GB, free: 47.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.7831, allocations: 301 kB / 1.29 GB, free: 47.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.7836, allocations: 276.1 kB / 1.29 GB, free: 47.15 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.796e-06/0.7837, allocations: 4 kB / 1.29 GB, free: 47.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001196/0.7849, allocations: 0.608 MB / 1.291 GB, free: 46.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.682e-05/0.785, allocations: 218.1 kB / 1.291 GB, free: 46.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.785, allocations: 7.609 kB / 1.291 GB, free: 46.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.785, allocations: 4 kB / 1.291 GB, free: 46.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.7858, allocations: 114.4 kB / 1.291 GB, free: 46.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002961/0.7861, allocations: 0.5977 MB / 1.292 GB, free: 45.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007133/0.7868, allocations: 71.59 kB / 1.292 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.7869, allocations: 27.98 kB / 1.292 GB, free: 45.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.827e-06/0.7869, allocations: 7.938 kB / 1.292 GB, free: 45.41 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001097/0.788, allocations: 0.5475 MB / 1.292 GB, free: 44.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.788, allocations: 7.938 kB / 1.292 GB, free: 44.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.7881, allocations: 4 kB / 1.292 GB, free: 44.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.7886, allocations: 107.8 kB / 1.293 GB, free: 44.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.133e-06/0.7886, allocations: 4 kB / 1.293 GB, free: 44.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.7892, allocations: 71.83 kB / 1.293 GB, free: 44.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.7893, allocations: 20 kB / 1.293 GB, free: 44.65 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003738/0.7897, allocations: 320.9 kB / 1.293 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.7898, allocations: 55.34 kB / 1.293 GB, free: 44.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009688/0.7908, allocations: 481.1 kB / 1.293 GB, free: 43.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.289e-06/0.7908, allocations: 7.953 kB / 1.293 GB, free: 43.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.105e-06/0.7908, allocations: 0 / 1.293 GB, free: 43.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007922/0.7916, allocations: 0.692 MB / 1.294 GB, free: 43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.7942, allocations: 1.271 MB / 1.295 GB, free: 41.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.653e-06/0.7942, allocations: 11.31 kB / 1.295 GB, free: 41.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.7949, allocations: 102.3 kB / 1.296 GB, free: 41.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.505e-06/0.7949, allocations: 4 kB / 1.296 GB, free: 41.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.795, allocations: 8 kB / 1.296 GB, free: 41.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002453/0.7952, allocations: 0.5899 MB / 1.296 GB, free: 40.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.287e-06/0.7953, allocations: 4.031 kB / 1.296 GB, free: 40.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.7966, allocations: 0.7866 MB / 1.297 GB, free: 40.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.797, allocations: 188.3 kB / 1.297 GB, free: 39.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.7971, allocations: 8 kB / 1.297 GB, free: 39.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/0.7977, allocations: 51.86 kB / 1.297 GB, free: 39.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.7978, allocations: 27.92 kB / 1.297 GB, free: 39.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.7979, allocations: 23.92 kB / 1.297 GB, free: 39.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004501/0.7983, allocations: 350.8 kB / 1.297 GB, free: 39.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.58e-07/0.7983, allocations: 0 / 1.297 GB, free: 39.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001152/0.7995, allocations: 371.2 kB / 1.298 GB, free: 39.09 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005202/0.8, allocations: 225.4 kB / 1.298 GB, free: 38.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.8019, allocations: 0.9037 MB / 1.299 GB, free: 37.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.462e-06/0.802, allocations: 1.125 kB / 1.299 GB, free: 37.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.8025, allocations: 205.8 kB / 1.299 GB, free: 37.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.8046, allocations: 368.2 kB / 1.299 GB, free: 37.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.8073, allocations: 1.713 MB / 1.301 GB, free: 35.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.8078, allocations: 0.961 MB / 1.302 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009668/0.8088, allocations: 198.9 kB / 1.302 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.809, allocations: 51.42 kB / 1.302 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of SimCode: time 1.491e-06/0.809, allocations: 0 / 1.302 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.0267/0.8357, allocations: 12.37 MB / 1.314 GB, free: 22.59 MB / 0.7292 GB