Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.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.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.668/1.668, allocations: 306.1 MB / 321.4 MB, free: 10.69 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.001245/0.001245, allocations: 176.5 kB / 393.1 MB, free: 4.055 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.381/1.381, allocations: 225.7 MB / 0.6743 GB, free: 12.52 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.0007663/0.0007663, allocations: 95.53 kB / 0.7935 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005054, allocations: 12.72 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.663, allocations: 121.3 MB / 1.041 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.188/0.8511, allocations: 177.8 MB / 1.215 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009462/0.8606, allocations: 6.594 MB / 1.221 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.8617, allocations: 19.88 kB / 1.221 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.8629, allocations: 345.4 kB / 1.221 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.8669, allocations: 1.265 MB / 1.223 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.8692, allocations: 0.6679 MB / 1.223 GB, free: 8.902 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003795/0.873, allocations: 2.742 MB / 1.226 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.8742, allocations: 0.5349 MB / 1.226 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004576/0.8788, allocations: 0.962 MB / 1.227 GB, free: 5.059 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.8803, allocations: 0.59 MB / 1.228 GB, free: 4.469 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.942e-05/0.8804, allocations: 28 kB / 1.228 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/0.8836, allocations: 1.527 MB / 1.229 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.8839, allocations: 239.3 kB / 1.23 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005405/0.8845, allocations: 395.8 kB / 1.23 GB, free: 2.281 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.8869, allocations: 1.503 MB / 1.232 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.8869, allocations: 0 / 1.232 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8869, allocations: 0 / 1.232 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.8869, allocations: 4 kB / 1.232 GB, free: 0.7695 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001561/0.8885, allocations: 0.9388 MB / 1.232 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.8886, allocations: 11.97 kB / 1.232 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.8898, allocations: 206.9 kB / 1.233 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009051/0.8907, allocations: 0.5753 MB / 1.233 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.8907, allocations: 37.31 kB / 1.233 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.18e-05/0.8908, allocations: 56 kB / 1.233 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009799/0.8918, allocations: 0.6206 MB / 1.234 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.8918, allocations: 7.922 kB / 1.234 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.8919, allocations: 20 kB / 1.234 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.8919, allocations: 21.31 kB / 1.234 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.8927, allocations: 492.9 kB / 1.234 GB, free: 13.69 MB / 0.8073 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.002837/0.8956, allocations: 2.396 MB / 1.237 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.8961, allocations: 354.8 kB / 1.237 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.8964, allocations: 213.3 kB / 1.237 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/0.897, allocations: 315.2 kB / 1.238 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.8971, allocations: 42.42 kB / 1.238 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=36): time 2.465e-06/0.8971, allocations: 0 / 1.238 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36): time 0.001131/0.8982, allocations: 0.5376 MB / 1.238 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.8983, allocations: 63.34 kB / 1.238 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.8989, allocations: 498.9 kB / 1.239 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.8989, allocations: 33.7 kB / 1.239 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.8992, allocations: 316.5 kB / 1.239 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.8993, allocations: 126.1 kB / 1.239 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.8994, allocations: 11.94 kB / 1.239 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.8995, allocations: 374.7 kB / 1.24 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.8998, allocations: 136.8 kB / 1.24 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.9001, allocations: 260.6 kB / 1.24 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.9007, allocations: 411.4 kB / 1.24 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9007, allocations: 0 / 1.24 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007119/0.9014, allocations: 484.5 kB / 1.241 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.9015, allocations: 156.9 kB / 1.241 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.9015, allocations: 0 / 1.241 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.9016, allocations: 8 kB / 1.241 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.9022, allocations: 103.9 kB / 1.241 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005013/0.9027, allocations: 0.5899 MB / 1.242 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006591/0.9034, allocations: 73.45 kB / 1.242 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.9034, allocations: 20 kB / 1.242 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.9034, allocations: 4 kB / 1.242 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000653/0.9041, allocations: 411.9 kB / 1.242 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.9041, allocations: 0 / 1.242 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.9041, allocations: 11.88 kB / 1.242 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.9045, allocations: 87.91 kB / 1.242 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.9046, allocations: 7.984 kB / 1.242 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.9051, allocations: 59.66 kB / 1.242 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.9051, allocations: 20.08 kB / 1.242 GB, free: 5.199 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003936/0.9055, allocations: 308.9 kB / 1.243 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.269e-05/0.9056, allocations: 59.28 kB / 1.243 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007181/0.9063, allocations: 444.7 kB / 1.243 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.9063, allocations: 4 kB / 1.243 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9064, allocations: 0 / 1.243 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006135/0.907, allocations: 0.652 MB / 1.244 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.9086, allocations: 1.204 MB / 1.245 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.9087, allocations: 4 kB / 1.245 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/0.9091, allocations: 87.89 kB / 1.245 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.9092, allocations: 0 / 1.245 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.9092, allocations: 16 kB / 1.245 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003118/0.9095, allocations: 0.5978 MB / 1.246 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9095, allocations: 3.984 kB / 1.246 GB, free: 1.629 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008801/0.9104, allocations: 0.7353 MB / 1.246 GB, free: 0.8555 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.9107, allocations: 176.3 kB / 1.246 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.9107, allocations: 15.94 kB / 1.246 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.9112, allocations: 47.89 kB / 1.246 GB, free: 0.6016 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.9112, allocations: 23.92 kB / 1.247 GB, free: 0.5781 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.9113, allocations: 11.98 kB / 1.247 GB, free: 0.5664 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004081/0.9117, allocations: 354.8 kB / 1.247 GB, free: 228 kB / 0.8073 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9117, allocations: 0 / 1.247 GB, free: 228 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00103/0.9127, allocations: 355.2 kB / 1.247 GB, free: 15.87 MB / 0.823 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005862/0.9133, allocations: 204.3 kB / 1.247 GB, free: 15.68 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.9145, allocations: 0.5736 MB / 1.248 GB, free: 15.11 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.9146, allocations: 1.125 kB / 1.248 GB, free: 15.11 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.9149, allocations: 189.3 kB / 1.248 GB, free: 14.92 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.9167, allocations: 362.7 kB / 1.248 GB, free: 14.58 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.9192, allocations: 1.66 MB / 1.25 GB, free: 12.87 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.9199, allocations: 0.9417 MB / 1.251 GB, free: 11.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0008185/0.9207, allocations: 204.9 kB / 1.251 GB, free: 11.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.9208, allocations: 43.44 kB / 1.251 GB, free: 11.66 MB / 0.823 GB Notification: Performance of SimCode: time 9.52e-07/0.9208, allocations: 0 / 1.251 GB, free: 11.66 MB / 0.823 GB Notification: Performance of Templates: time 0.02235/0.9432, allocations: 11.44 MB / 1.262 GB, free: 420 kB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)