Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Sensors.Examples.Velocity.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.142/5.142, allocations: 0.5623 GB / 0.5775 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002557/0.002556, allocations: 360.1 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.373/4.373, allocations: 410.7 MB / 1.113 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001827/0.001827, allocations: 183 kB / 1.226 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000672/0.0006723, allocations: 16 kB / 1.349 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.7777, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.792/7.57, allocations: 2.061 GB / 3.523 GB, free: 280.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/7.57, allocations: 98.7 kB / 3.523 GB, free: 280.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7826/8.353, allocations: 242.8 MB / 3.76 GB, free: 110 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.204e-06/8.353, allocations: 0 / 3.76 GB, free: 110 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.239e-05/8.353, allocations: 4 kB / 3.76 GB, free: 110 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.001621/8.354, allocations: 0.6896 MB / 3.76 GB, free: 109.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/8.354, allocations: 11.62 kB / 3.761 GB, free: 109.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/8.356, allocations: 155.4 kB / 3.761 GB, free: 109.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007144/8.357, allocations: 318.7 kB / 3.761 GB, free: 108.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/8.357, allocations: 24.5 kB / 3.761 GB, free: 108.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/8.357, allocations: 27.98 kB / 3.761 GB, free: 108.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007318/8.358, allocations: 281.9 kB / 3.761 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/8.358, allocations: 7.938 kB / 3.761 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/8.358, allocations: 8 kB / 3.761 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/8.358, allocations: 8 kB / 3.761 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006438/8.358, allocations: 211.9 kB / 3.761 GB, free: 108.2 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.00184/8.36, allocations: 1.215 MB / 3.763 GB, free: 106.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/8.361, allocations: 146.4 kB / 3.763 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/8.361, allocations: 96.78 kB / 3.763 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007112/8.362, allocations: 299.3 kB / 3.763 GB, free: 106.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/8.362, allocations: 30.56 kB / 3.763 GB, free: 106.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 2.675e-06/8.362, allocations: 0 / 3.763 GB, free: 106.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.001205/8.363, allocations: 289.4 kB / 3.764 GB, free: 105.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/8.363, allocations: 51.41 kB / 3.764 GB, free: 105.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/8.363, allocations: 328.5 kB / 3.764 GB, free: 105.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/8.364, allocations: 29.7 kB / 3.764 GB, free: 105.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/8.364, allocations: 180.1 kB / 3.764 GB, free: 105.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/8.364, allocations: 59.19 kB / 3.764 GB, free: 105.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/8.364, allocations: 7.938 kB / 3.764 GB, free: 105.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/8.364, allocations: 342.8 kB / 3.764 GB, free: 104.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/8.364, allocations: 68.77 kB / 3.765 GB, free: 104.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/8.364, allocations: 138.7 kB / 3.765 GB, free: 104.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/8.365, allocations: 79.97 kB / 3.765 GB, free: 104.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/8.365, allocations: 0 / 3.765 GB, free: 104.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007568/8.366, allocations: 261 kB / 3.765 GB, free: 104.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/8.366, allocations: 4 kB / 3.765 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/8.366, allocations: 0 / 3.765 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/8.366, allocations: 4 kB / 3.765 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/8.366, allocations: 47.91 kB / 3.765 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/8.366, allocations: 4 kB / 3.765 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/8.367, allocations: 39.8 kB / 3.765 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/8.367, allocations: 8 kB / 3.765 GB, free: 104.2 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.0002109/8.367, allocations: 169.6 kB / 3.765 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/8.367, allocations: 31.62 kB / 3.765 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00073/8.368, allocations: 224.6 kB / 3.765 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/8.368, allocations: 4 kB / 3.765 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/8.368, allocations: 0 / 3.765 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/8.368, allocations: 3.984 kB / 3.765 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/8.369, allocations: 0.6912 MB / 3.766 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/8.369, allocations: 4.219 kB / 3.766 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/8.369, allocations: 43.98 kB / 3.766 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/8.369, allocations: 4 kB / 3.766 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/8.369, allocations: 8 kB / 3.766 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/8.37, allocations: 3.953 kB / 3.766 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/8.37, allocations: 7.938 kB / 3.766 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/8.37, allocations: 440 kB / 3.767 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/8.371, allocations: 120.7 kB / 3.767 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/8.371, allocations: 4 kB / 3.767 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/8.371, allocations: 19.98 kB / 3.767 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/8.371, allocations: 23.94 kB / 3.767 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/8.371, allocations: 4 kB / 3.767 GB, free: 102.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003179/8.372, allocations: 231 kB / 3.767 GB, free: 102.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/8.372, allocations: 0 / 3.767 GB, free: 102.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009882/8.373, allocations: 183.8 kB / 3.767 GB, free: 101.9 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.001936/8.374, allocations: 1.026 MB / 3.768 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007907/8.375, allocations: 179.8 kB / 3.768 GB, free: 100.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/8.375, allocations: 0 / 3.768 GB, free: 100.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/8.376, allocations: 92.45 kB / 3.768 GB, free: 100.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/8.377, allocations: 167.4 kB / 3.769 GB, free: 100.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/8.379, allocations: 0.751 MB / 3.769 GB, free: 99.63 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/8.379, allocations: 0.7875 MB / 3.77 GB, free: 98.82 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004059/8.379, allocations: 54.94 kB / 3.77 GB, free: 98.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/8.38, allocations: 23.44 kB / 3.77 GB, free: 98.74 MB / 0.948 GB Notification: Performance of SimCode: time 1.703e-06/8.38, allocations: 4 kB / 3.77 GB, free: 98.74 MB / 0.948 GB Notification: Performance of Templates: time 0.04609/8.426, allocations: 17.9 MB / 3.788 GB, free: 80.97 MB / 0.948 GB