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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 251.5 MB / 267.4 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 179.9 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007304/0.0007306, allocations: 86.36 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8.281 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2329, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7194/0.9524, allocations: 165 MB / 1.058 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002758/0.9552, allocations: 1.612 MB / 1.059 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.9555, allocations: 10.78 kB / 1.059 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.956, allocations: 117.9 kB / 1.06 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.9576, allocations: 0.6698 MB / 1.06 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.9593, allocations: 0.5523 MB / 1.061 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.9607, allocations: 0.9808 MB / 1.062 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.9611, allocations: 195 kB / 1.062 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.9618, allocations: 318 kB / 1.062 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.9622, allocations: 236.7 kB / 1.062 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.9622, allocations: 14.78 kB / 1.062 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.9641, allocations: 1.01 MB / 1.063 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.9643, allocations: 103.1 kB / 1.063 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.9645, allocations: 161 kB / 1.064 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009327/0.9654, allocations: 0.5043 MB / 1.064 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9655, allocations: 0 / 1.064 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9655, allocations: 0 / 1.064 GB, free: 1.734 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.9655, allocations: 0 / 1.064 GB, free: 1.734 MB / 0.698 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.001175/0.9667, allocations: 0.6094 MB / 1.065 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9667, allocations: 10.41 kB / 1.065 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.968, allocations: 151 kB / 1.065 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.9684, allocations: 317.2 kB / 1.065 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.9685, allocations: 20.42 kB / 1.065 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.9685, allocations: 24.12 kB / 1.065 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.9691, allocations: 287.6 kB / 1.066 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.9691, allocations: 1.031 kB / 1.066 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.9692, allocations: 12.66 kB / 1.066 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.9692, allocations: 7.719 kB / 1.066 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.9697, allocations: 217.2 kB / 1.066 GB, free: 16.91 MB / 0.7136 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.001729/0.9714, allocations: 1.231 MB / 1.067 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.9718, allocations: 153.5 kB / 1.067 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.9721, allocations: 97.86 kB / 1.067 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007222/0.9728, allocations: 316 kB / 1.067 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.9728, allocations: 35.7 kB / 1.068 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 2.204e-06/0.9728, allocations: 0.6562 kB / 1.068 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0009304/0.9738, allocations: 312.4 kB / 1.068 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.9738, allocations: 53.31 kB / 1.068 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.9743, allocations: 329.7 kB / 1.068 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.9744, allocations: 35.3 kB / 1.068 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.9745, allocations: 185 kB / 1.068 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.9746, allocations: 58.7 kB / 1.068 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.9746, allocations: 22.05 kB / 1.068 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.9748, allocations: 350.4 kB / 1.069 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.975, allocations: 72.33 kB / 1.069 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.9752, allocations: 131.6 kB / 1.069 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.9757, allocations: 208.2 kB / 1.069 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.9757, allocations: 0.9375 kB / 1.069 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005697/0.9762, allocations: 267.3 kB / 1.069 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.9763, allocations: 6.094 kB / 1.069 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9763, allocations: 1.906 kB / 1.069 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.9763, allocations: 5.625 kB / 1.069 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.9766, allocations: 46.28 kB / 1.07 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9766, allocations: 6.016 kB / 1.07 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.9768, allocations: 39.53 kB / 1.07 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.9769, allocations: 9.234 kB / 1.07 GB, free: 14.8 MB / 0.7136 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.0001734/0.977, allocations: 155.3 kB / 1.07 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.9771, allocations: 29.69 kB / 1.07 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000566/0.9777, allocations: 243.5 kB / 1.07 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.9777, allocations: 2.344 kB / 1.07 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9777, allocations: 2.906 kB / 1.07 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.9777, allocations: 1.547 kB / 1.07 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.9791, allocations: 0.7175 MB / 1.071 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.9791, allocations: 2.062 kB / 1.071 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.9793, allocations: 34.22 kB / 1.071 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.9793, allocations: 3.125 kB / 1.071 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.9793, allocations: 14.69 kB / 1.071 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.9794, allocations: 3.062 kB / 1.071 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.9794, allocations: 2.812 kB / 1.071 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008029/0.9802, allocations: 464.9 kB / 1.071 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.9803, allocations: 131 kB / 1.071 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.9804, allocations: 11.95 kB / 1.071 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.9806, allocations: 22.94 kB / 1.071 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.9807, allocations: 18.28 kB / 1.071 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.9807, allocations: 6.062 kB / 1.071 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003108/0.981, allocations: 229.5 kB / 1.072 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.981, allocations: 96 / 1.072 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004887/0.9815, allocations: 91.22 kB / 1.072 GB, free: 13.83 MB / 0.7136 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.0004683/0.982, allocations: 164 kB / 1.072 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005679/0.9826, allocations: 192.8 kB / 1.072 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9826, allocations: 0.75 kB / 1.072 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.9828, allocations: 93.73 kB / 1.072 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.9839, allocations: 168.1 kB / 1.072 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.9852, allocations: 0.7603 MB / 1.073 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.9856, allocations: 0.7812 MB / 1.074 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.25e-05/0.9857, allocations: 26.91 kB / 1.074 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.9857, allocations: 0 / 1.074 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.009434/0.9952, allocations: 4.884 MB / 1.079 GB, free: 12.15 MB / 0.7136 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)