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.00112/0.00112, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001209/0.001209, allocations: 196 kB / 17.98 MB, free: 5.031 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7066/0.7066, allocations: 115.1 MB / 406.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 68.11 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3251, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.1584/0.4835, allocations: 167.4 MB / 0.721 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.4861, allocations: 1.551 MB / 0.7226 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.4863, allocations: 11.94 kB / 0.7226 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.4867, allocations: 146.8 kB / 0.7227 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.4882, allocations: 0.7156 MB / 0.7234 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.4896, allocations: 0.599 MB / 0.724 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000703/0.4903, allocations: 0.7215 MB / 0.7247 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.4906, allocations: 232.9 kB / 0.7249 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005441/0.4912, allocations: 346.6 kB / 0.7253 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.4915, allocations: 227 kB / 0.7255 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.4915, allocations: 24 kB / 0.7255 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.4928, allocations: 0.869 MB / 0.7263 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.4929, allocations: 111.6 kB / 0.7264 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.4931, allocations: 171.1 kB / 0.7266 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009087/0.494, allocations: 0.7363 MB / 0.7273 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.494, allocations: 0 / 0.7273 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.534e-06/0.494, allocations: 4 kB / 0.7273 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4941, allocations: 3.938 kB / 0.7273 GB, free: 6.191 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.0008564/0.4949, allocations: 0.6545 MB / 0.728 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.495, allocations: 12.03 kB / 0.728 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.4961, allocations: 163.3 kB / 0.7281 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.4966, allocations: 322.6 kB / 0.7285 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.4966, allocations: 20.56 kB / 0.7285 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.4967, allocations: 27.94 kB / 0.7285 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.4972, allocations: 277.9 kB / 0.7288 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4972, allocations: 4 kB / 0.7288 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.4972, allocations: 11.94 kB / 0.7288 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4972, allocations: 8 kB / 0.7288 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.4976, allocations: 212.6 kB / 0.729 GB, free: 4.391 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.00133/0.499, allocations: 1.215 MB / 0.7302 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.4993, allocations: 154.4 kB / 0.7303 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.4995, allocations: 96.73 kB / 0.7304 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/0.5, allocations: 303.2 kB / 0.7307 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.5, allocations: 34.56 kB / 0.7307 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.5001, allocations: 0 / 0.7307 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0007611/0.5008, allocations: 299.2 kB / 0.731 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.5009, allocations: 55.41 kB / 0.7311 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.5012, allocations: 324.5 kB / 0.7314 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.5012, allocations: 29.7 kB / 0.7314 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.5013, allocations: 184.1 kB / 0.7316 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.5014, allocations: 59.11 kB / 0.7316 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.5015, allocations: 41.7 kB / 0.7317 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.5016, allocations: 342.8 kB / 0.732 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.5018, allocations: 71.89 kB / 0.7321 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.502, allocations: 127.3 kB / 0.7322 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.5023, allocations: 194.8 kB / 0.7324 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.5023, allocations: 7.938 kB / 0.7324 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004517/0.5028, allocations: 259.8 kB / 0.7326 GB, free: 388 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5028, allocations: 12.09 kB / 0.7327 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5028, allocations: 0 / 0.7327 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5028, allocations: 4 kB / 0.7327 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.503, allocations: 39.92 kB / 0.7327 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5031, allocations: 4 kB / 0.7327 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.5033, allocations: 35.61 kB / 0.7327 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.5033, allocations: 8 kB / 0.7327 GB, free: 284 kB / 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.000144/0.5034, allocations: 162.3 kB / 0.7329 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.5035, allocations: 31.72 kB / 0.7329 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.504, allocations: 220.7 kB / 0.7331 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.504, allocations: 4 kB / 0.7331 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.504, allocations: 3.938 kB / 0.7331 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.504, allocations: 0 / 0.7331 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.505, allocations: 0.7146 MB / 0.7338 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.505, allocations: 96 / 0.7338 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.5052, allocations: 39.86 kB / 0.7339 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5052, allocations: 8.219 kB / 0.7339 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.5053, allocations: 4 kB / 0.7339 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5053, allocations: 3.938 kB / 0.7339 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5053, allocations: 4 kB / 0.7339 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.5059, allocations: 451.1 kB / 0.7343 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.506, allocations: 124.7 kB / 0.7344 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.5061, allocations: 0 / 0.7344 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.5063, allocations: 19.92 kB / 0.7345 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.5063, allocations: 27.98 kB / 0.7345 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.5063, allocations: 4 kB / 0.7345 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000216/0.5066, allocations: 231 kB / 0.7347 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5066, allocations: 0 / 0.7347 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004138/0.507, allocations: 79.94 kB / 0.7348 GB, free: 14.03 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.0004521/0.5075, allocations: 169.9 kB / 0.735 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.5079, allocations: 186.2 kB / 0.7351 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5079, allocations: 0 / 0.7351 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.5081, allocations: 96.45 kB / 0.7352 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008197/0.5089, allocations: 163 kB / 0.7354 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009468/0.5099, allocations: 0.6392 MB / 0.736 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.5102, allocations: 0.7872 MB / 0.7368 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.5104, allocations: 62.92 kB / 0.7368 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.5105, allocations: 23.44 kB / 0.7369 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.5105, allocations: 4 kB / 0.7369 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of Templates: time 0.01085/0.5213, allocations: 5.801 MB / 0.7425 GB, free: 6.152 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)