Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001135/0.001135, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01079/0.01079, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003947, allocations: 12.25 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1947/0.5268, allocations: 163 MB / 1.233 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002807/0.5296, allocations: 1.559 MB / 1.235 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.53, allocations: 11.94 kB / 1.235 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.5304, allocations: 119.2 kB / 1.235 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.5323, allocations: 0.6652 MB / 1.236 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.5339, allocations: 0.5406 MB / 1.236 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.5351, allocations: 0.9867 MB / 1.237 GB, free: 24 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.5355, allocations: 205.2 kB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006634/0.5361, allocations: 314.7 kB / 1.238 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.5365, allocations: 239 kB / 1.238 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.5365, allocations: 12 kB / 1.238 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.5383, allocations: 1.017 MB / 1.239 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.5384, allocations: 103.7 kB / 1.239 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.5386, allocations: 184.8 kB / 1.239 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.5397, allocations: 0.7634 MB / 1.24 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5397, allocations: 4 kB / 1.24 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5397, allocations: 0 / 1.24 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.5397, allocations: 0 / 1.24 GB, free: 13.19 MB / 0.9981 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.0009245/0.5406, allocations: 0.6039 MB / 1.24 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5407, allocations: 12.03 kB / 1.24 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.5418, allocations: 159.3 kB / 1.241 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.5423, allocations: 310.7 kB / 1.241 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.5423, allocations: 20.5 kB / 1.241 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.5423, allocations: 39.86 kB / 1.241 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.5429, allocations: 281.9 kB / 1.241 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5429, allocations: 0 / 1.241 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.5429, allocations: 12 kB / 1.241 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.5429, allocations: 8 kB / 1.241 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.5434, allocations: 216.9 kB / 1.241 GB, free: 11.44 MB / 0.9981 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.001472/0.5449, allocations: 1.227 MB / 1.243 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.5452, allocations: 154.4 kB / 1.243 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.5454, allocations: 106.2 kB / 1.243 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000642/0.5461, allocations: 319.2 kB / 1.243 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.5461, allocations: 38.56 kB / 1.243 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.5461, allocations: 0 / 1.243 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.000842/0.5469, allocations: 310.8 kB / 1.244 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.547, allocations: 51.41 kB / 1.244 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.5474, allocations: 324.5 kB / 1.244 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.5474, allocations: 29.7 kB / 1.244 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.5475, allocations: 180.1 kB / 1.244 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.5476, allocations: 63.19 kB / 1.244 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.5476, allocations: 25.72 kB / 1.244 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5478, allocations: 342.8 kB / 1.245 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.5479, allocations: 67.95 kB / 1.245 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.5482, allocations: 139.8 kB / 1.245 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.5486, allocations: 207.7 kB / 1.245 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5486, allocations: 7.938 kB / 1.245 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000497/0.5491, allocations: 261.1 kB / 1.245 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5491, allocations: 4 kB / 1.245 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.5491, allocations: 4 kB / 1.245 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5491, allocations: 0 / 1.245 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.5494, allocations: 47.91 kB / 1.245 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.5494, allocations: 4 kB / 1.245 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.5496, allocations: 43.73 kB / 1.245 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.5496, allocations: 12 kB / 1.245 GB, free: 7.254 MB / 0.9981 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.0001467/0.5498, allocations: 149.7 kB / 1.245 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.5499, allocations: 35.61 kB / 1.245 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/0.5504, allocations: 244.6 kB / 1.246 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5504, allocations: 4 kB / 1.246 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5504, allocations: 4 kB / 1.246 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.5504, allocations: 3.938 kB / 1.246 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.5516, allocations: 0.7146 MB / 1.246 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.5516, allocations: 4.219 kB / 1.246 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.5518, allocations: 43.91 kB / 1.246 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.5518, allocations: 4 kB / 1.246 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.5518, allocations: 8 kB / 1.246 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.5518, allocations: 3.938 kB / 1.246 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5518, allocations: 4 kB / 1.246 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007065/0.5525, allocations: 463 kB / 1.247 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.5527, allocations: 124.6 kB / 1.247 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.5527, allocations: 8 kB / 1.247 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.5529, allocations: 19.92 kB / 1.247 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.553, allocations: 23.98 kB / 1.247 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.553, allocations: 4 kB / 1.247 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002275/0.5532, allocations: 235 kB / 1.247 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5532, allocations: 0 / 1.247 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000416/0.5537, allocations: 83.84 kB / 1.247 GB, free: 4.957 MB / 0.9981 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.0004341/0.5541, allocations: 164.4 kB / 1.248 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004616/0.5546, allocations: 187.8 kB / 1.248 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5546, allocations: 8.156 kB / 1.248 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.5548, allocations: 95.83 kB / 1.248 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5558, allocations: 169.8 kB / 1.248 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.5569, allocations: 0.7685 MB / 1.249 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.5572, allocations: 0.7758 MB / 1.25 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002363/0.5575, allocations: 66.92 kB / 1.25 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.5575, allocations: 27.44 kB / 1.25 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.5575, allocations: 0 / 1.25 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of Templates: time 0.7625/1.32, allocations: 5.498 MB / 1.255 GB, free: 18.81 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)