Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001114, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005261/0.0005261, allocations: 17.95 kB / 0.6735 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2547, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.5922/0.847, allocations: 154 MB / 0.9375 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009342/0.8564, allocations: 6.468 MB / 0.9438 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.8575, allocations: 22.72 kB / 0.9438 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.8588, allocations: 422.5 kB / 0.9442 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004254/0.8631, allocations: 1.299 MB / 0.9455 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/0.8669, allocations: 1.032 MB / 0.9465 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002521/0.8695, allocations: 1.118 MB / 0.9476 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008813/0.8704, allocations: 0.492 MB / 0.9481 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.8718, allocations: 0.6156 MB / 0.9487 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.8724, allocations: 381.9 kB / 0.949 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.253e-05/0.8725, allocations: 32.19 kB / 0.9491 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.8752, allocations: 0.8843 MB / 0.9499 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.8755, allocations: 230.2 kB / 0.9501 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.8757, allocations: 174.5 kB / 0.9503 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.877, allocations: 1.007 MB / 0.9513 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.877, allocations: 0 / 0.9513 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.877, allocations: 1.25 kB / 0.9513 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.877, allocations: 0 / 0.9513 GB, free: 5.148 MB / 0.7169 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.001928/0.879, allocations: 0.9845 MB / 0.9523 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.879, allocations: 9.156 kB / 0.9523 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.8809, allocations: 275.2 kB / 0.9525 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.8819, allocations: 0.554 MB / 0.9531 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.882, allocations: 41.78 kB / 0.9531 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.8821, allocations: 62.12 kB / 0.9532 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.8832, allocations: 0.6298 MB / 0.9538 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.8833, allocations: 5.891 kB / 0.9538 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.8833, allocations: 19.5 kB / 0.9538 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.8834, allocations: 19.22 kB / 0.9538 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.8843, allocations: 0.5278 MB / 0.9543 GB, free: 20.1 MB / 0.7325 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.003118/0.8874, allocations: 2.45 MB / 0.9567 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/0.8881, allocations: 390.3 kB / 0.9571 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/0.8885, allocations: 140.4 kB / 0.9572 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.8886, allocations: 43.92 kB / 0.9573 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.954e-06/0.8886, allocations: 0 / 0.9573 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001346/0.8899, allocations: 0.6188 MB / 0.9579 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.89, allocations: 60.34 kB / 0.9579 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.8906, allocations: 498.4 kB / 0.9584 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.8907, allocations: 35.92 kB / 0.9585 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.8909, allocations: 319.6 kB / 0.9588 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.891, allocations: 138.5 kB / 0.9589 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.891, allocations: 7.688 kB / 0.9589 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.8912, allocations: 376.3 kB / 0.9593 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.8915, allocations: 165.1 kB / 0.9594 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.8919, allocations: 292.9 kB / 0.9597 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.8923, allocations: 215.1 kB / 0.9599 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8923, allocations: 5.062 kB / 0.9599 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008565/0.8931, allocations: 0.5241 MB / 0.9604 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003005/0.8934, allocations: 0.8788 MB / 0.9613 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.8935, allocations: 2.219 kB / 0.9613 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8935, allocations: 4.375 kB / 0.9613 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/0.8942, allocations: 149.9 kB / 0.9614 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00034/0.8946, allocations: 0.5938 MB / 0.962 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.8952, allocations: 79.73 kB / 0.9621 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.8953, allocations: 29.2 kB / 0.9621 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.8953, allocations: 7.031 kB / 0.9621 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007134/0.896, allocations: 458.2 kB / 0.9625 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.896, allocations: 2.594 kB / 0.9625 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-06/0.896, allocations: 4.844 kB / 0.9626 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.8965, allocations: 132.5 kB / 0.9627 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.8966, allocations: 7.125 kB / 0.9627 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.8971, allocations: 69.42 kB / 0.9628 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.8971, allocations: 20.94 kB / 0.9628 GB, free: 15.97 MB / 0.7325 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.0003262/0.8974, allocations: 312.2 kB / 0.9631 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.8975, allocations: 63.55 kB / 0.9631 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007901/0.8983, allocations: 496.4 kB / 0.9636 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.8984, allocations: 4.125 kB / 0.9636 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8984, allocations: 1.375 kB / 0.9636 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007416/0.8991, allocations: 0.7071 MB / 0.9643 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.9009, allocations: 1.286 MB / 0.9656 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.901, allocations: 2.531 kB / 0.9656 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/0.9016, allocations: 136.5 kB / 0.9657 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.9016, allocations: 7.156 kB / 0.9657 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.9016, allocations: 8.938 kB / 0.9657 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003058/0.9019, allocations: 0.5985 MB / 0.9663 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.9019, allocations: 2.125 kB / 0.9663 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.903, allocations: 0.9173 MB / 0.9672 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.9033, allocations: 182.4 kB / 0.9674 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.998e-05/0.9034, allocations: 15.83 kB / 0.9674 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.9039, allocations: 50.27 kB / 0.9674 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.904, allocations: 28.69 kB / 0.9675 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.904, allocations: 24.92 kB / 0.9675 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004959/0.9045, allocations: 346.8 kB / 0.9678 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9045, allocations: 0 / 0.9678 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001182/0.9057, allocations: 360.1 kB / 0.9681 GB, free: 13.64 MB / 0.7325 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.0006047/0.9063, allocations: 200.5 kB / 0.9683 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.9081, allocations: 0.6767 MB / 0.969 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.9081, allocations: 1.562 kB / 0.969 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.9086, allocations: 234.3 kB / 0.9692 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.9104, allocations: 348.2 kB / 0.9696 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.9133, allocations: 1.711 MB / 0.9712 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.9139, allocations: 0.9679 MB / 0.9722 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006914/0.9146, allocations: 196.5 kB / 0.9724 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.9147, allocations: 49.73 kB / 0.9724 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.9148, allocations: 0 / 0.9724 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of Templates: time 0.01851/0.9333, allocations: 11.55 MB / 0.9837 GB, free: 7.098 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: