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.001296/0.001296, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001588/0.001588, allocations: 199 kB / 16.26 MB, free: 6.629 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.733/1.733, allocations: 205.1 MB / 222.1 MB, free: 4.762 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.605/1.605, allocations: 251.7 MB / 0.5089 GB, free: 3.27 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.001359/0.001359, allocations: 67.89 kB / 0.6217 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.617/0.6184, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1884/0.8068, allocations: 165.3 MB / 0.8854 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.8101, allocations: 1.597 MB / 0.8869 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.8104, allocations: 11.94 kB / 0.887 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000546/0.811, allocations: 127.2 kB / 0.8871 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.8128, allocations: 0.6692 MB / 0.8877 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.8144, allocations: 0.5538 MB / 0.8883 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.000845/0.8153, allocations: 0.7254 MB / 0.889 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.8156, allocations: 221.1 kB / 0.8892 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007024/0.8164, allocations: 346.7 kB / 0.8895 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.8167, allocations: 235 kB / 0.8897 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.8167, allocations: 27.94 kB / 0.8898 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.8183, allocations: 0.9038 MB / 0.8907 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.8185, allocations: 107.7 kB / 0.8908 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.8187, allocations: 171.1 kB / 0.8909 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.8199, allocations: 0.7985 MB / 0.8917 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.8199, allocations: 0 / 0.8917 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8199, allocations: 0 / 0.8917 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.8199, allocations: 0 / 0.8917 GB, free: 0.6875 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.001044/0.821, allocations: 0.6662 MB / 0.8924 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.821, allocations: 8.031 kB / 0.8924 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.8222, allocations: 155.3 kB / 0.8925 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.8226, allocations: 314.6 kB / 0.8928 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.8226, allocations: 24.5 kB / 0.8928 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.8227, allocations: 19.94 kB / 0.8929 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.8232, allocations: 285.9 kB / 0.8931 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.8232, allocations: 0 / 0.8931 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.8233, allocations: 8 kB / 0.8931 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.8233, allocations: 4 kB / 0.8931 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.8237, allocations: 208.9 kB / 0.8933 GB, free: 14.91 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.001508/0.8252, allocations: 1.227 MB / 0.8945 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.8255, allocations: 144.6 kB / 0.8947 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.8257, allocations: 100.8 kB / 0.8948 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006814/0.8264, allocations: 307.2 kB / 0.8951 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.8264, allocations: 34.56 kB / 0.8951 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.8265, allocations: 0 / 0.8951 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0008157/0.8273, allocations: 297.4 kB / 0.8954 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.8273, allocations: 51.41 kB / 0.8954 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.8277, allocations: 320.5 kB / 0.8957 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.8277, allocations: 29.7 kB / 0.8958 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.8278, allocations: 184.1 kB / 0.8959 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.8279, allocations: 63.19 kB / 0.896 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/0.828, allocations: 49.61 kB / 0.896 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8281, allocations: 342.8 kB / 0.8964 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.8283, allocations: 67.95 kB / 0.8964 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.8285, allocations: 129 kB / 0.8966 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.8289, allocations: 193 kB / 0.8967 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.8289, allocations: 3.938 kB / 0.8967 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000444/0.8293, allocations: 264 kB / 0.897 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.8293, allocations: 4 kB / 0.897 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.8294, allocations: 4 kB / 0.897 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.8294, allocations: 0 / 0.897 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.8296, allocations: 51.91 kB / 0.8971 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.8296, allocations: 11.92 kB / 0.8971 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.8298, allocations: 31.92 kB / 0.8971 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.8299, allocations: 8 kB / 0.8971 GB, free: 10.78 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.000163/0.83, allocations: 157.6 kB / 0.8973 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.8301, allocations: 31.62 kB / 0.8973 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.8306, allocations: 230.5 kB / 0.8975 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.8306, allocations: 0 / 0.8975 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8306, allocations: 4 kB / 0.8975 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.8306, allocations: 0 / 0.8975 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.8317, allocations: 0.7029 MB / 0.8982 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.8317, allocations: 4 kB / 0.8982 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.8318, allocations: 39.91 kB / 0.8982 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.8319, allocations: 4 kB / 0.8982 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.8319, allocations: 4 kB / 0.8982 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.8319, allocations: 11.94 kB / 0.8983 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8319, allocations: 0 / 0.8983 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.8325, allocations: 455.1 kB / 0.8987 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.8327, allocations: 128.7 kB / 0.8988 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.8327, allocations: 4 kB / 0.8988 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.8329, allocations: 19.92 kB / 0.8988 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.833, allocations: 15.92 kB / 0.8989 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.833, allocations: 12.06 kB / 0.8989 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000212/0.8332, allocations: 231 kB / 0.8991 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8332, allocations: 0 / 0.8991 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004017/0.8336, allocations: 79.94 kB / 0.8992 GB, free: 8.527 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.0004299/0.834, allocations: 166.1 kB / 0.8993 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000424/0.8345, allocations: 199.7 kB / 0.8995 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8345, allocations: 0 / 0.8995 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.8347, allocations: 91.83 kB / 0.8996 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/0.8356, allocations: 175 kB / 0.8998 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.8367, allocations: 0.7238 MB / 0.9005 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.8371, allocations: 0.7871 MB / 0.9012 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.8373, allocations: 66.92 kB / 0.9013 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.8373, allocations: 23.44 kB / 0.9013 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8373, allocations: 0 / 0.9013 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of Templates: time 0.0103/0.8476, allocations: 5.724 MB / 0.9069 GB, free: 0.6133 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)