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.000957/0.000957, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001511/0.001511, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.659/1.659, allocations: 252 MB / 0.5102 GB, free: 4.836 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.0006554/0.0006556, allocations: 12 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6154/0.6161, allocations: 106.4 MB / 0.7281 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1754/0.7915, allocations: 152.2 MB / 0.8768 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.7945, allocations: 1.528 MB / 0.8783 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.7949, allocations: 7.938 kB / 0.8783 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.7955, allocations: 107.2 kB / 0.8784 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.7971, allocations: 0.5131 MB / 0.8789 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.799, allocations: 449.9 kB / 0.8793 GB, free: 312 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.8001, allocations: 0.8462 MB / 0.8801 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.8005, allocations: 181.2 kB / 0.8803 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006981/0.8012, allocations: 318.7 kB / 0.8806 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.8016, allocations: 219.2 kB / 0.8808 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.8016, allocations: 12 kB / 0.8808 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.8028, allocations: 462.8 kB / 0.8813 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.803, allocations: 103.7 kB / 0.8814 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.8031, allocations: 85.52 kB / 0.8815 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006713/0.8037, allocations: 447 kB / 0.8819 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.8038, allocations: 0 / 0.8819 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8038, allocations: 0 / 0.8819 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.8038, allocations: 0 / 0.8819 GB, free: 13.66 MB / 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.0009486/0.8047, allocations: 0.6078 MB / 0.8825 GB, free: 13 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.8048, allocations: 8.031 kB / 0.8825 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.8059, allocations: 159.4 kB / 0.8826 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.8063, allocations: 314.7 kB / 0.8829 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.8064, allocations: 24.55 kB / 0.883 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.8064, allocations: 27.91 kB / 0.883 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.8069, allocations: 285.8 kB / 0.8833 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.8069, allocations: 0 / 0.8833 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.807, allocations: 12 kB / 0.8833 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.807, allocations: 11.94 kB / 0.8833 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.8074, allocations: 208.9 kB / 0.8835 GB, free: 11.91 MB / 0.7012 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.001441/0.8089, allocations: 1.23 MB / 0.8847 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.8091, allocations: 154.5 kB / 0.8848 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.8093, allocations: 100.8 kB / 0.8849 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.81, allocations: 315.2 kB / 0.8852 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.8101, allocations: 38.56 kB / 0.8853 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.8101, allocations: 0 / 0.8853 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of matching and sorting (n=17): time 0.0008443/0.8109, allocations: 311 kB / 0.8856 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.811, allocations: 55.41 kB / 0.8856 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.8114, allocations: 324.5 kB / 0.8859 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.8114, allocations: 25.7 kB / 0.8859 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.8116, allocations: 184.2 kB / 0.8861 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.8116, allocations: 63.09 kB / 0.8862 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.8116, allocations: 0 / 0.8862 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.8118, allocations: 342.8 kB / 0.8865 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.812, allocations: 71.95 kB / 0.8866 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.8123, allocations: 131.5 kB / 0.8867 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.8125, allocations: 94.86 kB / 0.8868 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.8125, allocations: 3.953 kB / 0.8868 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005405/0.813, allocations: 261.1 kB / 0.887 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.8131, allocations: 4 kB / 0.8871 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.8131, allocations: 8.094 kB / 0.8871 GB, free: 8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.8131, allocations: 0 / 0.8871 GB, free: 8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.8133, allocations: 43.98 kB / 0.8871 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.8134, allocations: 7.922 kB / 0.8871 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.8136, allocations: 43.67 kB / 0.8872 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.8137, allocations: 8 kB / 0.8872 GB, free: 7.898 MB / 0.7012 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.0001758/0.8138, allocations: 153.8 kB / 0.8873 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.8139, allocations: 27.67 kB / 0.8873 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005353/0.8144, allocations: 238.5 kB / 0.8876 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.8145, allocations: 8 kB / 0.8876 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/0.8145, allocations: 3.984 kB / 0.8876 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.8145, allocations: 0 / 0.8876 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.8157, allocations: 0.7223 MB / 0.8883 GB, free: 6.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.8157, allocations: 7.938 kB / 0.8883 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.8159, allocations: 31.98 kB / 0.8883 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.8159, allocations: 4.219 kB / 0.8883 GB, free: 6.617 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.8159, allocations: 4 kB / 0.8883 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.8159, allocations: 11.92 kB / 0.8883 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.8159, allocations: 4 kB / 0.8883 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.8167, allocations: 468.8 kB / 0.8888 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.8169, allocations: 124.7 kB / 0.8889 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.8169, allocations: 8 kB / 0.8889 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.8171, allocations: 11.98 kB / 0.8889 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.8172, allocations: 23.92 kB / 0.8889 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.8172, allocations: 8.062 kB / 0.889 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002551/0.8175, allocations: 231 kB / 0.8892 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8175, allocations: 0 / 0.8892 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004637/0.818, allocations: 83.84 kB / 0.8893 GB, free: 5.605 MB / 0.7012 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.0004486/0.8184, allocations: 171 kB / 0.8894 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004475/0.8189, allocations: 191.8 kB / 0.8896 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8189, allocations: 0 / 0.8896 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.8191, allocations: 104.4 kB / 0.8897 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/0.82, allocations: 145.3 kB / 0.8898 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.8212, allocations: 0.7511 MB / 0.8906 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.8216, allocations: 0.7797 MB / 0.8913 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002503/0.8218, allocations: 66.92 kB / 0.8914 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.8219, allocations: 27.44 kB / 0.8914 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of SimCode: time 3.1e-07/0.8219, allocations: 0 / 0.8914 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of Templates: time 0.01121/0.8331, allocations: 5.363 MB / 0.8967 GB, free: 14.04 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: