Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 293 MB / 309 MB, free: 4.84 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.001039/0.001039, allocations: 172.2 kB / 378.7 MB, free: 1.027 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.917/1.917, allocations: 205.4 MB / 0.6383 GB, free: 8.227 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.0008968/0.0008963, allocations: 92.66 kB / 0.7527 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004572, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.332, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.106/6.438, allocations: 2.063 GB / 3.053 GB, free: 155 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/6.438, allocations: 89.02 kB / 3.053 GB, free: 154.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.046/7.484, allocations: 242.9 MB / 3.29 GB, free: 227.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.655e-06/7.485, allocations: 0 / 3.29 GB, free: 227.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.074e-05/7.485, allocations: 6.594 kB / 3.29 GB, free: 227.2 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002143/7.487, allocations: 0.694 MB / 3.291 GB, free: 226.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/7.487, allocations: 13.73 kB / 3.291 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/7.489, allocations: 156.9 kB / 3.291 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/7.49, allocations: 330.1 kB / 3.291 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/7.49, allocations: 22 kB / 3.291 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/7.49, allocations: 28.41 kB / 3.291 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/7.491, allocations: 281.3 kB / 3.292 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/7.491, allocations: 3.938 kB / 3.292 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/7.491, allocations: 15.58 kB / 3.292 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/7.491, allocations: 6.219 kB / 3.292 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/7.491, allocations: 200.6 kB / 3.292 GB, free: 226.1 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.002066/7.493, allocations: 1.22 MB / 3.293 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/7.494, allocations: 143.6 kB / 3.293 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/7.494, allocations: 94.28 kB / 3.293 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005746/7.495, allocations: 296 kB / 3.294 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/7.495, allocations: 43.09 kB / 3.294 GB, free: 224.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 2.524e-06/7.495, allocations: 0 / 3.294 GB, free: 224.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.001116/7.496, allocations: 293.2 kB / 3.294 GB, free: 224.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/7.496, allocations: 51.41 kB / 3.294 GB, free: 224.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/7.496, allocations: 318.2 kB / 3.294 GB, free: 224.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/7.496, allocations: 27.8 kB / 3.294 GB, free: 224.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/7.497, allocations: 179.8 kB / 3.295 GB, free: 224.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/7.497, allocations: 62.66 kB / 3.295 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/7.497, allocations: 9 kB / 3.295 GB, free: 224.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001179/7.497, allocations: 339.7 kB / 3.295 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/7.497, allocations: 70.86 kB / 3.295 GB, free: 223.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/7.498, allocations: 140.8 kB / 3.295 GB, free: 223.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/7.498, allocations: 195.1 kB / 3.295 GB, free: 223.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/7.498, allocations: 3.188 kB / 3.295 GB, free: 223.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007068/7.499, allocations: 252 kB / 3.296 GB, free: 223.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/7.499, allocations: 9.438 kB / 3.296 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/7.499, allocations: 3.438 kB / 3.296 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/7.499, allocations: 3.062 kB / 3.296 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/7.499, allocations: 51.67 kB / 3.296 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/7.499, allocations: 6.891 kB / 3.296 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/7.5, allocations: 36.14 kB / 3.296 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/7.5, allocations: 12.28 kB / 3.296 GB, free: 223.4 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 (24): * Single equations (assignments): 24 * 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.0002535/7.5, allocations: 154.6 kB / 3.296 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/7.5, allocations: 37.98 kB / 3.296 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007334/7.501, allocations: 229.7 kB / 3.296 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/7.501, allocations: 1.969 kB / 3.296 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/7.501, allocations: 0 / 3.296 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/7.501, allocations: 1.219 kB / 3.296 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/7.503, allocations: 0.6974 MB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/7.503, allocations: 2.781 kB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/7.503, allocations: 42.88 kB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/7.503, allocations: 3.391 kB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/7.503, allocations: 3.594 kB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/7.503, allocations: 3.141 kB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/7.503, allocations: 2.719 kB / 3.297 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/7.504, allocations: 453.9 kB / 3.297 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/7.505, allocations: 121.4 kB / 3.297 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/7.505, allocations: 8.859 kB / 3.297 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/7.505, allocations: 15.73 kB / 3.297 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/7.505, allocations: 27.59 kB / 3.297 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/7.505, allocations: 5.719 kB / 3.297 GB, free: 222.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004467/7.506, allocations: 227.5 kB / 3.298 GB, free: 222.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.01e-07/7.506, allocations: 0 / 3.298 GB, free: 222.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001454/7.507, allocations: 175.9 kB / 3.298 GB, free: 222 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 (17): * Single equations (assignments): 17 * 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.003685/7.511, allocations: 1.027 MB / 3.299 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009647/7.512, allocations: 189.3 kB / 3.299 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/7.512, allocations: 1.125 kB / 3.299 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004138/7.512, allocations: 86.58 kB / 3.299 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/7.514, allocations: 164.1 kB / 3.299 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/7.516, allocations: 0.7482 MB / 3.3 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/7.517, allocations: 0.7822 MB / 3.301 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005135/7.518, allocations: 64.03 kB / 3.301 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/7.518, allocations: 25.75 kB / 3.301 GB, free: 220.3 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/7.518, allocations: 0 / 3.301 GB, free: 220.3 MB / 0.948 GB Notification: Performance of Templates: time 0.04868/7.566, allocations: 18 MB / 3.318 GB, free: 218.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)