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.0009459/0.0009458, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.008029/0.008029, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 271 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9616/0.9616, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004629, allocations: 14.69 kB / 0.5987 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1967, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.5685/0.7652, allocations: 163 MB / 0.8443 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003209/0.7684, allocations: 1.553 MB / 0.8458 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004049/0.7689, allocations: 10.25 kB / 0.8458 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.7694, allocations: 118.8 kB / 0.8459 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.7715, allocations: 0.681 MB / 0.8466 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.7733, allocations: 0.5414 MB / 0.8471 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.7745, allocations: 0.9883 MB / 0.8481 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.7749, allocations: 199.4 kB / 0.8483 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006768/0.7756, allocations: 319 kB / 0.8486 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.7759, allocations: 225.9 kB / 0.8488 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.7759, allocations: 13.84 kB / 0.8488 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.7777, allocations: 1.014 MB / 0.8498 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.7778, allocations: 107.2 kB / 0.8499 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.778, allocations: 187.3 kB / 0.8501 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.7791, allocations: 0.7678 MB / 0.8508 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7791, allocations: 3.938 kB / 0.8508 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7791, allocations: 2.875 kB / 0.8508 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.7791, allocations: 0 / 0.8508 GB, free: 14.75 MB / 0.5762 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.001077/0.7802, allocations: 0.6035 MB / 0.8514 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.7803, allocations: 10.88 kB / 0.8514 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.7814, allocations: 153.4 kB / 0.8516 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.7819, allocations: 315.9 kB / 0.8519 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.7819, allocations: 23.38 kB / 0.8519 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.782, allocations: 28.53 kB / 0.8519 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.7825, allocations: 287.8 kB / 0.8522 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.7825, allocations: 0 / 0.8522 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.7825, allocations: 6.844 kB / 0.8522 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.7825, allocations: 9.062 kB / 0.8522 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.7829, allocations: 217.2 kB / 0.8524 GB, free: 13.52 MB / 0.5762 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.001391/0.7843, allocations: 1.231 MB / 0.8536 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.7846, allocations: 155.8 kB / 0.8538 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.7848, allocations: 101 kB / 0.8539 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/0.7854, allocations: 318.7 kB / 0.8542 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.7855, allocations: 38.44 kB / 0.8542 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.7855, allocations: 0 / 0.8542 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007712/0.7862, allocations: 313.2 kB / 0.8545 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.7863, allocations: 53.22 kB / 0.8546 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.7866, allocations: 326.3 kB / 0.8549 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.7867, allocations: 25.7 kB / 0.8549 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.7868, allocations: 175.9 kB / 0.8551 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.7868, allocations: 64.38 kB / 0.8551 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.7869, allocations: 22.56 kB / 0.8552 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.7871, allocations: 347.5 kB / 0.8555 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.7872, allocations: 76.58 kB / 0.8556 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.7874, allocations: 128 kB / 0.8557 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.7878, allocations: 212.6 kB / 0.8559 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7878, allocations: 2.938 kB / 0.8559 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004586/0.7883, allocations: 261.7 kB / 0.8561 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7883, allocations: 5.844 kB / 0.8562 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.7884, allocations: 4.094 kB / 0.8562 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.7884, allocations: 2.969 kB / 0.8562 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.7886, allocations: 51.41 kB / 0.8562 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7886, allocations: 2.844 kB / 0.8562 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.7888, allocations: 39.39 kB / 0.8562 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.7889, allocations: 9.281 kB / 0.8563 GB, free: 10.43 MB / 0.5762 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.0001977/0.7891, allocations: 160.9 kB / 0.8564 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.7891, allocations: 29.41 kB / 0.8564 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/0.7896, allocations: 239.7 kB / 0.8567 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7896, allocations: 10.44 kB / 0.8567 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7897, allocations: 2.188 kB / 0.8567 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.7897, allocations: 0 / 0.8567 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.7907, allocations: 0.7145 MB / 0.8574 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7907, allocations: 2.844 kB / 0.8574 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.7909, allocations: 45.88 kB / 0.8574 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7909, allocations: 2.938 kB / 0.8574 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.7909, allocations: 7 kB / 0.8574 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.7909, allocations: 7.125 kB / 0.8574 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7909, allocations: 2.844 kB / 0.8574 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.7916, allocations: 469.6 kB / 0.8579 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.7917, allocations: 126.1 kB / 0.858 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.7917, allocations: 5.469 kB / 0.858 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.7919, allocations: 22.83 kB / 0.858 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.792, allocations: 13.8 kB / 0.858 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.792, allocations: 13.03 kB / 0.8581 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002135/0.7922, allocations: 231.1 kB / 0.8583 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7923, allocations: 0 / 0.8583 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003921/0.7926, allocations: 88.03 kB / 0.8584 GB, free: 8.844 MB / 0.5762 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.0003625/0.793, allocations: 163.2 kB / 0.8585 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004146/0.7934, allocations: 189.6 kB / 0.8587 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.7935, allocations: 0 / 0.8587 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.7936, allocations: 97.55 kB / 0.8588 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/0.7946, allocations: 174.2 kB / 0.859 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009624/0.7956, allocations: 0.7796 MB / 0.8597 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.7959, allocations: 0.7782 MB / 0.8605 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002295/0.7961, allocations: 58.81 kB / 0.8605 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.7962, allocations: 29.89 kB / 0.8606 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.7962, allocations: 0 / 0.8606 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of Templates: time 0.009334/0.8056, allocations: 5.501 MB / 0.8659 GB, free: 4.449 MB / 0.5762 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)