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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.00127/0.00127, allocations: 169.1 kB / 377.1 MB, free: 1.535 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.968/1.968, allocations: 205.4 MB / 0.6367 GB, free: 8.645 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.0008934/0.0008937, allocations: 95.38 kB / 0.751 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004054, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3118, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.216/7.528, allocations: 2.062 GB / 3.051 GB, free: 119.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005084/7.529, allocations: 89.08 kB / 3.051 GB, free: 119.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.371/8.9, allocations: 243.4 MB / 3.289 GB, free: 224.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.305e-06/8.9, allocations: 3.938 kB / 3.289 GB, free: 224.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.886e-05/8.9, allocations: 7.375 kB / 3.289 GB, free: 224.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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002336/8.903, allocations: 0.69 MB / 3.289 GB, free: 224 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.966e-05/8.903, allocations: 13.16 kB / 3.289 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/8.904, allocations: 149.7 kB / 3.289 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008967/8.905, allocations: 327.1 kB / 3.29 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/8.905, allocations: 19.06 kB / 3.29 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/8.905, allocations: 20.16 kB / 3.29 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/8.906, allocations: 289.7 kB / 3.29 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/8.906, allocations: 0.8438 kB / 3.29 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/8.906, allocations: 6.375 kB / 3.29 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/8.906, allocations: 10.09 kB / 3.29 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/8.907, allocations: 206 kB / 3.29 GB, free: 223.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.002155/8.909, allocations: 1.228 MB / 3.291 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/8.909, allocations: 135.9 kB / 3.292 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/8.91, allocations: 298.6 kB / 3.292 GB, free: 222.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/8.91, allocations: 35.56 kB / 3.292 GB, free: 222.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 4.568e-06/8.91, allocations: 0 / 3.292 GB, free: 222.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.001054/8.911, allocations: 285.6 kB / 3.292 GB, free: 222 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/8.911, allocations: 57.89 kB / 3.292 GB, free: 221.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/8.911, allocations: 285 kB / 3.292 GB, free: 221.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/8.911, allocations: 30.8 kB / 3.292 GB, free: 221.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/8.912, allocations: 183.7 kB / 3.293 GB, free: 221.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/8.912, allocations: 62.11 kB / 3.293 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/8.912, allocations: 5.344 kB / 3.293 GB, free: 221.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001648/8.912, allocations: 341.8 kB / 3.293 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/8.912, allocations: 66.91 kB / 3.293 GB, free: 221.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/8.912, allocations: 145.5 kB / 3.293 GB, free: 221.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/8.913, allocations: 85.64 kB / 3.293 GB, free: 221.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/8.913, allocations: 0 / 3.293 GB, free: 221.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007155/8.914, allocations: 248.7 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/8.914, allocations: 5.094 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/8.914, allocations: 6.469 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/8.914, allocations: 6.5 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/8.914, allocations: 48.75 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/8.914, allocations: 2.656 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/8.914, allocations: 36.58 kB / 3.294 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/8.914, allocations: 7.75 kB / 3.294 GB, free: 220.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 (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.0002476/8.915, allocations: 164.3 kB / 3.294 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/8.915, allocations: 30.69 kB / 3.294 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006446/8.915, allocations: 227.1 kB / 3.294 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/8.915, allocations: 6.344 kB / 3.294 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/8.915, allocations: 0 / 3.294 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/8.915, allocations: 1.25 kB / 3.294 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/8.917, allocations: 0.6985 MB / 3.295 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/8.917, allocations: 1.969 kB / 3.295 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/8.917, allocations: 40.95 kB / 3.295 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/8.917, allocations: 2.469 kB / 3.295 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/8.917, allocations: 15.11 kB / 3.295 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.934e-06/8.917, allocations: 3.25 kB / 3.295 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/8.917, allocations: 2.094 kB / 3.295 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009413/8.918, allocations: 0.517 MB / 3.295 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/8.919, allocations: 130.3 kB / 3.295 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/8.919, allocations: 11.38 kB / 3.295 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/8.919, allocations: 18.38 kB / 3.295 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/8.919, allocations: 23.22 kB / 3.296 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/8.919, allocations: 6.219 kB / 3.296 GB, free: 219.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003322/8.919, allocations: 224.9 kB / 3.296 GB, free: 219.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/8.919, allocations: 0 / 3.296 GB, free: 219.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00124/8.921, allocations: 176.7 kB / 3.296 GB, free: 219.4 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.00326/8.924, allocations: 1.029 MB / 3.297 GB, free: 219 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006754/8.925, allocations: 181.7 kB / 3.297 GB, free: 219 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/8.925, allocations: 0 / 3.297 GB, free: 219 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/8.925, allocations: 95.56 kB / 3.297 GB, free: 218.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/8.926, allocations: 161.7 kB / 3.297 GB, free: 218.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/8.928, allocations: 0.7426 MB / 3.298 GB, free: 218.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/8.928, allocations: 0.7937 MB / 3.299 GB, free: 217.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003245/8.928, allocations: 59.38 kB / 3.299 GB, free: 217.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.535e-05/8.929, allocations: 28.94 kB / 3.299 GB, free: 217.7 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/8.929, allocations: 4 kB / 3.299 GB, free: 217.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03109/8.96, allocations: 17.87 MB / 3.316 GB, free: 213.7 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)