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.48/1.48, allocations: 252 MB / 267.6 MB, free: 10.92 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.001033/0.001033, allocations: 186.8 kB / 327.3 MB, free: 2.207 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.672/1.672, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0008505/0.0008506, allocations: 91.25 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 12.97 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2323, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1762/0.4085, allocations: 152.2 MB / 1.049 GB, free: 7.262 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003016/0.4116, allocations: 1.536 MB / 1.051 GB, free: 5.723 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003091/0.4119, allocations: 11.94 kB / 1.051 GB, free: 5.711 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.4125, allocations: 107.2 kB / 1.051 GB, free: 5.605 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.414, allocations: 0.5053 MB / 1.052 GB, free: 5.098 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.4159, allocations: 464.8 kB / 1.052 GB, free: 4.645 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.4174, allocations: 0.8424 MB / 1.053 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000443/0.4179, allocations: 173.2 kB / 1.053 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007771/0.4187, allocations: 314.7 kB / 1.053 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.419, allocations: 223.1 kB / 1.054 GB, free: 3.102 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.4191, allocations: 19.94 kB / 1.054 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.4206, allocations: 458.9 kB / 1.054 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.4208, allocations: 95.7 kB / 1.054 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.4209, allocations: 85.52 kB / 1.054 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007827/0.4217, allocations: 451.2 kB / 1.055 GB, free: 2.008 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.4217, allocations: 0 / 1.055 GB, free: 2.008 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.019e-06/0.4217, allocations: 4 kB / 1.055 GB, free: 2.004 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.4218, allocations: 4 kB / 1.055 GB, free: 2 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.001209/0.423, allocations: 0.6039 MB / 1.055 GB, free: 1.348 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.423, allocations: 12.03 kB / 1.055 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.4242, allocations: 151.4 kB / 1.055 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.4247, allocations: 314.8 kB / 1.056 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.4247, allocations: 16.56 kB / 1.056 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.4248, allocations: 27.91 kB / 1.056 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.4253, allocations: 289.8 kB / 1.056 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4253, allocations: 3.984 kB / 1.056 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.4253, allocations: 8 kB / 1.056 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4254, allocations: 4 kB / 1.056 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.4258, allocations: 208.9 kB / 1.056 GB, free: 276 kB / 0.698 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.5221/0.9479, allocations: 1.226 MB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.9483, allocations: 151.8 kB / 1.058 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.9485, allocations: 98.78 kB / 1.058 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/0.9492, allocations: 320.2 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.9492, allocations: 39.06 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 4.558e-06/0.9492, allocations: 0.5625 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0008725/0.9501, allocations: 315.6 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.9502, allocations: 51.41 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.9505, allocations: 324.5 kB / 1.059 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.9505, allocations: 29.39 kB / 1.059 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.9506, allocations: 180.7 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.9507, allocations: 63.12 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.9507, allocations: 8.172 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.9508, allocations: 340 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.9509, allocations: 73.72 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.9511, allocations: 133.8 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.9513, allocations: 92.42 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9513, allocations: 0 / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000443/0.9518, allocations: 260 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.9518, allocations: 13.3 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.9518, allocations: 2.844 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.9519, allocations: 2.875 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.9521, allocations: 50.28 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.9521, allocations: 2.594 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.9524, allocations: 48.3 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.9524, allocations: 7.938 kB / 1.06 GB, free: 155.8 MB / 0.698 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.0001402/0.9526, allocations: 148 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.9526, allocations: 35.23 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.9531, allocations: 242.5 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.9531, allocations: 3.938 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.9531, allocations: 0 / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.9532, allocations: 0.8906 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009168/0.9541, allocations: 0.721 MB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.9541, allocations: 1.438 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.9543, allocations: 36.44 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.9543, allocations: 3.094 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.9543, allocations: 5.719 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.9543, allocations: 4.312 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9543, allocations: 7.094 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/0.9549, allocations: 470 kB / 1.061 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.955, allocations: 131.7 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.9551, allocations: 6.719 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.9553, allocations: 19.23 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.9553, allocations: 13.14 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.9554, allocations: 13.05 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002009/0.9556, allocations: 234.2 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.102e-06/0.9556, allocations: 96 / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003853/0.956, allocations: 93.7 kB / 1.062 GB, free: 154.9 MB / 0.698 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.0004553/0.9564, allocations: 156.2 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.9569, allocations: 187.3 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9569, allocations: 2.969 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.9571, allocations: 98.66 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008764/0.958, allocations: 159.6 kB / 1.063 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.9591, allocations: 0.782 MB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.9594, allocations: 0.7868 MB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.9594, allocations: 28.59 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.9594, allocations: 0 / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of Templates: time 0.01112/0.9706, allocations: 4.892 MB / 1.069 GB, free: 153.2 MB / 0.698 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)