Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 192.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.665/1.665, allocations: 251.7 MB / 0.5088 GB, free: 3.344 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 67.67 kB / 0.6216 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.6502, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2001/0.8503, allocations: 165.3 MB / 0.8852 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003834/0.8543, allocations: 1.625 MB / 0.8868 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/0.8549, allocations: 7.938 kB / 0.8868 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.8556, allocations: 119.2 kB / 0.8869 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.858, allocations: 0.6691 MB / 0.8876 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.8599, allocations: 0.544 MB / 0.8881 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.8611, allocations: 0.9945 MB / 0.8891 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.8615, allocations: 197.2 kB / 0.8893 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007038/0.8622, allocations: 314.7 kB / 0.8896 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.8626, allocations: 243 kB / 0.8898 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.8626, allocations: 16 kB / 0.8898 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.8645, allocations: 1.005 MB / 0.8908 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.8647, allocations: 103.6 kB / 0.8909 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.8649, allocations: 167.1 kB / 0.8911 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.8661, allocations: 0.7829 MB / 0.8918 GB, free: 484 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.8661, allocations: 4 kB / 0.8918 GB, free: 480 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8661, allocations: 0 / 0.8918 GB, free: 480 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.8661, allocations: 0 / 0.8918 GB, free: 480 kB / 0.7012 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.001211/0.8673, allocations: 0.6545 MB / 0.8925 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.8674, allocations: 8.031 kB / 0.8925 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.8687, allocations: 159.4 kB / 0.8926 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.8691, allocations: 322.6 kB / 0.8929 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.8692, allocations: 20.56 kB / 0.893 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.8692, allocations: 27.88 kB / 0.893 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/0.8698, allocations: 281.9 kB / 0.8933 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.8698, allocations: 0 / 0.8933 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.8699, allocations: 11.98 kB / 0.8933 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.8699, allocations: 8 kB / 0.8933 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.8703, allocations: 208.9 kB / 0.8935 GB, free: 14.68 MB / 0.7169 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.001632/0.872, allocations: 1.219 MB / 0.8947 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.8723, allocations: 152.3 kB / 0.8948 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.8725, allocations: 96.8 kB / 0.8949 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006916/0.8732, allocations: 303.2 kB / 0.8952 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.8732, allocations: 34.5 kB / 0.8952 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.784e-06/0.8732, allocations: 0 / 0.8952 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0007826/0.874, allocations: 297.4 kB / 0.8955 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.8741, allocations: 63.39 kB / 0.8956 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.8745, allocations: 320.5 kB / 0.8959 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.8745, allocations: 25.7 kB / 0.8959 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.8747, allocations: 184.1 kB / 0.8961 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.8748, allocations: 55.2 kB / 0.8961 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.8749, allocations: 49.61 kB / 0.8962 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.8751, allocations: 338.8 kB / 0.8965 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.8753, allocations: 71.94 kB / 0.8966 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.8755, allocations: 129 kB / 0.8967 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.8759, allocations: 200.1 kB / 0.8969 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8759, allocations: 3.938 kB / 0.8969 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000456/0.8764, allocations: 249 kB / 0.8971 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.8764, allocations: 4.625 kB / 0.8971 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8764, allocations: 4 kB / 0.8971 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.8765, allocations: 3.938 kB / 0.8971 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.8767, allocations: 56 kB / 0.8972 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.8767, allocations: 4 kB / 0.8972 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.8769, allocations: 27.73 kB / 0.8972 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.877, allocations: 12 kB / 0.8972 GB, free: 10.57 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.8771, allocations: 157.6 kB / 0.8974 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.8772, allocations: 23.72 kB / 0.8974 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.8777, allocations: 242.8 kB / 0.8976 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8777, allocations: 0 / 0.8976 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8778, allocations: 0 / 0.8976 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8778, allocations: 4 kB / 0.8976 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.8788, allocations: 0.699 MB / 0.8983 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8788, allocations: 4 kB / 0.8983 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.879, allocations: 39.92 kB / 0.8984 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.879, allocations: 320 / 0.8984 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.8791, allocations: 15.92 kB / 0.8984 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.8791, allocations: 7.938 kB / 0.8984 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8791, allocations: 0 / 0.8984 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/0.8797, allocations: 452.9 kB / 0.8988 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.8799, allocations: 124.7 kB / 0.8989 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.8799, allocations: 7.984 kB / 0.8989 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.8801, allocations: 20 kB / 0.899 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.8802, allocations: 19.91 kB / 0.899 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.8802, allocations: 8 kB / 0.899 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002272/0.8805, allocations: 231 kB / 0.8992 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8805, allocations: 0 / 0.8992 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003864/0.8809, allocations: 83.84 kB / 0.8993 GB, free: 8.309 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004176/0.8813, allocations: 168.3 kB / 0.8994 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.8818, allocations: 167.8 kB / 0.8996 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8818, allocations: 3.938 kB / 0.8996 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.882, allocations: 96.38 kB / 0.8997 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.8829, allocations: 172.1 kB / 0.8999 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.884, allocations: 0.7295 MB / 0.9006 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.8844, allocations: 0.7797 MB / 0.9013 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.8846, allocations: 62.92 kB / 0.9014 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.8847, allocations: 27.44 kB / 0.9014 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8847, allocations: 0 / 0.9014 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.01057/0.8953, allocations: 5.528 MB / 0.9068 GB, free: 0.6094 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)