Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 293 MB / 309 MB, free: 4.648 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.00105/0.00105, allocations: 183.2 kB / 378.7 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.4 MB / 0.6383 GB, free: 8.238 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.0009266/0.0009262, allocations: 102.8 kB / 0.7527 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004266, allocations: 12 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3226, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.193/6.516, allocations: 2.062 GB / 3.053 GB, free: 155.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/6.516, allocations: 90.61 kB / 3.053 GB, free: 155.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.014/7.53, allocations: 242.8 MB / 3.29 GB, free: 227.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.326e-06/7.53, allocations: 0 / 3.29 GB, free: 227.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.051e-05/7.53, allocations: 13.22 kB / 3.29 GB, free: 227.6 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002652/7.533, allocations: 0.6757 MB / 3.291 GB, free: 227 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/7.533, allocations: 9.281 kB / 3.291 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/7.535, allocations: 152.8 kB / 3.291 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/7.535, allocations: 331.2 kB / 3.291 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/7.535, allocations: 14.91 kB / 3.291 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/7.536, allocations: 23.78 kB / 3.291 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007365/7.536, allocations: 286.7 kB / 3.291 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/7.536, allocations: 0 / 3.291 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/7.536, allocations: 7.828 kB / 3.291 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/7.536, allocations: 3.031 kB / 3.291 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/7.537, allocations: 203.1 kB / 3.292 GB, free: 226.5 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.00205/7.539, allocations: 1.206 MB / 3.293 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/7.539, allocations: 135 kB / 3.293 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/7.54, allocations: 90.67 kB / 3.293 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/7.54, allocations: 301.8 kB / 3.293 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/7.54, allocations: 38.59 kB / 3.293 GB, free: 225.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 2.655e-06/7.54, allocations: 0 / 3.293 GB, free: 225.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.000925/7.541, allocations: 263 kB / 3.294 GB, free: 225 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/7.541, allocations: 66.31 kB / 3.294 GB, free: 224.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/7.542, allocations: 317.3 kB / 3.294 GB, free: 224.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/7.542, allocations: 25.7 kB / 3.294 GB, free: 224.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/7.542, allocations: 179.3 kB / 3.294 GB, free: 224.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/7.542, allocations: 53.7 kB / 3.294 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/7.542, allocations: 4 kB / 3.294 GB, free: 224.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001188/7.542, allocations: 337.9 kB / 3.295 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/7.542, allocations: 64.7 kB / 3.295 GB, free: 224.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/7.542, allocations: 133.7 kB / 3.295 GB, free: 224.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/7.543, allocations: 185.3 kB / 3.295 GB, free: 224 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/7.543, allocations: 0 / 3.295 GB, free: 224 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005213/7.543, allocations: 236.5 kB / 3.295 GB, free: 223.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/7.543, allocations: 3.156 kB / 3.295 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/7.543, allocations: 3.938 kB / 3.295 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/7.543, allocations: 7.188 kB / 3.295 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/7.544, allocations: 48.06 kB / 3.295 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/7.544, allocations: 3.797 kB / 3.295 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/7.544, allocations: 36.92 kB / 3.295 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/7.544, allocations: 11.25 kB / 3.295 GB, free: 223.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001646/7.544, allocations: 154.3 kB / 3.295 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/7.544, allocations: 28.44 kB / 3.295 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/7.545, allocations: 225.1 kB / 3.296 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/7.545, allocations: 1.984 kB / 3.296 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/7.545, allocations: 5.125 kB / 3.296 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/7.545, allocations: 0.7969 kB / 3.296 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/7.546, allocations: 0.6758 MB / 3.296 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/7.546, allocations: 2.312 kB / 3.296 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/7.546, allocations: 39.48 kB / 3.296 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.026e-06/7.546, allocations: 6.797 kB / 3.296 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/7.546, allocations: 4.062 kB / 3.296 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/7.546, allocations: 3.031 kB / 3.296 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/7.546, allocations: 2.438 kB / 3.296 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/7.547, allocations: 429.4 kB / 3.297 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/7.547, allocations: 117 kB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/7.547, allocations: 12.61 kB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/7.548, allocations: 19.38 kB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/7.548, allocations: 18.31 kB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/7.548, allocations: 5.969 kB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003062/7.548, allocations: 223 kB / 3.297 GB, free: 222.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.11e-07/7.548, allocations: 5.094 kB / 3.297 GB, free: 222.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009527/7.549, allocations: 173.5 kB / 3.297 GB, free: 222.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002389/7.551, allocations: 1.035 MB / 3.298 GB, free: 222.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005526/7.552, allocations: 175.2 kB / 3.299 GB, free: 222.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/7.552, allocations: 0 / 3.299 GB, free: 222.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/7.552, allocations: 87.66 kB / 3.299 GB, free: 222 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/7.553, allocations: 165.1 kB / 3.299 GB, free: 222 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/7.555, allocations: 0.6986 MB / 3.299 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/7.555, allocations: 0.7774 MB / 3.3 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003329/7.555, allocations: 61.83 kB / 3.3 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/7.556, allocations: 26.31 kB / 3.3 GB, free: 220.8 MB / 0.948 GB Notification: Performance of SimCode: time 8.22e-07/7.556, allocations: 0 / 3.3 GB, free: 220.8 MB / 0.948 GB Notification: Performance of Templates: time 0.0345/7.59, allocations: 17.94 MB / 3.318 GB, free: 219.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)