Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001671/0.001671, allocations: 109.4 kB / 15.69 MB, free: 128 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.001477/0.001477, allocations: 186.4 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 75.08 kB / 0.6723 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.325, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8188/1.144, allocations: 167.4 MB / 0.9476 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00292/1.147, allocations: 1.551 MB / 0.9491 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/1.147, allocations: 15.12 kB / 0.9491 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004992/1.148, allocations: 154.3 kB / 0.9493 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/1.15, allocations: 0.7107 MB / 0.95 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/1.151, allocations: 0.5978 MB / 0.9505 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001182/1.153, allocations: 0.7206 MB / 0.9513 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005079/1.153, allocations: 235.2 kB / 0.9515 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008917/1.154, allocations: 344.4 kB / 0.9518 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/1.154, allocations: 232.5 kB / 0.952 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/1.154, allocations: 23.41 kB / 0.952 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/1.156, allocations: 0.8687 MB / 0.9529 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/1.157, allocations: 113.8 kB / 0.953 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/1.157, allocations: 171.9 kB / 0.9532 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/1.158, allocations: 0.7385 MB / 0.9539 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.158, allocations: 0 / 0.9539 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/1.158, allocations: 1.188 kB / 0.9539 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.674e-06/1.158, allocations: 0 / 0.9539 GB, free: 1.223 MB / 0.7169 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.001149/1.159, allocations: 0.6613 MB / 0.9545 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/1.159, allocations: 9.188 kB / 0.9545 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/1.161, allocations: 161.8 kB / 0.9547 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/1.161, allocations: 322.2 kB / 0.955 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/1.161, allocations: 18.03 kB / 0.955 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/1.161, allocations: 32.81 kB / 0.9551 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/1.162, allocations: 284.8 kB / 0.9553 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.162, allocations: 0 / 0.9553 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/1.162, allocations: 9.25 kB / 0.9553 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/1.162, allocations: 7.297 kB / 0.9553 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/1.162, allocations: 203.5 kB / 0.9555 GB, free: 16.38 MB / 0.7325 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.001504/1.164, allocations: 1.221 MB / 0.9567 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/1.164, allocations: 155.2 kB / 0.9569 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/1.164, allocations: 91.77 kB / 0.957 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/1.165, allocations: 305.3 kB / 0.9573 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/1.165, allocations: 35.62 kB / 0.9573 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/1.165, allocations: 0 / 0.9573 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.000808/1.166, allocations: 295.9 kB / 0.9576 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/1.166, allocations: 56.81 kB / 0.9576 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/1.166, allocations: 324.1 kB / 0.9579 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/1.166, allocations: 30.48 kB / 0.958 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/1.166, allocations: 185.4 kB / 0.9581 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/1.167, allocations: 60.81 kB / 0.9582 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/1.167, allocations: 43.12 kB / 0.9582 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.167, allocations: 351 kB / 0.9586 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/1.167, allocations: 65.64 kB / 0.9586 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/1.167, allocations: 125.3 kB / 0.9588 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/1.168, allocations: 197.2 kB / 0.9589 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.168, allocations: 0 / 0.9589 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000519/1.168, allocations: 263.8 kB / 0.9592 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.168, allocations: 11.48 kB / 0.9592 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.168, allocations: 1.156 kB / 0.9592 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/1.168, allocations: 3.312 kB / 0.9592 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/1.168, allocations: 45.22 kB / 0.9593 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/1.168, allocations: 3.844 kB / 0.9593 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/1.169, allocations: 33.53 kB / 0.9593 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/1.169, allocations: 15.66 kB / 0.9593 GB, free: 14.21 MB / 0.7325 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.000157/1.169, allocations: 155.7 kB / 0.9595 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/1.169, allocations: 26.55 kB / 0.9595 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004916/1.169, allocations: 234 kB / 0.9597 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.169, allocations: 2.484 kB / 0.9597 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/1.169, allocations: 1.156 kB / 0.9597 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.169, allocations: 2.203 kB / 0.9597 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/1.171, allocations: 0.7084 MB / 0.9604 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/1.171, allocations: 4.688 kB / 0.9604 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/1.171, allocations: 41.55 kB / 0.9604 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.171, allocations: 1.656 kB / 0.9604 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/1.171, allocations: 3.656 kB / 0.9604 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/1.171, allocations: 9.875 kB / 0.9605 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.171, allocations: 5.594 kB / 0.9605 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/1.172, allocations: 450.9 kB / 0.9609 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/1.172, allocations: 121.3 kB / 0.961 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/1.172, allocations: 6.875 kB / 0.961 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/1.172, allocations: 18.53 kB / 0.961 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/1.172, allocations: 15.81 kB / 0.961 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/1.172, allocations: 6.312 kB / 0.9611 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002545/1.172, allocations: 231.5 kB / 0.9613 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/1.172, allocations: 0.9688 kB / 0.9613 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004883/1.173, allocations: 83.59 kB / 0.9614 GB, free: 13.23 MB / 0.7325 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.0005097/1.173, allocations: 165.8 kB / 0.9615 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005932/1.174, allocations: 181.5 kB / 0.9617 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.174, allocations: 0 / 0.9617 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/1.174, allocations: 98.52 kB / 0.9618 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009836/1.175, allocations: 175.8 kB / 0.9619 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/1.176, allocations: 0.6237 MB / 0.9626 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/1.177, allocations: 0.7857 MB / 0.9633 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002369/1.177, allocations: 63.36 kB / 0.9634 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/1.177, allocations: 29.56 kB / 0.9634 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/1.177, allocations: 0 / 0.9634 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.01283/1.19, allocations: 5.817 MB / 0.9691 GB, free: 11.04 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)