Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001162/0.001163, allocations: 96.42 kB / 15.68 MB, free: 488 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.001318/0.001318, allocations: 173.2 kB / 16.56 MB, free: 6.391 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.369/1.369, allocations: 223.2 MB / 240.5 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6475/0.6475, allocations: 113.8 MB / 405.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003363, allocations: 8 kB / 493 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4111/0.5578, allocations: 140.2 MB / 0.6937 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002709/0.5606, allocations: 1.588 MB / 0.6953 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.5609, allocations: 7.938 kB / 0.6953 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.5614, allocations: 171.2 kB / 0.6955 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.5628, allocations: 0.5258 MB / 0.696 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.5641, allocations: 490.2 kB / 0.6964 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006405/0.5648, allocations: 444.4 kB / 0.6969 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.5651, allocations: 185.2 kB / 0.697 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007065/0.5658, allocations: 351 kB / 0.6974 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.566, allocations: 155.4 kB / 0.6975 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.5661, allocations: 12 kB / 0.6975 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008798/0.567, allocations: 423.3 kB / 0.6979 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.5671, allocations: 91.72 kB / 0.698 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.5672, allocations: 93.52 kB / 0.6981 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.5677, allocations: 400.7 kB / 0.6985 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.5677, allocations: 0 / 0.6985 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5677, allocations: 0 / 0.6985 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.5677, allocations: 4 kB / 0.6985 GB, free: 8.867 MB / 0.5137 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.0008188/0.5685, allocations: 0.6044 MB / 0.6991 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.5686, allocations: 12.03 kB / 0.6991 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.5698, allocations: 159.4 kB / 0.6993 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.5702, allocations: 298.9 kB / 0.6995 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.5702, allocations: 16.56 kB / 0.6996 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.5703, allocations: 31.86 kB / 0.6996 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.5707, allocations: 285.8 kB / 0.6999 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5708, allocations: 0 / 0.6999 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.5708, allocations: 11.98 kB / 0.6999 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.5708, allocations: 4 kB / 0.6999 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.5712, allocations: 212.9 kB / 0.7001 GB, free: 7.148 MB / 0.5137 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.001375/0.5726, allocations: 1.234 MB / 0.7013 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.5729, allocations: 152.6 kB / 0.7014 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/0.5733, allocations: 133 kB / 0.7016 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.5733, allocations: 34.56 kB / 0.7016 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.5733, allocations: 0 / 0.7016 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=17): time 0.0008022/0.5741, allocations: 313.4 kB / 0.7019 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.5742, allocations: 51.41 kB / 0.7019 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.5745, allocations: 324.5 kB / 0.7022 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.5745, allocations: 29.7 kB / 0.7023 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.5747, allocations: 180.2 kB / 0.7024 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.5747, allocations: 71.03 kB / 0.7025 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.5747, allocations: 4 kB / 0.7025 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5748, allocations: 342.8 kB / 0.7028 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.575, allocations: 67.95 kB / 0.7029 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.5752, allocations: 141.8 kB / 0.703 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.5754, allocations: 86.44 kB / 0.7031 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5754, allocations: 0 / 0.7031 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004689/0.5759, allocations: 265.2 kB / 0.7034 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5759, allocations: 10.17 kB / 0.7034 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.576, allocations: 3.984 kB / 0.7034 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.576, allocations: 7.953 kB / 0.7034 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.5762, allocations: 48.02 kB / 0.7034 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.5762, allocations: 4 kB / 0.7034 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.5764, allocations: 39.67 kB / 0.7035 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.5765, allocations: 15.98 kB / 0.7035 GB, free: 3.426 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.5766, allocations: 141.8 kB / 0.7036 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.5767, allocations: 35.66 kB / 0.7037 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.5772, allocations: 237.2 kB / 0.7039 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5772, allocations: 3.953 kB / 0.7039 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5772, allocations: 4 kB / 0.7039 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5772, allocations: 7.984 kB / 0.7039 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.5782, allocations: 0.7184 MB / 0.7046 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5782, allocations: 0 / 0.7046 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.5784, allocations: 31.98 kB / 0.7046 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.5784, allocations: 4 kB / 0.7046 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5785, allocations: 11.94 kB / 0.7047 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.5785, allocations: 4.219 kB / 0.7047 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5785, allocations: 4 kB / 0.7047 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.5792, allocations: 0.5462 MB / 0.7052 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.5793, allocations: 120.7 kB / 0.7053 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.5794, allocations: 0 / 0.7053 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.5796, allocations: 27.98 kB / 0.7053 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.5797, allocations: 19.92 kB / 0.7054 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.5797, allocations: 8.094 kB / 0.7054 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002098/0.5799, allocations: 231 kB / 0.7056 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5799, allocations: 0 / 0.7056 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004064/0.5803, allocations: 87.91 kB / 0.7057 GB, free: 1.02 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003538/0.5807, allocations: 162.3 kB / 0.7058 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004316/0.5811, allocations: 191.8 kB / 0.706 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5812, allocations: 4 kB / 0.706 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.5813, allocations: 95.81 kB / 0.7061 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008649/0.5822, allocations: 168.3 kB / 0.7063 GB, free: 424 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.5833, allocations: 0.7364 MB / 0.707 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.5836, allocations: 0.7914 MB / 0.7078 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.5838, allocations: 66.92 kB / 0.7078 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.5839, allocations: 27.42 kB / 0.7078 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.5839, allocations: 0 / 0.7078 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of Templates: time 0.009424/0.5933, allocations: 5.325 MB / 0.713 GB, free: 9.504 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)