Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.617/1.617, allocations: 285.6 MB / 293.1 MB, free: 10.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 172.9 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008574/0.0008574, allocations: 96.53 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.257e-05/2.25e-05, allocations: 8 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7277, allocations: 115.3 MB / 0.9644 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.98/5.708, allocations: 2.079 GB / 3.044 GB, free: 81.35 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/5.708, allocations: 90.3 kB / 3.044 GB, free: 81.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.15/7.859, allocations: 477.7 MB / 3.51 GB, free: 229.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.633e-06/7.859, allocations: 0 / 3.51 GB, free: 229.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.377e-05/7.859, allocations: 24 kB / 3.51 GB, free: 229.7 MB / 0.948 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.002363/7.861, allocations: 1.024 MB / 3.511 GB, free: 229.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/7.861, allocations: 10.25 kB / 3.511 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/7.863, allocations: 268.1 kB / 3.512 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/7.864, allocations: 0.6111 MB / 3.512 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/7.865, allocations: 17.19 kB / 3.512 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.399e-05/7.865, allocations: 33.34 kB / 3.512 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008569/7.866, allocations: 438.7 kB / 3.513 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008868/7.866, allocations: 0.5095 MB / 3.513 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/7.866, allocations: 4.031 kB / 3.513 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/7.866, allocations: 3.438 kB / 3.513 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/7.867, allocations: 27.31 kB / 3.513 GB, free: 228.9 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002716/7.869, allocations: 2.305 MB / 3.515 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/7.87, allocations: 327.9 kB / 3.516 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/7.87, allocations: 211.3 kB / 3.516 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005046/7.871, allocations: 304.6 kB / 3.516 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/7.871, allocations: 36.95 kB / 3.516 GB, free: 227.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.525e-06/7.871, allocations: 0 / 3.516 GB, free: 227.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001071/7.872, allocations: 422.9 kB / 3.517 GB, free: 227.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/7.872, allocations: 54.09 kB / 3.517 GB, free: 227.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/7.872, allocations: 372.4 kB / 3.517 GB, free: 227.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/7.872, allocations: 25.7 kB / 3.517 GB, free: 227.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/7.872, allocations: 330.3 kB / 3.517 GB, free: 227 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/7.873, allocations: 127.2 kB / 3.517 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/7.873, allocations: 0 / 3.517 GB, free: 226.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00013/7.873, allocations: 364 kB / 3.518 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/7.873, allocations: 136.4 kB / 3.518 GB, free: 226.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/7.873, allocations: 268.3 kB / 3.518 GB, free: 226.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/7.874, allocations: 209.4 kB / 3.518 GB, free: 226.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/7.874, allocations: 0 / 3.518 GB, free: 226.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006696/7.874, allocations: 467.7 kB / 3.519 GB, free: 226.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002106/7.875, allocations: 0.88 MB / 3.52 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/7.875, allocations: 3.781 kB / 3.52 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/7.875, allocations: 3.062 kB / 3.52 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/7.875, allocations: 115.5 kB / 3.52 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002812/7.875, allocations: 0.6023 MB / 3.52 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/7.876, allocations: 74.02 kB / 3.521 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/7.876, allocations: 19.03 kB / 3.521 GB, free: 224.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/7.876, allocations: 8.312 kB / 3.521 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006129/7.877, allocations: 382.5 kB / 3.521 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/7.877, allocations: 7.656 kB / 3.521 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/7.877, allocations: 3.875 kB / 3.521 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/7.877, allocations: 105.2 kB / 3.521 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/7.877, allocations: 9.219 kB / 3.521 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/7.878, allocations: 59.02 kB / 3.521 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/7.878, allocations: 17.84 kB / 3.521 GB, free: 224.9 MB / 0.948 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 () * 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.000122/7.878, allocations: 121.4 kB / 3.521 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/7.878, allocations: 58.55 kB / 3.521 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007335/7.879, allocations: 428.7 kB / 3.522 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/7.879, allocations: 10.53 kB / 3.522 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/7.879, allocations: 0 / 3.522 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005482/7.879, allocations: 0.6644 MB / 3.522 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/7.881, allocations: 1.145 MB / 3.523 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/7.881, allocations: 3.844 kB / 3.523 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/7.882, allocations: 105.7 kB / 3.524 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/7.882, allocations: 3.938 kB / 3.524 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/7.882, allocations: 10 kB / 3.524 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002172/7.882, allocations: 0.5948 MB / 3.524 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/7.882, allocations: 3.906 kB / 3.524 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008958/7.883, allocations: 0.8178 MB / 3.525 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/7.883, allocations: 179.7 kB / 3.525 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-05/7.883, allocations: 9.172 kB / 3.525 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/7.884, allocations: 47.67 kB / 3.525 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/7.884, allocations: 26.61 kB / 3.525 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/7.884, allocations: 17.16 kB / 3.525 GB, free: 222.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002977/7.884, allocations: 283.8 kB / 3.525 GB, free: 222.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/7.884, allocations: 0 / 3.525 GB, free: 222.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001335/7.885, allocations: 444.1 kB / 3.526 GB, free: 222.7 MB / 0.948 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 () * 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.001998/7.887, allocations: 1.55 MB / 3.527 GB, free: 222.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001108/7.888, allocations: 0.5868 MB / 3.528 GB, free: 222.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/7.888, allocations: 0 / 3.528 GB, free: 222.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002711/7.889, allocations: 190.7 kB / 3.528 GB, free: 222.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/7.89, allocations: 319.3 kB / 3.528 GB, free: 222.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/7.892, allocations: 1.07 MB / 3.53 GB, free: 222 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/7.893, allocations: 0.9632 MB / 3.53 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009376/7.894, allocations: 233.8 kB / 3.531 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/7.894, allocations: 41.77 kB / 3.531 GB, free: 221.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.02e-07/7.894, allocations: 0 / 3.531 GB, free: 221.3 MB / 0.948 GB Notification: Performance of Templates: time 0.04017/7.934, allocations: 18.74 MB / 3.549 GB, free: 221 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)