Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 255.9 MB / 271.2 MB, free: 8.926 MB / 218.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.0009406/0.0009406, allocations: 175.6 kB / 330.8 MB, free: 496 kB / 250.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.605/1.605, allocations: 225.7 MB / 0.6016 GB, free: 1.758 MB / 426.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.001152/0.001152, allocations: 99.59 kB / 0.709 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003668, allocations: 9.969 kB / 0.8261 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2277, allocations: 109.2 MB / 0.9328 GB, free: 24.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7885/1.016, allocations: 176.1 MB / 1.105 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01263/1.029, allocations: 9.543 MB / 1.114 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/1.03, allocations: 24.06 kB / 1.114 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/1.032, allocations: 336.9 kB / 1.114 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004648/1.036, allocations: 1.368 MB / 1.116 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/1.041, allocations: 1.068 MB / 1.117 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004819/1.045, allocations: 2.775 MB / 1.119 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/1.047, allocations: 0.5462 MB / 1.12 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/1.049, allocations: 0.7497 MB / 1.121 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/1.052, allocations: 0.6054 MB / 1.121 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/1.052, allocations: 30.28 kB / 1.121 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006055/1.058, allocations: 2.155 MB / 1.123 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006838/1.059, allocations: 255.2 kB / 1.124 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/1.06, allocations: 406.9 kB / 1.124 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005297/1.065, allocations: 1.844 MB / 1.126 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/1.065, allocations: 0 / 1.126 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.677e-06/1.065, allocations: 0 / 1.126 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.916e-05/1.065, allocations: 2.938 kB / 1.126 GB, free: 3.086 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002796/1.068, allocations: 1.027 MB / 1.127 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.068, allocations: 12.05 kB / 1.127 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/1.07, allocations: 269.8 kB / 1.127 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/1.072, allocations: 0.5766 MB / 1.128 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/1.072, allocations: 42.97 kB / 1.128 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/1.072, allocations: 58.53 kB / 1.128 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/1.073, allocations: 0.6418 MB / 1.128 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.073, allocations: 0 / 1.128 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/1.073, allocations: 25.02 kB / 1.128 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/1.073, allocations: 18.88 kB / 1.128 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/1.075, allocations: 0.5343 MB / 1.129 GB, free: 0.9453 MB / 0.6823 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.003741/1.078, allocations: 2.454 MB / 1.131 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/1.079, allocations: 376.2 kB / 1.132 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/1.079, allocations: 236.5 kB / 1.132 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/1.08, allocations: 329.4 kB / 1.132 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/1.08, allocations: 41.53 kB / 1.132 GB, free: 14.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.025e-06/1.08, allocations: 0 / 1.132 GB, free: 14.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001525/1.082, allocations: 0.6174 MB / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/1.082, allocations: 60.44 kB / 1.133 GB, free: 13.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/1.082, allocations: 0.4919 MB / 1.133 GB, free: 13.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/1.082, allocations: 36.48 kB / 1.133 GB, free: 13.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/1.083, allocations: 319.7 kB / 1.134 GB, free: 13.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/1.083, allocations: 141.2 kB / 1.134 GB, free: 13.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/1.083, allocations: 11.94 kB / 1.134 GB, free: 13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.083, allocations: 368.6 kB / 1.134 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/1.083, allocations: 172.8 kB / 1.134 GB, free: 12.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/1.084, allocations: 277 kB / 1.135 GB, free: 12.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/1.085, allocations: 452.1 kB / 1.135 GB, free: 12.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.085, allocations: 0 / 1.135 GB, free: 12.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00104/1.086, allocations: 0.5287 MB / 1.136 GB, free: 11.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/1.086, allocations: 156.2 kB / 1.136 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.086, allocations: 3 kB / 1.136 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/1.086, allocations: 13.25 kB / 1.136 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/1.087, allocations: 140.4 kB / 1.136 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000405/1.087, allocations: 0.6012 MB / 1.137 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007658/1.088, allocations: 76.38 kB / 1.137 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/1.088, allocations: 17.91 kB / 1.137 GB, free: 10.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/1.088, allocations: 4.594 kB / 1.137 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008382/1.089, allocations: 467.3 kB / 1.137 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/1.089, allocations: 2.562 kB / 1.137 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/1.089, allocations: 10.84 kB / 1.137 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/1.089, allocations: 120.7 kB / 1.137 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.089, allocations: 9.047 kB / 1.137 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/1.09, allocations: 76.52 kB / 1.137 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/1.09, allocations: 21.38 kB / 1.137 GB, free: 10.62 MB / 0.698 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.0004718/1.091, allocations: 310.2 kB / 1.138 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.091, allocations: 62.75 kB / 1.138 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009652/1.092, allocations: 486.7 kB / 1.138 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/1.092, allocations: 8.625 kB / 1.138 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.092, allocations: 0 / 1.138 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000896/1.093, allocations: 0.7072 MB / 1.139 GB, free: 9.445 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/1.095, allocations: 1.297 MB / 1.14 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.095, allocations: 7.25 kB / 1.14 GB, free: 8.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/1.096, allocations: 133.3 kB / 1.14 GB, free: 8.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/1.096, allocations: 2 kB / 1.14 GB, free: 8.469 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/1.096, allocations: 14.09 kB / 1.14 GB, free: 8.461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003596/1.096, allocations: 0.5982 MB / 1.141 GB, free: 7.855 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.096, allocations: 6.125 kB / 1.141 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/1.098, allocations: 0.819 MB / 1.142 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/1.098, allocations: 185.3 kB / 1.142 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/1.098, allocations: 20.97 kB / 1.142 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006279/1.099, allocations: 48.55 kB / 1.142 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/1.099, allocations: 29.75 kB / 1.142 GB, free: 7.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/1.099, allocations: 18.8 kB / 1.142 GB, free: 7.109 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004965/1.1, allocations: 351.2 kB / 1.142 GB, free: 6.898 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/1.1, allocations: 0 / 1.142 GB, free: 6.898 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001273/1.101, allocations: 370 kB / 1.143 GB, free: 6.824 MB / 0.698 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.0006068/1.102, allocations: 217 kB / 1.143 GB, free: 6.676 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001768/1.103, allocations: 0.6651 MB / 1.143 GB, free: 6.387 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.103, allocations: 4 kB / 1.143 GB, free: 6.383 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000488/1.104, allocations: 225.3 kB / 1.144 GB, free: 6.285 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/1.106, allocations: 372.3 kB / 1.144 GB, free: 6.098 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/1.109, allocations: 1.725 MB / 1.146 GB, free: 4.836 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/1.11, allocations: 0.9485 MB / 1.147 GB, free: 4.016 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008869/1.11, allocations: 197.6 kB / 1.147 GB, free: 3.934 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/1.111, allocations: 49.94 kB / 1.147 GB, free: 3.922 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/1.111, allocations: 4 kB / 1.147 GB, free: 3.918 MB / 0.698 GB Notification: Performance of Templates: time 0.02526/1.136, allocations: 11.96 MB / 1.159 GB, free: 9.289 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)