Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001107/0.001107, allocations: 112 kB / 16.42 MB, free: 6.512 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.001126/0.001126, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 292 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9503/0.9503, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 92.23 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3903, allocations: 86.98 MB / 0.7671 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1625/0.5528, allocations: 167.4 MB / 0.9305 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.5556, allocations: 1.561 MB / 0.9321 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.556, allocations: 15.88 kB / 0.9321 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004933/0.5565, allocations: 142.9 kB / 0.9322 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.5583, allocations: 0.7468 MB / 0.9329 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.5598, allocations: 0.5991 MB / 0.9335 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008951/0.5607, allocations: 0.7292 MB / 0.9342 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000431/0.5611, allocations: 233.1 kB / 0.9345 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007474/0.5619, allocations: 358.7 kB / 0.9348 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.5623, allocations: 223 kB / 0.935 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.5623, allocations: 24 kB / 0.935 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.5638, allocations: 0.8728 MB / 0.9359 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.564, allocations: 115.7 kB / 0.936 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.5642, allocations: 171.1 kB / 0.9362 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.5655, allocations: 0.7389 MB / 0.9369 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5655, allocations: 0 / 0.9369 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5655, allocations: 0 / 0.9369 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.5655, allocations: 0 / 0.9369 GB, free: 5.27 MB / 0.7012 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.001022/0.5665, allocations: 0.6622 MB / 0.9375 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5666, allocations: 12.03 kB / 0.9376 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.5678, allocations: 155.4 kB / 0.9377 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.5684, allocations: 326.6 kB / 0.938 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.5684, allocations: 16.56 kB / 0.938 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.5685, allocations: 31.88 kB / 0.9381 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.569, allocations: 281.8 kB / 0.9383 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.569, allocations: 0 / 0.9383 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.569, allocations: 8 kB / 0.9383 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.569, allocations: 12 kB / 0.9383 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.5695, allocations: 200.9 kB / 0.9385 GB, free: 3.48 MB / 0.7012 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.001432/0.5709, allocations: 1.219 MB / 0.9397 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.5712, allocations: 162.3 kB / 0.9399 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.5714, allocations: 92.8 kB / 0.94 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.572, allocations: 303.2 kB / 0.9403 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.572, allocations: 30.56 kB / 0.9403 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.572, allocations: 4 kB / 0.9403 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=17): time 0.0007961/0.5728, allocations: 285.5 kB / 0.9406 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.5729, allocations: 55.41 kB / 0.9406 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.5732, allocations: 332.4 kB / 0.9409 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.5732, allocations: 29.7 kB / 0.941 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.5733, allocations: 184.1 kB / 0.9411 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.5734, allocations: 59.11 kB / 0.9412 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.5735, allocations: 53.7 kB / 0.9412 GB, free: 492 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5736, allocations: 342.8 kB / 0.9416 GB, free: 140 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.5738, allocations: 63.95 kB / 0.9416 GB, free: 76 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.574, allocations: 126.3 kB / 0.9418 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.5744, allocations: 193 kB / 0.9419 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.5744, allocations: 4 kB / 0.9419 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004937/0.5749, allocations: 264 kB / 0.9422 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5749, allocations: 8 kB / 0.9422 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5749, allocations: 0 / 0.9422 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.575, allocations: 4 kB / 0.9422 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.5752, allocations: 39.92 kB / 0.9422 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5752, allocations: 4 kB / 0.9422 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.5754, allocations: 35.67 kB / 0.9423 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.5754, allocations: 12 kB / 0.9423 GB, free: 15.36 MB / 0.7169 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.0001393/0.5756, allocations: 157.8 kB / 0.9424 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.5756, allocations: 31.62 kB / 0.9425 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.5761, allocations: 239.9 kB / 0.9427 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5762, allocations: 3.938 kB / 0.9427 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5762, allocations: 0 / 0.9427 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.5763, allocations: 116.7 kB / 0.9428 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.5763, allocations: 4 kB / 0.9428 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.5765, allocations: 15.98 kB / 0.9428 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.5766, allocations: 15.92 kB / 0.9429 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005297/0.5771, allocations: 276.8 kB / 0.9431 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006796/0.5778, allocations: 485.1 kB / 0.9436 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001789/0.578, allocations: 75.97 kB / 0.9437 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002134/0.5782, allocations: 235 kB / 0.9439 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of Backend: time 3.01e-07/0.5782, allocations: 0 / 0.9439 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.5795, allocations: 389.6 kB / 0.9442 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001567/0.5811, allocations: 1.141 MB / 0.9454 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of Templates: time 0.01352/0.5946, allocations: 8.038 MB / 0.9532 GB, free: 4.188 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)