Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 297.4 MB / 312.6 MB, free: 2.895 MB / 234.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.001025/0.001025, allocations: 198 kB / 382.3 MB, free: 14.81 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.353/1.353, allocations: 225.7 MB / 0.6617 GB, free: 7.227 MB / 490.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.0008033/0.0008035, allocations: 92.31 kB / 0.7789 GB, free: 46.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003343, allocations: 8 kB / 0.9058 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6787/0.6791, allocations: 119.2 MB / 1.022 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1873/0.8664, allocations: 175.9 MB / 1.194 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.8784, allocations: 9.468 MB / 1.203 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.8795, allocations: 25 kB / 1.203 GB, free: 1.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.8808, allocations: 336.2 kB / 1.204 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004267/0.8851, allocations: 1.366 MB / 1.205 GB, free: 440 kB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.8886, allocations: 1.038 MB / 1.206 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004154/0.8927, allocations: 2.701 MB / 1.209 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009907/0.8938, allocations: 0.5367 MB / 1.209 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.8955, allocations: 0.7289 MB / 1.21 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.8969, allocations: 0.5924 MB / 1.21 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-05/0.897, allocations: 32 kB / 1.21 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004738/0.9018, allocations: 2.156 MB / 1.213 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.9022, allocations: 243.7 kB / 1.213 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005499/0.9028, allocations: 405.3 kB / 1.213 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.9064, allocations: 1.82 MB / 1.215 GB, free: 9.434 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.9065, allocations: 4.453 kB / 1.215 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9065, allocations: 0 / 1.215 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.9065, allocations: 0 / 1.215 GB, free: 9.43 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001818/0.9083, allocations: 1.015 MB / 1.216 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.9084, allocations: 9.297 kB / 1.216 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.9102, allocations: 278 kB / 1.216 GB, free: 8.23 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009709/0.9111, allocations: 0.5679 MB / 1.217 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.9112, allocations: 45.31 kB / 1.217 GB, free: 7.66 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.306e-05/0.9113, allocations: 60.75 kB / 1.217 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.9125, allocations: 0.6346 MB / 1.217 GB, free: 7.066 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.9125, allocations: 5.344 kB / 1.217 GB, free: 7.062 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/0.9126, allocations: 23.94 kB / 1.218 GB, free: 7.039 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.9126, allocations: 21.31 kB / 1.218 GB, free: 7.016 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000952/0.9136, allocations: 0.5276 MB / 1.218 GB, free: 6.574 MB / 0.7917 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.003128/0.9167, allocations: 2.447 MB / 1.22 GB, free: 4.273 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.9174, allocations: 387.1 kB / 1.221 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.9178, allocations: 241.1 kB / 1.221 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005931/0.9184, allocations: 321.6 kB / 1.221 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.9185, allocations: 47.34 kB / 1.221 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=39): time 2.114e-06/0.9185, allocations: 0 / 1.221 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of matching and sorting (n=39): time 0.001428/0.9199, allocations: 0.6255 MB / 1.222 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.92, allocations: 59.34 kB / 1.222 GB, free: 2.691 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.9205, allocations: 499.8 kB / 1.223 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.9206, allocations: 33.7 kB / 1.223 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.9208, allocations: 320.6 kB / 1.223 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.921, allocations: 138 kB / 1.223 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.921, allocations: 12 kB / 1.223 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.9212, allocations: 364.7 kB / 1.223 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.9216, allocations: 171.5 kB / 1.224 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.922, allocations: 290.4 kB / 1.224 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007171/0.9227, allocations: 464.6 kB / 1.224 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9227, allocations: 0 / 1.224 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008979/0.9236, allocations: 0.5292 MB / 1.225 GB, free: 88 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.9238, allocations: 158 kB / 1.225 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.9238, allocations: 4 kB / 1.225 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.9238, allocations: 4.797 kB / 1.225 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/0.9245, allocations: 141.4 kB / 1.225 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003704/0.9249, allocations: 0.5989 MB / 1.226 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006382/0.9256, allocations: 84.97 kB / 1.226 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/0.9256, allocations: 13.31 kB / 1.226 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-06/0.9257, allocations: 4 kB / 1.226 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000828/0.9265, allocations: 471.5 kB / 1.226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.9265, allocations: 0 / 1.226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.9265, allocations: 8.219 kB / 1.226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.927, allocations: 128.3 kB / 1.226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.927, allocations: 6.344 kB / 1.226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.9276, allocations: 71.41 kB / 1.226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.9276, allocations: 25.34 kB / 1.226 GB, free: 14.46 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 (53): * Single equations (assignments): 52 * 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.000385/0.928, allocations: 307.5 kB / 1.227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/0.9281, allocations: 63.7 kB / 1.227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009042/0.929, allocations: 491.4 kB / 1.227 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.929, allocations: 4 kB / 1.227 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.929, allocations: 5.5 kB / 1.227 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008003/0.9298, allocations: 0.7093 MB / 1.228 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.9318, allocations: 1.282 MB / 1.229 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.9318, allocations: 7.969 kB / 1.229 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.9324, allocations: 136.7 kB / 1.229 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.9324, allocations: 7.984 kB / 1.229 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.9325, allocations: 12 kB / 1.229 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003071/0.9328, allocations: 0.5937 MB / 1.23 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.398e-05/0.9328, allocations: 7.969 kB / 1.23 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.934, allocations: 0.8272 MB / 1.231 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.9343, allocations: 180.2 kB / 1.231 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.9343, allocations: 17.38 kB / 1.231 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.9348, allocations: 47.89 kB / 1.231 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.9349, allocations: 35.89 kB / 1.231 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.9349, allocations: 19.94 kB / 1.231 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000368/0.9353, allocations: 338.8 kB / 1.231 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9353, allocations: 4 kB / 1.231 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009142/0.9362, allocations: 367.1 kB / 1.232 GB, free: 8.871 MB / 0.8073 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],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * 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.0004553/0.9367, allocations: 221.5 kB / 1.232 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.9381, allocations: 0.6858 MB / 1.233 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9381, allocations: 0 / 1.233 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.9385, allocations: 223.7 kB / 1.233 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.9402, allocations: 360.2 kB / 1.233 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.9425, allocations: 1.717 MB / 1.235 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.9431, allocations: 0.9534 MB / 1.236 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0006941/0.9438, allocations: 199.3 kB / 1.236 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.9439, allocations: 47.44 kB / 1.236 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.9439, allocations: 0 / 1.236 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of Templates: time 0.01984/0.9638, allocations: 11.93 MB / 1.248 GB, free: 8.715 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)