Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.775/1.775, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 175 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 0.6626 GB, free: 4.359 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.0008937, allocations: 93.56 kB / 0.7808 GB, free: 43.74 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005307/0.000531, allocations: 13 kB / 0.9088 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8474/0.848, allocations: 120.3 MB / 1.026 GB, free: 56.73 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.401/6.249, allocations: 1.899 GB / 2.925 GB, free: 286.5 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/6.25, allocations: 87.95 kB / 2.925 GB, free: 286.4 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.4742/6.724, allocations: 246.5 MB / 3.166 GB, free: 34.8 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.645e-06/6.724, allocations: 4 kB / 3.166 GB, free: 34.79 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.802e-05/6.724, allocations: 8 kB / 3.166 GB, free: 34.79 MB / 0.9792 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.001926/6.726, allocations: 0.6858 MB / 3.166 GB, free: 34.05 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/6.726, allocations: 12.03 kB / 3.166 GB, free: 34.04 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/6.727, allocations: 152.4 kB / 3.167 GB, free: 33.89 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/6.728, allocations: 332 kB / 3.167 GB, free: 33.52 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/6.728, allocations: 16.94 kB / 3.167 GB, free: 33.51 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/6.728, allocations: 24.38 kB / 3.167 GB, free: 33.48 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/6.729, allocations: 282.5 kB / 3.167 GB, free: 33.18 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/6.729, allocations: 11.81 kB / 3.167 GB, free: 33.17 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/6.729, allocations: 12 kB / 3.167 GB, free: 33.16 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/6.729, allocations: 4 kB / 3.167 GB, free: 33.16 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/6.729, allocations: 205.7 kB / 3.167 GB, free: 32.96 MB / 0.9792 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.001436/6.731, allocations: 1.219 MB / 3.169 GB, free: 31.64 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/6.731, allocations: 142.5 kB / 3.169 GB, free: 31.49 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/6.731, allocations: 88.81 kB / 3.169 GB, free: 31.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/6.732, allocations: 303.2 kB / 3.169 GB, free: 31.05 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/6.732, allocations: 42.48 kB / 3.169 GB, free: 31 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=17): time 1.843e-06/6.732, allocations: 0 / 3.169 GB, free: 31 MB / 0.9792 GB Notification: Performance of matching and sorting (n=17): time 0.0007484/6.732, allocations: 287.4 kB / 3.169 GB, free: 30.71 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/6.732, allocations: 55.41 kB / 3.169 GB, free: 30.64 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/6.733, allocations: 316.5 kB / 3.17 GB, free: 30.33 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/6.733, allocations: 29.7 kB / 3.17 GB, free: 30.29 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 9.652e-05/6.733, allocations: 188.1 kB / 3.17 GB, free: 30.11 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/6.733, allocations: 59.11 kB / 3.17 GB, free: 30.05 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/6.733, allocations: 11.88 kB / 3.17 GB, free: 30.04 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/6.733, allocations: 338.8 kB / 3.17 GB, free: 29.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/6.733, allocations: 71.95 kB / 3.17 GB, free: 29.62 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/6.733, allocations: 133.9 kB / 3.171 GB, free: 29.47 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/6.734, allocations: 198.8 kB / 3.171 GB, free: 29.26 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/6.734, allocations: 0 / 3.171 GB, free: 29.26 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004172/6.734, allocations: 247 kB / 3.171 GB, free: 29.02 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/6.734, allocations: 7.938 kB / 3.171 GB, free: 29.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/6.734, allocations: 0 / 3.171 GB, free: 29.01 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/6.734, allocations: 4 kB / 3.171 GB, free: 29 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/6.734, allocations: 51.91 kB / 3.171 GB, free: 28.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/6.734, allocations: 8.094 kB / 3.171 GB, free: 28.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/6.735, allocations: 39.67 kB / 3.171 GB, free: 28.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/6.735, allocations: 8 kB / 3.171 GB, free: 28.9 MB / 0.9792 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.0001395/6.735, allocations: 153.8 kB / 3.171 GB, free: 28.74 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/6.735, allocations: 35.56 kB / 3.171 GB, free: 28.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/6.735, allocations: 232.7 kB / 3.172 GB, free: 28.47 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/6.735, allocations: 4 kB / 3.172 GB, free: 28.47 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/6.735, allocations: 0 / 3.172 GB, free: 28.47 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/6.735, allocations: 3.984 kB / 3.172 GB, free: 28.46 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/6.736, allocations: 0.699 MB / 3.172 GB, free: 27.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/6.736, allocations: 4 kB / 3.172 GB, free: 27.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/6.737, allocations: 35.92 kB / 3.172 GB, free: 27.65 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/6.737, allocations: 4.094 kB / 3.172 GB, free: 27.64 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/6.737, allocations: 11.98 kB / 3.172 GB, free: 27.63 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/6.737, allocations: 0 / 3.172 GB, free: 27.63 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/6.737, allocations: 7.938 kB / 3.172 GB, free: 27.62 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/6.737, allocations: 443 kB / 3.173 GB, free: 27.16 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/6.737, allocations: 116.8 kB / 3.173 GB, free: 27.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/6.737, allocations: 8 kB / 3.173 GB, free: 27.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/6.738, allocations: 27.89 kB / 3.173 GB, free: 26.99 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/6.738, allocations: 23.86 kB / 3.173 GB, free: 26.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/6.738, allocations: 4 kB / 3.173 GB, free: 26.96 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000206/6.738, allocations: 227 kB / 3.173 GB, free: 26.74 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.3e-07/6.738, allocations: 3.938 kB / 3.173 GB, free: 26.74 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0008073/6.739, allocations: 176 kB / 3.173 GB, free: 26.57 MB / 0.9792 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.001762/6.74, allocations: 1.033 MB / 3.174 GB, free: 25.52 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004364/6.741, allocations: 177.7 kB / 3.174 GB, free: 25.35 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/6.741, allocations: 0 / 3.174 GB, free: 25.35 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/6.741, allocations: 92.14 kB / 3.175 GB, free: 25.26 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009487/6.742, allocations: 157.6 kB / 3.175 GB, free: 25.11 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/6.743, allocations: 0.7433 MB / 3.175 GB, free: 24.31 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/6.743, allocations: 0.7758 MB / 3.176 GB, free: 23.51 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002485/6.744, allocations: 74.84 kB / 3.176 GB, free: 23.44 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/6.744, allocations: 23.44 kB / 3.176 GB, free: 23.42 MB / 0.9792 GB Notification: Performance of SimCode: time 3.1e-07/6.744, allocations: 4 kB / 3.176 GB, free: 23.41 MB / 0.9792 GB Notification: Performance of Templates: time 0.0248/6.769, allocations: 18.03 MB / 3.194 GB, free: 5.461 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)