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.821/1.821, allocations: 288.4 MB / 303.4 MB, free: 8.055 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.001063/0.001063, allocations: 188.5 kB / 372 MB, free: 10.25 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.362/1.362, allocations: 205.4 MB / 0.6307 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008582/0.0008584, allocations: 93.81 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004227, allocations: 12.66 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2292, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7226/0.952, allocations: 168.3 MB / 1.144 GB, free: 12.89 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009835/0.9618, allocations: 6.478 MB / 1.15 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.9631, allocations: 23.25 kB / 1.15 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.9642, allocations: 272.3 kB / 1.151 GB, free: 10.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004002/0.9682, allocations: 1.051 MB / 1.152 GB, free: 9.758 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.9715, allocations: 0.8437 MB / 1.152 GB, free: 9.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003773/0.9753, allocations: 2.276 MB / 1.155 GB, free: 8.184 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.9764, allocations: 0.4945 MB / 1.155 GB, free: 7.879 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.9784, allocations: 0.6802 MB / 1.156 GB, free: 7.516 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.9796, allocations: 0.5683 MB / 1.156 GB, free: 7.207 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.9797, allocations: 33.38 kB / 1.156 GB, free: 7.203 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003633/0.9833, allocations: 1.132 MB / 1.157 GB, free: 6.609 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.9837, allocations: 246.6 kB / 1.158 GB, free: 6.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.9841, allocations: 176 kB / 1.158 GB, free: 6.355 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.9863, allocations: 1.137 MB / 1.159 GB, free: 5.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9863, allocations: 0 / 1.159 GB, free: 5.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9863, allocations: 1.25 kB / 1.159 GB, free: 5.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.9863, allocations: 0 / 1.159 GB, free: 5.66 MB / 0.698 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.002132/0.9885, allocations: 1.027 MB / 1.16 GB, free: 4.832 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.9885, allocations: 9.562 kB / 1.16 GB, free: 4.832 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.9905, allocations: 273 kB / 1.16 GB, free: 4.707 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.9918, allocations: 0.5502 MB / 1.161 GB, free: 4.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/0.9918, allocations: 44.56 kB / 1.161 GB, free: 4.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.992, allocations: 61.31 kB / 1.161 GB, free: 4.207 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.9934, allocations: 0.6342 MB / 1.162 GB, free: 3.824 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.9934, allocations: 4.938 kB / 1.162 GB, free: 3.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.9935, allocations: 20.69 kB / 1.162 GB, free: 3.805 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.9936, allocations: 18.66 kB / 1.162 GB, free: 3.805 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.9947, allocations: 0.5284 MB / 1.162 GB, free: 3.551 MB / 0.698 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.003632/0.9983, allocations: 2.446 MB / 1.164 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000747/0.9991, allocations: 388.5 kB / 1.165 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004706/0.9996, allocations: 245 kB / 1.165 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006685/1, allocations: 322 kB / 1.165 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/1, allocations: 42 kB / 1.165 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.635e-06/1, allocations: 3.938 kB / 1.165 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001592/1.002, allocations: 0.6189 MB / 1.166 GB, free: 428 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/1.002, allocations: 58.61 kB / 1.166 GB, free: 360 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/1.003, allocations: 0.4913 MB / 1.167 GB, free: 48 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/1.003, allocations: 32.42 kB / 1.167 GB, free: 12 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/1.003, allocations: 317.7 kB / 1.167 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/1.003, allocations: 143.1 kB / 1.167 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/1.003, allocations: 10.03 kB / 1.167 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001892/1.003, allocations: 359.7 kB / 1.167 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/1.004, allocations: 179.7 kB / 1.168 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/1.004, allocations: 291.3 kB / 1.168 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/1.005, allocations: 217 kB / 1.168 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.005, allocations: 0 / 1.168 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009791/1.006, allocations: 0.523 MB / 1.169 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.12e-05/1.006, allocations: 149.2 kB / 1.169 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.006, allocations: 2.75 kB / 1.169 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.006, allocations: 8.078 kB / 1.169 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/1.007, allocations: 145.7 kB / 1.169 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003908/1.007, allocations: 0.5955 MB / 1.169 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/1.008, allocations: 87.22 kB / 1.169 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/1.008, allocations: 19.12 kB / 1.17 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/1.008, allocations: 4.125 kB / 1.17 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008641/1.009, allocations: 463.8 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.009, allocations: 2.094 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/1.009, allocations: 5.156 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/1.009, allocations: 128.7 kB / 1.17 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.009, allocations: 8.906 kB / 1.17 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/1.01, allocations: 75.16 kB / 1.17 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/1.01, allocations: 13.88 kB / 1.17 GB, free: 13.4 MB / 0.7136 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.0003621/1.01, allocations: 307.9 kB / 1.17 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.01, allocations: 65.28 kB / 1.171 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009235/1.011, allocations: 498.4 kB / 1.171 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/1.011, allocations: 4.562 kB / 1.171 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.011, allocations: 0 / 1.171 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008455/1.012, allocations: 0.7121 MB / 1.172 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/1.014, allocations: 1.286 MB / 1.173 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.014, allocations: 6.859 kB / 1.173 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/1.015, allocations: 144.9 kB / 1.173 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.015, allocations: 5.719 kB / 1.173 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/1.015, allocations: 7.25 kB / 1.173 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003093/1.015, allocations: 0.6 MB / 1.174 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/1.015, allocations: 3.031 kB / 1.174 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/1.016, allocations: 0.8306 MB / 1.175 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/1.017, allocations: 187.4 kB / 1.175 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/1.017, allocations: 6.781 kB / 1.175 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/1.017, allocations: 51.08 kB / 1.175 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/1.017, allocations: 29.36 kB / 1.175 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/1.017, allocations: 15.25 kB / 1.175 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000411/1.018, allocations: 354.7 kB / 1.175 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.018, allocations: 0 / 1.175 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001114/1.019, allocations: 361.2 kB / 1.175 GB, free: 9.598 MB / 0.7136 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.0005033/1.019, allocations: 192.5 kB / 1.176 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001441/1.021, allocations: 0.6782 MB / 1.176 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.021, allocations: 6.844 kB / 1.176 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004169/1.021, allocations: 230.8 kB / 1.177 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.023, allocations: 360.6 kB / 1.177 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/1.026, allocations: 1.726 MB / 1.179 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/1.026, allocations: 0.9474 MB / 1.18 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007642/1.027, allocations: 205.4 kB / 1.18 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/1.027, allocations: 49.86 kB / 1.18 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/1.027, allocations: 0 / 1.18 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of Templates: time 0.02169/1.049, allocations: 11.57 MB / 1.191 GB, free: 1 MB / 0.7136 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)