Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.627/1.627, allocations: 291.7 MB / 306.8 MB, free: 7.664 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.0009657/0.0009657, allocations: 189.3 kB / 375.4 MB, free: 5.098 MB / 298.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.648/1.648, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0008307/0.0008306, allocations: 102.1 kB / 0.7699 GB, free: 50.19 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.000397, allocations: 14.72 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.6493, allocations: 118.1 MB / 1.011 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1786/0.828, allocations: 168.3 MB / 1.175 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.839, allocations: 6.48 MB / 1.182 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.8402, allocations: 25.09 kB / 1.182 GB, free: 3.078 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.8413, allocations: 273 kB / 1.182 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.8452, allocations: 1.047 MB / 1.183 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.8482, allocations: 0.8424 MB / 1.184 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003563/0.8517, allocations: 2.293 MB / 1.186 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009389/0.8527, allocations: 0.5296 MB / 1.186 GB, free: 0.8711 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.8545, allocations: 0.6861 MB / 1.187 GB, free: 0.6016 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009486/0.8554, allocations: 0.5711 MB / 1.188 GB, free: 400 kB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.612e-05/0.8555, allocations: 30.31 kB / 1.188 GB, free: 400 kB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.8588, allocations: 1.137 MB / 1.189 GB, free: 28 kB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003993/0.8592, allocations: 247.9 kB / 1.189 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.8595, allocations: 176.2 kB / 1.189 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.8615, allocations: 1.137 MB / 1.19 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.8616, allocations: 0 / 1.19 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.816e-06/0.8616, allocations: 0 / 1.19 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.8616, allocations: 0.9375 kB / 1.19 GB, free: 15.58 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.002017/0.8636, allocations: 1.021 MB / 1.191 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8637, allocations: 8.531 kB / 1.191 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.8654, allocations: 275.3 kB / 1.192 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009862/0.8664, allocations: 0.5764 MB / 1.192 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.8665, allocations: 39.44 kB / 1.192 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.8666, allocations: 57.31 kB / 1.192 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.8678, allocations: 0.6402 MB / 1.193 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.8678, allocations: 0 / 1.193 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.8679, allocations: 21.47 kB / 1.193 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.868, allocations: 21.78 kB / 1.193 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.869, allocations: 0.5243 MB / 1.193 GB, free: 13.89 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.003324/0.8723, allocations: 2.454 MB / 1.196 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.8731, allocations: 384.4 kB / 1.196 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.8735, allocations: 241 kB / 1.196 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/0.8741, allocations: 322.3 kB / 1.197 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.8741, allocations: 41.44 kB / 1.197 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=39): time 2.605e-06/0.8742, allocations: 4 kB / 1.197 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=39): time 0.001465/0.8756, allocations: 0.6233 MB / 1.197 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.8757, allocations: 60.09 kB / 1.197 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.8763, allocations: 498.7 kB / 1.198 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.8763, allocations: 37.39 kB / 1.198 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.8766, allocations: 317.3 kB / 1.198 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.8767, allocations: 139 kB / 1.198 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.8767, allocations: 10 kB / 1.198 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8769, allocations: 367.9 kB / 1.199 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.8772, allocations: 167.5 kB / 1.199 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.8776, allocations: 291 kB / 1.199 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/0.8784, allocations: 455.8 kB / 1.2 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8784, allocations: 5.156 kB / 1.2 GB, free: 9.773 MB / 0.7917 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009492/0.8793, allocations: 0.5252 MB / 1.2 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.8794, allocations: 161.7 kB / 1.2 GB, free: 9.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8795, allocations: 1.375 kB / 1.2 GB, free: 9.375 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.8795, allocations: 7.469 kB / 1.2 GB, free: 9.375 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/0.8802, allocations: 142.9 kB / 1.2 GB, free: 9.363 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003532/0.8806, allocations: 0.5959 MB / 1.201 GB, free: 8.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006915/0.8813, allocations: 76.94 kB / 1.201 GB, free: 8.738 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.8814, allocations: 17.75 kB / 1.201 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.8814, allocations: 4.125 kB / 1.201 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008379/0.8822, allocations: 468 kB / 1.202 GB, free: 8.562 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.8822, allocations: 2.75 kB / 1.202 GB, free: 8.562 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.8823, allocations: 7.344 kB / 1.202 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.8827, allocations: 134.8 kB / 1.202 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8828, allocations: 3.625 kB / 1.202 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/0.8834, allocations: 73.11 kB / 1.202 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.8834, allocations: 21.45 kB / 1.202 GB, free: 8.512 MB / 0.7917 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 (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.0004507/0.8839, allocations: 305 kB / 1.202 GB, free: 8.266 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.884, allocations: 68.47 kB / 1.202 GB, free: 8.227 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009515/0.8849, allocations: 490.8 kB / 1.203 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.885, allocations: 5.422 kB / 1.203 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.885, allocations: 1.031 kB / 1.203 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008584/0.8858, allocations: 0.7158 MB / 1.203 GB, free: 7.465 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.888, allocations: 1.279 MB / 1.205 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.888, allocations: 2.156 kB / 1.205 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/0.8886, allocations: 147.8 kB / 1.205 GB, free: 6.734 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.8886, allocations: 3.219 kB / 1.205 GB, free: 6.734 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.8887, allocations: 9.469 kB / 1.205 GB, free: 6.73 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003372/0.889, allocations: 0.605 MB / 1.205 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.889, allocations: 2.156 kB / 1.205 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.8903, allocations: 0.8385 MB / 1.206 GB, free: 5.676 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.8906, allocations: 182.5 kB / 1.206 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-05/0.8907, allocations: 17.69 kB / 1.206 GB, free: 5.516 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/0.8912, allocations: 44.92 kB / 1.206 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.8913, allocations: 31.92 kB / 1.206 GB, free: 5.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.8913, allocations: 17.41 kB / 1.206 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004188/0.8917, allocations: 341.9 kB / 1.207 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8918, allocations: 0 / 1.207 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001132/0.8929, allocations: 364.8 kB / 1.207 GB, free: 5.27 MB / 0.7917 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 (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.0005396/0.8934, allocations: 212.3 kB / 1.207 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.895, allocations: 0.6818 MB / 1.208 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.895, allocations: 4.312 kB / 1.208 GB, free: 4.93 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.8955, allocations: 226.5 kB / 1.208 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.8975, allocations: 360.7 kB / 1.209 GB, free: 4.785 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.9004, allocations: 1.71 MB / 1.21 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.901, allocations: 0.9505 MB / 1.211 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0008159/0.9018, allocations: 203.4 kB / 1.211 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.902, allocations: 47.12 kB / 1.211 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of SimCode: time 2.4e-07/0.902, allocations: 0 / 1.211 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of Templates: time 0.0267/0.9287, allocations: 11.59 MB / 1.223 GB, free: 0.918 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)