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.001193/0.001193, allocations: 103.9 kB / 16.52 MB, free: 6.27 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.001218/0.001218, allocations: 197 kB / 17.44 MB, free: 5.887 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7407/0.7407, allocations: 115.3 MB / 406.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 59.91 kB / 493.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4655, allocations: 76.17 MB / 0.5564 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.1788/0.6444, allocations: 165.2 MB / 0.7177 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.6472, allocations: 1.561 MB / 0.7192 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.6475, allocations: 11.94 kB / 0.7192 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.6481, allocations: 119.2 kB / 0.7193 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.6499, allocations: 0.6691 MB / 0.72 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.6513, allocations: 0.5604 MB / 0.7205 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009488/0.6523, allocations: 0.9867 MB / 0.7215 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.6526, allocations: 193.5 kB / 0.7217 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005651/0.6532, allocations: 326.6 kB / 0.722 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.6535, allocations: 227.1 kB / 0.7222 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.6535, allocations: 20 kB / 0.7222 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.6551, allocations: 1.017 MB / 0.7232 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.6553, allocations: 103.7 kB / 0.7233 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.6554, allocations: 159.1 kB / 0.7235 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.656, allocations: 0.5068 MB / 0.7239 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.6561, allocations: 0 / 0.7239 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6561, allocations: 0 / 0.7239 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.6561, allocations: 0 / 0.7239 GB, free: 8.57 MB / 0.5606 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.0009343/0.657, allocations: 0.6662 MB / 0.7246 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.6571, allocations: 11.97 kB / 0.7246 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.6582, allocations: 159.3 kB / 0.7248 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.6586, allocations: 306.7 kB / 0.7251 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.6586, allocations: 20.5 kB / 0.7251 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.6587, allocations: 31.88 kB / 0.7251 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.6592, allocations: 281.9 kB / 0.7254 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.6592, allocations: 0 / 0.7254 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.6592, allocations: 8 kB / 0.7254 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.6592, allocations: 8 kB / 0.7254 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.6596, allocations: 200.9 kB / 0.7256 GB, free: 6.789 MB / 0.5606 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.001342/0.661, allocations: 1.227 MB / 0.7268 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.6613, allocations: 152.3 kB / 0.7269 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.6615, allocations: 96.81 kB / 0.727 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006384/0.6621, allocations: 299.2 kB / 0.7273 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.6621, allocations: 42.5 kB / 0.7273 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.6621, allocations: 0 / 0.7273 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0007734/0.6629, allocations: 297.3 kB / 0.7276 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.663, allocations: 51.41 kB / 0.7277 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.6633, allocations: 320.5 kB / 0.728 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.6633, allocations: 29.7 kB / 0.728 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.6635, allocations: 184.1 kB / 0.7282 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.6635, allocations: 71.08 kB / 0.7283 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.6636, allocations: 45.7 kB / 0.7283 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6637, allocations: 338.8 kB / 0.7286 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.6639, allocations: 67.95 kB / 0.7287 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.6641, allocations: 135.2 kB / 0.7288 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.6645, allocations: 189 kB / 0.729 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6645, allocations: 3.938 kB / 0.729 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004543/0.6649, allocations: 259.3 kB / 0.7292 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.665, allocations: 9.562 kB / 0.7293 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.665, allocations: 0 / 0.7293 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.665, allocations: 4 kB / 0.7293 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.6652, allocations: 43.91 kB / 0.7293 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.6652, allocations: 4 kB / 0.7293 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.6654, allocations: 39.77 kB / 0.7293 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.6655, allocations: 8 kB / 0.7293 GB, free: 2.66 MB / 0.5606 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.0001398/0.6656, allocations: 162.6 kB / 0.7295 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.6657, allocations: 27.72 kB / 0.7295 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004737/0.6662, allocations: 220.7 kB / 0.7297 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6662, allocations: 7.938 kB / 0.7297 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6662, allocations: 4 kB / 0.7298 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6662, allocations: 0 / 0.7298 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009891/0.6672, allocations: 0.7146 MB / 0.7304 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.6672, allocations: 144 / 0.7304 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.6674, allocations: 35.92 kB / 0.7305 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6674, allocations: 7.984 kB / 0.7305 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.6674, allocations: 8 kB / 0.7305 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.6674, allocations: 3.938 kB / 0.7305 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6674, allocations: 4 kB / 0.7305 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006347/0.6681, allocations: 451.3 kB / 0.7309 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6682, allocations: 124.8 kB / 0.7311 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.6682, allocations: 7.938 kB / 0.7311 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.6684, allocations: 23.86 kB / 0.7311 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.6685, allocations: 15.92 kB / 0.7311 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.6685, allocations: 16.06 kB / 0.7311 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002163/0.6687, allocations: 227 kB / 0.7313 GB, free: 496 kB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6687, allocations: 0 / 0.7313 GB, free: 496 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00039/0.6691, allocations: 87.89 kB / 0.7314 GB, free: 408 kB / 0.5606 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.0003861/0.6695, allocations: 149.7 kB / 0.7316 GB, free: 252 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.67, allocations: 189.7 kB / 0.7317 GB, free: 64 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.67, allocations: 4 kB / 0.7317 GB, free: 60 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.6702, allocations: 87.94 kB / 0.7318 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008603/0.6711, allocations: 167 kB / 0.732 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.6721, allocations: 0.7502 MB / 0.7327 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.6724, allocations: 0.7797 MB / 0.7335 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.6725, allocations: 27.44 kB / 0.7335 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.6725, allocations: 4 kB / 0.7335 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.007081/0.6796, allocations: 4.926 MB / 0.7383 GB, free: 9.301 MB / 0.5762 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)