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.001296/0.001296, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.001292/0.001292, allocations: 181.2 kB / 17.34 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002649/0.002649, allocations: 292.8 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 1.066/1.066, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 95.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5085, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.236/0.7444, allocations: 167.8 MB / 0.931 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002887/0.7473, allocations: 1.564 MB / 0.9325 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.7476, allocations: 11.88 kB / 0.9325 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.748, allocations: 154.9 kB / 0.9327 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.7496, allocations: 0.7429 MB / 0.9334 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.7511, allocations: 0.6095 MB / 0.934 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008425/0.7519, allocations: 0.7214 MB / 0.9347 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.7523, allocations: 197.2 kB / 0.9349 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.7529, allocations: 354.7 kB / 0.9352 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.7531, allocations: 231 kB / 0.9354 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.7532, allocations: 20 kB / 0.9355 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.7546, allocations: 0.8728 MB / 0.9363 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.7547, allocations: 111.6 kB / 0.9364 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.7549, allocations: 175.1 kB / 0.9366 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.756, allocations: 0.7456 MB / 0.9373 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.756, allocations: 0 / 0.9373 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.092e-06/0.756, allocations: 0 / 0.9373 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.756, allocations: 0 / 0.9373 GB, free: 4.906 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.001044/0.757, allocations: 0.6771 MB / 0.938 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.7571, allocations: 8.031 kB / 0.938 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.7583, allocations: 159.6 kB / 0.9381 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.7588, allocations: 326.9 kB / 0.9384 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.7589, allocations: 16.56 kB / 0.9385 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.7589, allocations: 27.92 kB / 0.9385 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.7595, allocations: 285.8 kB / 0.9388 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.7595, allocations: 0 / 0.9388 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.7595, allocations: 12 kB / 0.9388 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.7595, allocations: 7.938 kB / 0.9388 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.7599, allocations: 200.9 kB / 0.939 GB, free: 3.102 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.001625/0.7616, allocations: 1.231 MB / 0.9402 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.7619, allocations: 146.4 kB / 0.9403 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.7621, allocations: 92.75 kB / 0.9404 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006131/0.7627, allocations: 303.2 kB / 0.9407 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.7627, allocations: 38.81 kB / 0.9407 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.7627, allocations: 0 / 0.9407 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of matching and sorting (n=17): time 0.0008151/0.7636, allocations: 301.2 kB / 0.941 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.7636, allocations: 51.41 kB / 0.9411 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.764, allocations: 324.5 kB / 0.9414 GB, free: 448 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.764, allocations: 25.7 kB / 0.9414 GB, free: 416 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.7641, allocations: 180.3 kB / 0.9416 GB, free: 232 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.7642, allocations: 71.42 kB / 0.9416 GB, free: 160 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.7643, allocations: 49.7 kB / 0.9417 GB, free: 104 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.7644, allocations: 338.8 kB / 0.942 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.7646, allocations: 67.95 kB / 0.9421 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.7649, allocations: 135.9 kB / 0.9422 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.7653, allocations: 193 kB / 0.9424 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7653, allocations: 3.938 kB / 0.9424 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005314/0.7658, allocations: 249.2 kB / 0.9426 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.7658, allocations: 8 kB / 0.9426 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7658, allocations: 0 / 0.9426 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.7658, allocations: 4 kB / 0.9426 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.7661, allocations: 47.97 kB / 0.9427 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.7661, allocations: 3.938 kB / 0.9427 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.7663, allocations: 31.77 kB / 0.9427 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.7663, allocations: 16.09 kB / 0.9427 GB, free: 14.98 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.0001633/0.7665, allocations: 145.8 kB / 0.9429 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.7665, allocations: 35.8 kB / 0.9429 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.7671, allocations: 239.7 kB / 0.9431 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7671, allocations: 0 / 0.9431 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7671, allocations: 0 / 0.9431 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7671, allocations: 0 / 0.9431 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.7682, allocations: 0.7032 MB / 0.9438 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.7682, allocations: 8.031 kB / 0.9438 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.7684, allocations: 40.2 kB / 0.9439 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.7684, allocations: 7.938 kB / 0.9439 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.7684, allocations: 7.984 kB / 0.9439 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.7684, allocations: 11.88 kB / 0.9439 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7684, allocations: 0 / 0.9439 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007292/0.7692, allocations: 461 kB / 0.9443 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.7693, allocations: 129 kB / 0.9445 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.7694, allocations: 4 kB / 0.9445 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.7695, allocations: 11.94 kB / 0.9445 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.7696, allocations: 15.97 kB / 0.9445 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.7696, allocations: 8 kB / 0.9445 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002494/0.7699, allocations: 231 kB / 0.9447 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7699, allocations: 0 / 0.9447 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004115/0.7703, allocations: 87.83 kB / 0.9448 GB, free: 12.71 MB / 0.7169 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.000396/0.7707, allocations: 165.9 kB / 0.945 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.7711, allocations: 178.8 kB / 0.9451 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7711, allocations: 0 / 0.9451 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.7713, allocations: 91.81 kB / 0.9452 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.7722, allocations: 169.9 kB / 0.9454 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.7733, allocations: 0.633 MB / 0.946 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.7738, allocations: 0.7873 MB / 0.9468 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.774, allocations: 62.92 kB / 0.9468 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.7741, allocations: 27.44 kB / 0.9469 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of SimCode: time 6.02e-07/0.7741, allocations: 0 / 0.9469 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of Templates: time 0.01199/0.7861, allocations: 5.886 MB / 0.9526 GB, free: 4.766 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)