Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.936/1.936, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.001192/0.001192, allocations: 159.6 kB / 393.1 MB, free: 4.09 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.327/1.327, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.001013/0.001013, allocations: 92.8 kB / 0.7935 GB, free: 39.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 9.5 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.552, allocations: 121.3 MB / 1.041 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1756/0.7276, allocations: 175.9 MB / 1.213 GB, free: 2.5 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01331/0.741, allocations: 9.489 MB / 1.222 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.7427, allocations: 23.81 kB / 1.222 GB, free: 8.992 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.7442, allocations: 336.9 kB / 1.222 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004909/0.7491, allocations: 1.362 MB / 1.224 GB, free: 7.691 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004124/0.7532, allocations: 1.043 MB / 1.225 GB, free: 6.875 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00429/0.7575, allocations: 2.708 MB / 1.227 GB, free: 4.688 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.7587, allocations: 0.5329 MB / 1.228 GB, free: 4.242 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.7607, allocations: 0.7289 MB / 1.228 GB, free: 3.617 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.7626, allocations: 0.5933 MB / 1.229 GB, free: 3.125 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.7628, allocations: 32 kB / 1.229 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004984/0.7678, allocations: 2.157 MB / 1.231 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.7683, allocations: 243.2 kB / 1.231 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0007334/0.7691, allocations: 407.8 kB / 1.232 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003556/0.7726, allocations: 1.831 MB / 1.234 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.7727, allocations: 0 / 1.234 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7727, allocations: 0 / 1.234 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.858e-05/0.7727, allocations: 4 kB / 1.234 GB, free: 14.61 MB / 0.8073 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.002219/0.7749, allocations: 1.009 MB / 1.235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.775, allocations: 12.03 kB / 1.235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.777, allocations: 262.8 kB / 1.235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.7783, allocations: 0.5831 MB / 1.235 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.7784, allocations: 45.31 kB / 1.235 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.7785, allocations: 55.94 kB / 1.235 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.7796, allocations: 0.6362 MB / 1.236 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.7797, allocations: 0 / 1.236 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.7797, allocations: 20 kB / 1.236 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.7798, allocations: 21.3 kB / 1.236 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009683/0.7807, allocations: 0.5282 MB / 1.237 GB, free: 11.34 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.00311/0.7839, allocations: 2.453 MB / 1.239 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.7845, allocations: 377 kB / 1.239 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.7849, allocations: 242.7 kB / 1.24 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.7855, allocations: 319.9 kB / 1.24 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.7855, allocations: 38.56 kB / 1.24 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=39): time 1.813e-06/0.7855, allocations: 3.938 kB / 1.24 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39): time 0.001345/0.7869, allocations: 0.6239 MB / 1.241 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7869, allocations: 59.34 kB / 1.241 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.7874, allocations: 495 kB / 1.241 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.7875, allocations: 33.7 kB / 1.241 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.7877, allocations: 324.4 kB / 1.241 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.7878, allocations: 145.9 kB / 1.242 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.7879, allocations: 4 kB / 1.242 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.788, allocations: 370.8 kB / 1.242 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.7883, allocations: 164.8 kB / 1.242 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.7887, allocations: 300.2 kB / 1.242 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.7895, allocations: 456.2 kB / 1.243 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7895, allocations: 7.938 kB / 1.243 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009538/0.7904, allocations: 0.5201 MB / 1.243 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.7905, allocations: 169.2 kB / 1.244 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.7906, allocations: 0 / 1.244 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7906, allocations: 8 kB / 1.244 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/0.7913, allocations: 139.8 kB / 1.244 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003384/0.7916, allocations: 0.5938 MB / 1.244 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.7922, allocations: 80.27 kB / 1.244 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.7923, allocations: 23.98 kB / 1.244 GB, free: 3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.7923, allocations: 4 kB / 1.244 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007552/0.7931, allocations: 459.7 kB / 1.245 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7931, allocations: 7.938 kB / 1.245 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.7931, allocations: 7.938 kB / 1.245 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.7936, allocations: 131.9 kB / 1.245 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7936, allocations: 4.078 kB / 1.245 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.7942, allocations: 79.53 kB / 1.245 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.7942, allocations: 16 kB / 1.245 GB, free: 2.305 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.0003502/0.7946, allocations: 312.9 kB / 1.245 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.7947, allocations: 59.28 kB / 1.245 GB, free: 1.93 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008504/0.7955, allocations: 491 kB / 1.246 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.7955, allocations: 4 kB / 1.246 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7955, allocations: 4 kB / 1.246 GB, free: 1.434 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007347/0.7963, allocations: 0.7105 MB / 1.247 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.7982, allocations: 1.284 MB / 1.248 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.7982, allocations: 4 kB / 1.248 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006248/0.7988, allocations: 140 kB / 1.248 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.7988, allocations: 4 kB / 1.248 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.7989, allocations: 12 kB / 1.248 GB, free: 15.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002657/0.7992, allocations: 0.5899 MB / 1.249 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.7992, allocations: 0 / 1.249 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.8003, allocations: 0.8434 MB / 1.249 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.8005, allocations: 172.4 kB / 1.25 GB, free: 13.44 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.8006, allocations: 19.92 kB / 1.25 GB, free: 13.42 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.8011, allocations: 51.81 kB / 1.25 GB, free: 13.37 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/0.8012, allocations: 39.83 kB / 1.25 GB, free: 13.33 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.8012, allocations: 16 kB / 1.25 GB, free: 13.31 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003607/0.8016, allocations: 342.8 kB / 1.25 GB, free: 12.98 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8016, allocations: 0 / 1.25 GB, free: 12.98 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009225/0.8025, allocations: 363.2 kB / 1.25 GB, free: 12.62 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],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.0004617/0.803, allocations: 228.9 kB / 1.251 GB, free: 12.41 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.8044, allocations: 0.6801 MB / 1.251 GB, free: 11.73 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.8044, allocations: 0 / 1.251 GB, free: 11.73 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.8048, allocations: 225.1 kB / 1.251 GB, free: 11.51 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.8066, allocations: 358.3 kB / 1.252 GB, free: 11.17 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.8088, allocations: 1.709 MB / 1.253 GB, free: 9.406 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.8093, allocations: 0.9496 MB / 1.254 GB, free: 8.43 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000713/0.8101, allocations: 208.8 kB / 1.255 GB, free: 8.227 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.8102, allocations: 55.36 kB / 1.255 GB, free: 8.172 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.8102, allocations: 0 / 1.255 GB, free: 8.172 MB / 0.823 GB Notification: Performance of Templates: time 0.02184/0.8321, allocations: 11.92 MB / 1.266 GB, free: 12.45 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)