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.646/1.646, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.0009842/0.0009843, allocations: 172.5 kB / 372.9 MB, free: 10.15 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.507/1.507, allocations: 205.4 MB / 0.6317 GB, free: 9.887 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.0007478/0.0007478, allocations: 94.16 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003751, allocations: 12.44 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1993, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.89/5.089, allocations: 2.08 GB / 3.061 GB, free: 236.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/5.089, allocations: 95.95 kB / 3.061 GB, free: 236.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.38/6.469, allocations: 482.6 MB / 3.532 GB, free: 123.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.313e-06/6.469, allocations: 0 / 3.532 GB, free: 123.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.026e-05/6.469, allocations: 16 kB / 3.532 GB, free: 123.4 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.002242/6.472, allocations: 1.138 MB / 3.533 GB, free: 122.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/6.472, allocations: 12.03 kB / 3.533 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/6.473, allocations: 267.7 kB / 3.534 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/6.475, allocations: 0.6197 MB / 3.534 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/6.475, allocations: 45.69 kB / 3.534 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/6.475, allocations: 56.38 kB / 3.534 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009222/6.476, allocations: 0.6211 MB / 3.535 GB, free: 120.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/6.476, allocations: 3.938 kB / 3.535 GB, free: 120.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/6.476, allocations: 20 kB / 3.535 GB, free: 120.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/6.476, allocations: 17.31 kB / 3.535 GB, free: 120.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007841/6.476, allocations: 0.5126 MB / 3.536 GB, free: 119.9 MB / 0.948 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.002491/6.479, allocations: 2.424 MB / 3.538 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/6.48, allocations: 370.5 kB / 3.538 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/6.48, allocations: 230.4 kB / 3.538 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005506/6.48, allocations: 307.6 kB / 3.539 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/6.48, allocations: 38.89 kB / 3.539 GB, free: 116.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 3.376e-06/6.48, allocations: 0 / 3.539 GB, free: 116.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001224/6.482, allocations: 0.6057 MB / 3.539 GB, free: 115.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/6.482, allocations: 59.34 kB / 3.539 GB, free: 115.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/6.482, allocations: 0.4949 MB / 3.54 GB, free: 115.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/6.482, allocations: 29.7 kB / 3.54 GB, free: 115.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/6.482, allocations: 332.4 kB / 3.54 GB, free: 114.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/6.483, allocations: 138 kB / 3.54 GB, free: 114.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/6.483, allocations: 8 kB / 3.54 GB, free: 114.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/6.483, allocations: 362.8 kB / 3.541 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/6.483, allocations: 164.8 kB / 3.541 GB, free: 114.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/6.483, allocations: 290 kB / 3.541 GB, free: 113.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/6.484, allocations: 452.8 kB / 3.542 GB, free: 113.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/6.484, allocations: 3.938 kB / 3.542 GB, free: 113.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000754/6.485, allocations: 0.5201 MB / 3.542 GB, free: 112.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/6.485, allocations: 161.8 kB / 3.542 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/6.485, allocations: 4 kB / 3.542 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/6.485, allocations: 11.92 kB / 3.542 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/6.485, allocations: 115.8 kB / 3.542 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002879/6.486, allocations: 0.59 MB / 3.543 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007041/6.486, allocations: 79.64 kB / 3.543 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/6.487, allocations: 16 kB / 3.543 GB, free: 111.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/6.487, allocations: 9.094 kB / 3.543 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006597/6.487, allocations: 451.7 kB / 3.544 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/6.487, allocations: 4 kB / 3.544 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/6.487, allocations: 4 kB / 3.544 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/6.488, allocations: 111.8 kB / 3.544 GB, free: 111.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/6.488, allocations: 4 kB / 3.544 GB, free: 111.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/6.488, allocations: 79.52 kB / 3.544 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/6.488, allocations: 20 kB / 3.544 GB, free: 111.1 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 () * 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.0004412/6.489, allocations: 305.7 kB / 3.544 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/6.489, allocations: 59.34 kB / 3.544 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007843/6.49, allocations: 486.9 kB / 3.545 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/6.49, allocations: 4 kB / 3.545 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/6.49, allocations: 0 / 3.545 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007057/6.49, allocations: 0.7065 MB / 3.545 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/6.492, allocations: 1.263 MB / 3.546 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/6.492, allocations: 4 kB / 3.546 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/6.493, allocations: 120 kB / 3.547 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/6.493, allocations: 3.984 kB / 3.547 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/6.493, allocations: 20 kB / 3.547 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002051/6.493, allocations: 0.5976 MB / 3.547 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/6.493, allocations: 3.984 kB / 3.547 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009706/6.494, allocations: 0.818 MB / 3.548 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/6.494, allocations: 180.3 kB / 3.548 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/6.494, allocations: 12 kB / 3.548 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/6.495, allocations: 51.89 kB / 3.548 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/6.495, allocations: 27.97 kB / 3.548 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/6.495, allocations: 19.98 kB / 3.548 GB, free: 106.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003763/6.495, allocations: 342.8 kB / 3.549 GB, free: 105.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.495, allocations: 0 / 3.549 GB, free: 105.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00152/6.497, allocations: 0.4951 MB / 3.549 GB, free: 105.3 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 () * 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.002013/6.499, allocations: 1.409 MB / 3.55 GB, free: 103.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001391/6.5, allocations: 0.6646 MB / 3.551 GB, free: 103.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/6.5, allocations: 0 / 3.551 GB, free: 103.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/6.501, allocations: 225.3 kB / 3.551 GB, free: 103 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/6.502, allocations: 351.7 kB / 3.552 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/6.505, allocations: 1.702 MB / 3.553 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/6.505, allocations: 0.9538 MB / 3.554 GB, free: 99.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006981/6.506, allocations: 200.9 kB / 3.554 GB, free: 99.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/6.506, allocations: 47.44 kB / 3.554 GB, free: 99.66 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/6.506, allocations: 0 / 3.554 GB, free: 99.66 MB / 0.948 GB Notification: Performance of Templates: time 0.03617/6.542, allocations: 28.08 MB / 3.582 GB, free: 71.71 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)