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.00171/0.00171, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001949/0.001949, allocations: 194.8 kB / 16.14 MB, free: 6.641 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.568/1.568, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002592/0.002592, allocations: 290.6 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 178.6 MB / 0.5068 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 97.66 kB / 0.6057 GB, free: 25.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1809, allocations: 89.16 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.4879/0.6688, allocations: 165.1 MB / 0.8541 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.6717, allocations: 1.575 MB / 0.8556 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.6719, allocations: 9.281 kB / 0.8556 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.6724, allocations: 113.1 kB / 0.8557 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.674, allocations: 0.6804 MB / 0.8564 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.6754, allocations: 0.5446 MB / 0.8569 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009012/0.6763, allocations: 0.9923 MB / 0.8579 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.6766, allocations: 199.6 kB / 0.8581 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005625/0.6772, allocations: 322.5 kB / 0.8584 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.6775, allocations: 229.6 kB / 0.8586 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.6775, allocations: 17.44 kB / 0.8586 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.6791, allocations: 1.01 MB / 0.8596 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.6792, allocations: 98.77 kB / 0.8597 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.6794, allocations: 169 kB / 0.8599 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.6804, allocations: 0.7705 MB / 0.8606 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6804, allocations: 11.88 kB / 0.8606 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6805, allocations: 0 / 0.8606 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.6805, allocations: 0 / 0.8606 GB, free: 11.57 MB / 0.5919 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.0009811/0.6815, allocations: 0.6604 MB / 0.8613 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.6815, allocations: 9.5 kB / 0.8613 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.6827, allocations: 159 kB / 0.8614 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.6832, allocations: 316.7 kB / 0.8617 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.6832, allocations: 12.38 kB / 0.8617 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.6832, allocations: 27.06 kB / 0.8618 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.6837, allocations: 281.7 kB / 0.862 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.6838, allocations: 0 / 0.862 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.6838, allocations: 16.41 kB / 0.8621 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.6838, allocations: 8.844 kB / 0.8621 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.6842, allocations: 211.2 kB / 0.8623 GB, free: 10.3 MB / 0.5919 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.001486/0.6857, allocations: 1.219 MB / 0.8635 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.686, allocations: 148.8 kB / 0.8636 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.6863, allocations: 98.98 kB / 0.8637 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/0.6869, allocations: 302.6 kB / 0.864 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.687, allocations: 30.56 kB / 0.864 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.687, allocations: 2.188 kB / 0.864 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007927/0.6878, allocations: 291.6 kB / 0.8643 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.6878, allocations: 63.39 kB / 0.8644 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.6882, allocations: 320.2 kB / 0.8647 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.6882, allocations: 32.02 kB / 0.8647 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.6884, allocations: 179.9 kB / 0.8649 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.6884, allocations: 61.94 kB / 0.8649 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.6885, allocations: 47.7 kB / 0.865 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6887, allocations: 338.5 kB / 0.8653 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.6889, allocations: 81.55 kB / 0.8654 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.6891, allocations: 124.6 kB / 0.8655 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.6895, allocations: 196.3 kB / 0.8657 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.6895, allocations: 2.031 kB / 0.8657 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004754/0.69, allocations: 259.4 kB / 0.8659 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.69, allocations: 5 kB / 0.8659 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.69, allocations: 2.781 kB / 0.8659 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.69, allocations: 5.906 kB / 0.8659 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.6903, allocations: 47.16 kB / 0.866 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.6903, allocations: 2.656 kB / 0.866 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.6905, allocations: 36.61 kB / 0.866 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.6905, allocations: 11.06 kB / 0.866 GB, free: 7.195 MB / 0.5919 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.0001515/0.6907, allocations: 152.4 kB / 0.8662 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.6908, allocations: 34.62 kB / 0.8662 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.6913, allocations: 244.2 kB / 0.8664 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.6913, allocations: 2.875 kB / 0.8664 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6913, allocations: 0 / 0.8664 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.6913, allocations: 0 / 0.8664 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.6924, allocations: 0.7027 MB / 0.8671 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.6924, allocations: 2.812 kB / 0.8671 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.6926, allocations: 32.73 kB / 0.8672 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.6926, allocations: 7.062 kB / 0.8672 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.6926, allocations: 12.58 kB / 0.8672 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.6926, allocations: 6.938 kB / 0.8672 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6926, allocations: 3.609 kB / 0.8672 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.6933, allocations: 445.3 kB / 0.8676 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.6935, allocations: 119.8 kB / 0.8677 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.6935, allocations: 11.95 kB / 0.8677 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.6937, allocations: 19.56 kB / 0.8678 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.6938, allocations: 19.25 kB / 0.8678 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.6938, allocations: 7.781 kB / 0.8678 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002272/0.694, allocations: 233 kB / 0.868 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.694, allocations: 0 / 0.868 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003918/0.6944, allocations: 83.91 kB / 0.8681 GB, free: 5.629 MB / 0.5919 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.0003824/0.6948, allocations: 177 kB / 0.8683 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.6952, allocations: 176.6 kB / 0.8684 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6953, allocations: 6.188 kB / 0.8684 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.6955, allocations: 98.53 kB / 0.8685 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.6963, allocations: 164.4 kB / 0.8687 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6974, allocations: 0.7184 MB / 0.8694 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.6978, allocations: 0.7797 MB / 0.8701 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002108/0.698, allocations: 66.11 kB / 0.8702 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.6981, allocations: 24.97 kB / 0.8702 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.6981, allocations: 0 / 0.8702 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of Templates: time 0.01066/0.7087, allocations: 5.531 MB / 0.8756 GB, free: 0.5117 MB / 0.5919 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)