Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002652/0.002652, allocations: 357.8 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.431/1.431, allocations: 165.8 MB / 183.1 MB, free: 5.449 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.718/3.718, allocations: 410.8 MB / 0.6001 GB, free: 15.11 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001774/0.001773, allocations: 185.8 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005151/0.0005153, allocations: 19.98 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4025, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.994/6.397, allocations: 2.023 GB / 2.831 GB, free: 73.17 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/6.397, allocations: 95.33 kB / 2.831 GB, free: 73.12 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.148/7.546, allocations: 242.8 MB / 3.069 GB, free: 65.93 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.724e-06/7.546, allocations: 3.938 kB / 3.069 GB, free: 65.92 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.232e-05/7.546, allocations: 12 kB / 3.069 GB, free: 65.91 MB / 0.573 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.001459/7.547, allocations: 0.6856 MB / 3.069 GB, free: 65.18 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/7.547, allocations: 12.02 kB / 3.069 GB, free: 65.16 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/7.549, allocations: 147.5 kB / 3.069 GB, free: 65.02 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007133/7.55, allocations: 326.8 kB / 3.07 GB, free: 64.66 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/7.55, allocations: 16.56 kB / 3.07 GB, free: 64.64 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/7.55, allocations: 30.52 kB / 3.07 GB, free: 64.61 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/7.55, allocations: 285.8 kB / 3.07 GB, free: 64.31 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/7.55, allocations: 0 / 3.07 GB, free: 64.31 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/7.551, allocations: 4 kB / 3.07 GB, free: 64.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/7.551, allocations: 11.94 kB / 3.07 GB, free: 64.29 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006308/7.551, allocations: 200.9 kB / 3.07 GB, free: 64.1 MB / 0.573 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.00182/7.553, allocations: 1.238 MB / 3.071 GB, free: 62.76 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/7.553, allocations: 138.5 kB / 3.072 GB, free: 62.61 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/7.554, allocations: 92.8 kB / 3.072 GB, free: 62.52 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/7.554, allocations: 295.3 kB / 3.072 GB, free: 62.18 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/7.554, allocations: 34.56 kB / 3.072 GB, free: 62.13 MB / 0.573 GB Notification: Performance of pre-optimization done (n=17): time 3.226e-06/7.554, allocations: 0 / 3.072 GB, free: 62.13 MB / 0.573 GB Notification: Performance of matching and sorting (n=17): time 0.001236/7.556, allocations: 293.3 kB / 3.072 GB, free: 61.84 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/7.556, allocations: 51.41 kB / 3.072 GB, free: 61.78 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/7.556, allocations: 316.5 kB / 3.073 GB, free: 61.46 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/7.556, allocations: 29.7 kB / 3.073 GB, free: 61.42 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/7.556, allocations: 188.1 kB / 3.073 GB, free: 61.23 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/7.557, allocations: 59.19 kB / 3.073 GB, free: 61.18 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/7.557, allocations: 4 kB / 3.073 GB, free: 61.17 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/7.557, allocations: 338.8 kB / 3.073 GB, free: 60.83 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/7.557, allocations: 67.95 kB / 3.073 GB, free: 60.77 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/7.557, allocations: 135.6 kB / 3.073 GB, free: 60.61 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/7.558, allocations: 83.91 kB / 3.073 GB, free: 60.53 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/7.558, allocations: 3.953 kB / 3.073 GB, free: 60.52 MB / 0.573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007551/7.558, allocations: 253.6 kB / 3.074 GB, free: 60.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/7.558, allocations: 4.094 kB / 3.074 GB, free: 60.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/7.558, allocations: 4 kB / 3.074 GB, free: 60.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/7.558, allocations: 4 kB / 3.074 GB, free: 60.26 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/7.559, allocations: 51.91 kB / 3.074 GB, free: 60.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/7.559, allocations: 4 kB / 3.074 GB, free: 60.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/7.559, allocations: 35.67 kB / 3.074 GB, free: 60.17 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/7.559, allocations: 16 kB / 3.074 GB, free: 60.15 MB / 0.573 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.0002101/7.56, allocations: 153.8 kB / 3.074 GB, free: 59.99 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/7.56, allocations: 35.67 kB / 3.074 GB, free: 59.96 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007357/7.56, allocations: 236 kB / 3.074 GB, free: 59.73 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/7.56, allocations: 4 kB / 3.074 GB, free: 59.72 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/7.56, allocations: 0 / 3.074 GB, free: 59.72 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/7.56, allocations: 3.938 kB / 3.074 GB, free: 59.72 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/7.562, allocations: 0.695 MB / 3.075 GB, free: 58.95 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/7.562, allocations: 4 kB / 3.075 GB, free: 58.94 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/7.562, allocations: 44.12 kB / 3.075 GB, free: 58.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/7.562, allocations: 8 kB / 3.075 GB, free: 58.89 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/7.562, allocations: 4 kB / 3.075 GB, free: 58.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/7.562, allocations: 0 / 3.075 GB, free: 58.89 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/7.562, allocations: 4 kB / 3.075 GB, free: 58.88 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000966/7.563, allocations: 444.9 kB / 3.075 GB, free: 58.41 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/7.563, allocations: 128.7 kB / 3.076 GB, free: 58.27 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/7.564, allocations: 4 kB / 3.076 GB, free: 58.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/7.564, allocations: 15.98 kB / 3.076 GB, free: 58.25 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/7.564, allocations: 24 kB / 3.076 GB, free: 58.22 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/7.564, allocations: 8 kB / 3.076 GB, free: 58.21 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003235/7.564, allocations: 227 kB / 3.076 GB, free: 58 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.81e-07/7.564, allocations: 3.938 kB / 3.076 GB, free: 57.99 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008665/7.565, allocations: 179.9 kB / 3.076 GB, free: 57.82 MB / 0.573 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.001637/7.567, allocations: 1.026 MB / 3.077 GB, free: 56.79 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006996/7.568, allocations: 188 kB / 3.077 GB, free: 56.61 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/7.568, allocations: 0 / 3.077 GB, free: 56.61 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/7.568, allocations: 87.83 kB / 3.077 GB, free: 56.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/7.569, allocations: 157.4 kB / 3.077 GB, free: 56.38 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/7.571, allocations: 0.743 MB / 3.078 GB, free: 55.58 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/7.571, allocations: 0.7875 MB / 3.079 GB, free: 54.77 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003791/7.571, allocations: 66.92 kB / 3.079 GB, free: 54.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.943e-05/7.572, allocations: 23.44 kB / 3.079 GB, free: 54.68 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/7.572, allocations: 0 / 3.079 GB, free: 54.68 MB / 0.573 GB Notification: Performance of Templates: time 0.0382/7.61, allocations: 17.91 MB / 3.096 GB, free: 36.83 MB / 0.573 GB