Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00144/0.00144, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7451 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.66 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3429, allocations: 159.9 MB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.189/0.5319, allocations: 167.4 MB / 1.232 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003474/0.5354, allocations: 1.555 MB / 1.233 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005358/0.536, allocations: 11.94 kB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006444/0.5367, allocations: 146.8 kB / 1.233 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.5388, allocations: 0.7078 MB / 1.234 GB, free: 40 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.5407, allocations: 0.6032 MB / 1.235 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.5418, allocations: 0.7138 MB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005005/0.5423, allocations: 241.1 kB / 1.236 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008906/0.5432, allocations: 354.6 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004142/0.5437, allocations: 223 kB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.217e-05/0.5437, allocations: 24 kB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.5455, allocations: 0.865 MB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.5456, allocations: 111.7 kB / 1.237 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.5459, allocations: 171.2 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.5474, allocations: 0.7168 MB / 1.238 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5475, allocations: 0 / 1.238 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5475, allocations: 4 kB / 1.238 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.5475, allocations: 4 kB / 1.238 GB, free: 12.02 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.001139/0.5486, allocations: 0.6622 MB / 1.239 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5487, allocations: 12.03 kB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.55, allocations: 151.4 kB / 1.239 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.5505, allocations: 314.6 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.5505, allocations: 28.56 kB / 1.239 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.5506, allocations: 23.94 kB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.5511, allocations: 281.8 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5511, allocations: 0 / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.5512, allocations: 8 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.5512, allocations: 8 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.5516, allocations: 208.9 kB / 1.24 GB, free: 10.24 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.001518/0.5532, allocations: 1.227 MB / 1.241 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.5535, allocations: 150.4 kB / 1.241 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.5537, allocations: 97.11 kB / 1.241 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/0.5544, allocations: 299.2 kB / 1.241 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.5544, allocations: 38.47 kB / 1.241 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 3.005e-06/0.5544, allocations: 0 / 1.241 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0008427/0.5553, allocations: 294.2 kB / 1.242 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.5553, allocations: 55.41 kB / 1.242 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.5557, allocations: 332.4 kB / 1.242 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.5557, allocations: 29.7 kB / 1.242 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.5558, allocations: 176.2 kB / 1.242 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.5559, allocations: 67.08 kB / 1.242 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/0.556, allocations: 45.7 kB / 1.242 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5561, allocations: 338.8 kB / 1.243 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5563, allocations: 71.95 kB / 1.243 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.5565, allocations: 129 kB / 1.243 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.5569, allocations: 194.8 kB / 1.243 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.5569, allocations: 3.938 kB / 1.243 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00051/0.5574, allocations: 249.2 kB / 1.243 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5575, allocations: 7.984 kB / 1.243 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5575, allocations: 0 / 1.243 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5575, allocations: 12.08 kB / 1.243 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.5577, allocations: 47.92 kB / 1.243 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5577, allocations: 0 / 1.243 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.558, allocations: 35.67 kB / 1.243 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.558, allocations: 8 kB / 1.243 GB, free: 6.117 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.0001446/0.5582, allocations: 158.3 kB / 1.243 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.5582, allocations: 27.62 kB / 1.244 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.5587, allocations: 234 kB / 1.244 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5587, allocations: 0 / 1.244 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5588, allocations: 0 / 1.244 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5588, allocations: 4 kB / 1.244 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.5599, allocations: 0.7029 MB / 1.244 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.5599, allocations: 4 kB / 1.244 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.5601, allocations: 47.84 kB / 1.244 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5601, allocations: 0 / 1.244 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.5601, allocations: 4.219 kB / 1.244 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5601, allocations: 11.94 kB / 1.244 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5601, allocations: 0 / 1.244 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.5608, allocations: 450.3 kB / 1.245 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.5609, allocations: 128.7 kB / 1.245 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.561, allocations: 4 kB / 1.245 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.5612, allocations: 15.92 kB / 1.245 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.5612, allocations: 19.98 kB / 1.245 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.5613, allocations: 12 kB / 1.245 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002136/0.5615, allocations: 227 kB / 1.245 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5615, allocations: 0 / 1.245 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004171/0.5619, allocations: 87.91 kB / 1.245 GB, free: 3.867 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.0004149/0.5623, allocations: 172.7 kB / 1.246 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004722/0.5628, allocations: 187.7 kB / 1.246 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5628, allocations: 0 / 1.246 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.563, allocations: 92.45 kB / 1.246 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.564, allocations: 176 kB / 1.246 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.565, allocations: 0.6297 MB / 1.247 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.5654, allocations: 0.7834 MB / 1.247 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.5656, allocations: 62.94 kB / 1.247 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.5657, allocations: 23.44 kB / 1.247 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.5657, allocations: 0 / 1.247 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of Templates: time 0.6203/1.186, allocations: 5.804 MB / 1.253 GB, free: 185.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)