Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.205/2.205, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 195.4 kB / 499.1 MB, free: 4.707 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 119.8 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001078, allocations: 50.41 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.248, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1472/0.3952, allocations: 165.1 MB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002911/0.3982, allocations: 1.577 MB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.3987, allocations: 7.938 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005202/0.3992, allocations: 115.2 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.401, allocations: 0.6691 MB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.4025, allocations: 0.5488 MB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.4036, allocations: 0.9983 MB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.404, allocations: 193.5 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007596/0.4048, allocations: 330.7 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.4052, allocations: 235 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/0.4053, allocations: 12 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.407, allocations: 1.017 MB / 1.385 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.4072, allocations: 99.64 kB / 1.385 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.4074, allocations: 163.1 kB / 1.385 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.4088, allocations: 0.7751 MB / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4088, allocations: 0 / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4088, allocations: 0 / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.4088, allocations: 4 kB / 1.386 GB, free: 8.793 MB / 0.8855 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.001103/0.41, allocations: 0.6661 MB / 1.387 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.41, allocations: 11.98 kB / 1.387 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.4111, allocations: 155.5 kB / 1.387 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.4116, allocations: 310.6 kB / 1.387 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.4117, allocations: 24.5 kB / 1.387 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.4117, allocations: 31.94 kB / 1.387 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.4122, allocations: 277.8 kB / 1.387 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4122, allocations: 0 / 1.387 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.4123, allocations: 12 kB / 1.387 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.4123, allocations: 4 kB / 1.387 GB, free: 7.207 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.4127, allocations: 212.7 kB / 1.388 GB, free: 7 MB / 0.8855 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.0014/0.4141, allocations: 1.223 MB / 1.389 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.4144, allocations: 154.3 kB / 1.389 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.4146, allocations: 92.81 kB / 1.389 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006276/0.4152, allocations: 303.2 kB / 1.389 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4153, allocations: 38.56 kB / 1.389 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.4153, allocations: 0 / 1.389 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.0007841/0.4161, allocations: 290.7 kB / 1.39 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.4161, allocations: 55.41 kB / 1.39 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.4164, allocations: 324.4 kB / 1.39 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.4165, allocations: 33.7 kB / 1.39 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.4166, allocations: 180.2 kB / 1.39 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.4167, allocations: 67.08 kB / 1.39 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.4167, allocations: 41.7 kB / 1.39 GB, free: 4.004 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4169, allocations: 338.8 kB / 1.391 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.417, allocations: 71.89 kB / 1.391 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.4173, allocations: 134.8 kB / 1.391 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.4176, allocations: 201 kB / 1.391 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4176, allocations: 3.938 kB / 1.391 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004724/0.4181, allocations: 251.3 kB / 1.391 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4181, allocations: 4 kB / 1.391 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.4181, allocations: 7.984 kB / 1.391 GB, free: 2.965 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4182, allocations: 0 / 1.391 GB, free: 2.965 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.4184, allocations: 43.98 kB / 1.391 GB, free: 2.922 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4184, allocations: 8.031 kB / 1.391 GB, free: 2.914 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.4186, allocations: 43.67 kB / 1.391 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.4187, allocations: 11.98 kB / 1.391 GB, free: 2.859 MB / 0.8855 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.0001325/0.4188, allocations: 146.4 kB / 1.391 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.4189, allocations: 35.62 kB / 1.392 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.4194, allocations: 233.5 kB / 1.392 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4194, allocations: 0 / 1.392 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4194, allocations: 0 / 1.392 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.4194, allocations: 7.984 kB / 1.392 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.4205, allocations: 0.7029 MB / 1.392 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.4205, allocations: 4 kB / 1.392 GB, free: 1.645 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.4206, allocations: 31.98 kB / 1.392 GB, free: 1.613 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.4207, allocations: 4 kB / 1.392 GB, free: 1.609 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.4207, allocations: 4 kB / 1.392 GB, free: 1.605 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.4207, allocations: 12.09 kB / 1.392 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4207, allocations: 4 kB / 1.392 GB, free: 1.59 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004321/0.425, allocations: 2.058 MB / 1.395 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.4252, allocations: 120.7 kB / 1.395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.4252, allocations: 3.984 kB / 1.395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.4254, allocations: 20.08 kB / 1.395 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.4255, allocations: 24 kB / 1.395 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.4255, allocations: 8 kB / 1.395 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00021/0.4257, allocations: 231 kB / 1.395 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.363e-06/0.4257, allocations: 0 / 1.395 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005219/0.4263, allocations: 123.8 kB / 1.395 GB, free: 14.83 MB / 0.9011 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.000373/0.4266, allocations: 171.6 kB / 1.395 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.4271, allocations: 175.8 kB / 1.395 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4271, allocations: 4.031 kB / 1.395 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.4274, allocations: 96.14 kB / 1.395 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009025/0.4283, allocations: 147.8 kB / 1.396 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4295, allocations: 0.896 MB / 1.396 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.4298, allocations: 0.7876 MB / 1.397 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.43, allocations: 62.92 kB / 1.397 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.4301, allocations: 27.42 kB / 1.397 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of SimCode: time 6.01e-07/0.4301, allocations: 4 kB / 1.397 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of Templates: time 0.01036/0.4405, allocations: 5.691 MB / 1.403 GB, free: 6.781 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)