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.001156/0.001155, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001078/0.001078, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.419/1.419, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.784/1.784, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001442/0.001442, allocations: 72.45 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2437, allocations: 114.6 MB / 0.784 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7714/1.015, allocations: 167.4 MB / 0.9475 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003926/1.019, allocations: 1.561 MB / 0.949 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007898/1.02, allocations: 11.94 kB / 0.949 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008096/1.021, allocations: 150.8 kB / 0.9492 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002817/1.024, allocations: 0.7039 MB / 0.9499 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/1.026, allocations: 0.5979 MB / 0.9505 GB, free: 124 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001274/1.027, allocations: 0.7148 MB / 0.9512 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006454/1.028, allocations: 237 kB / 0.9514 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/1.029, allocations: 346.6 kB / 0.9517 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/1.03, allocations: 219.1 kB / 0.9519 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.251e-05/1.03, allocations: 24 kB / 0.9519 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/1.032, allocations: 0.8767 MB / 0.9528 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002386/1.032, allocations: 115.7 kB / 0.9529 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003587/1.033, allocations: 171.1 kB / 0.9531 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/1.035, allocations: 0.7246 MB / 0.9538 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/1.035, allocations: 4 kB / 0.9538 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.985e-06/1.035, allocations: 0 / 0.9538 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.745e-05/1.035, allocations: 0 / 0.9538 GB, free: 12.71 MB / 0.7481 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.001585/1.036, allocations: 0.6632 MB / 0.9544 GB, free: 12 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.036, allocations: 12.03 kB / 0.9544 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/1.038, allocations: 151.5 kB / 0.9546 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/1.039, allocations: 314.6 kB / 0.9549 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/1.039, allocations: 16.56 kB / 0.9549 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/1.039, allocations: 27.94 kB / 0.9549 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/1.039, allocations: 289.8 kB / 0.9552 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/1.039, allocations: 0 / 0.9552 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/1.039, allocations: 8 kB / 0.9552 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/1.039, allocations: 11.98 kB / 0.9552 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/1.04, allocations: 196.9 kB / 0.9554 GB, free: 10.93 MB / 0.7481 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.001743/1.042, allocations: 1.23 MB / 0.9566 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/1.042, allocations: 150.4 kB / 0.9568 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/1.042, allocations: 100.8 kB / 0.9569 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007227/1.043, allocations: 295.2 kB / 0.9571 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.992e-05/1.043, allocations: 34.56 kB / 0.9572 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 4.859e-06/1.043, allocations: 4 kB / 0.9572 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.00093/1.044, allocations: 298.9 kB / 0.9575 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/1.044, allocations: 59.31 kB / 0.9575 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/1.044, allocations: 320.5 kB / 0.9578 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/1.044, allocations: 29.7 kB / 0.9579 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/1.045, allocations: 184.2 kB / 0.958 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/1.045, allocations: 59.11 kB / 0.9581 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/1.045, allocations: 47.11 kB / 0.9581 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.045, allocations: 342.8 kB / 0.9585 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/1.045, allocations: 68.58 kB / 0.9585 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/1.045, allocations: 127.1 kB / 0.9586 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/1.046, allocations: 201 kB / 0.9588 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.046, allocations: 0 / 0.9588 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005533/1.046, allocations: 265.3 kB / 0.9591 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.046, allocations: 4 kB / 0.9591 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.046, allocations: 4 kB / 0.9591 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.046, allocations: 0 / 0.9591 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/1.047, allocations: 43.97 kB / 0.9591 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.047, allocations: 7.938 kB / 0.9591 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/1.047, allocations: 35.77 kB / 0.9592 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/1.047, allocations: 8 kB / 0.9592 GB, free: 6.797 MB / 0.7481 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.0001857/1.047, allocations: 153.8 kB / 0.9593 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/1.047, allocations: 33.03 kB / 0.9594 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/1.048, allocations: 226.6 kB / 0.9596 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.048, allocations: 4 kB / 0.9596 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.048, allocations: 0 / 0.9596 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/1.048, allocations: 7.984 kB / 0.9596 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/1.049, allocations: 0.7069 MB / 0.9603 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.049, allocations: 0 / 0.9603 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/1.049, allocations: 31.98 kB / 0.9603 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/1.049, allocations: 4 kB / 0.9603 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/1.049, allocations: 0.75 kB / 0.9603 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.049, allocations: 15.86 kB / 0.9603 GB, free: 5.535 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.049, allocations: 5.75 kB / 0.9603 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000741/1.05, allocations: 454.2 kB / 0.9608 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/1.05, allocations: 124.7 kB / 0.9609 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/1.05, allocations: 4 kB / 0.9609 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/1.05, allocations: 17.42 kB / 0.9609 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/1.051, allocations: 15.98 kB / 0.9609 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/1.051, allocations: 4 kB / 0.9609 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00026/1.051, allocations: 231 kB / 0.9611 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/1.051, allocations: 64 / 0.9611 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004508/1.051, allocations: 95.83 kB / 0.9612 GB, free: 4.555 MB / 0.7481 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.0004788/1.052, allocations: 166.8 kB / 0.9614 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005265/1.052, allocations: 183.9 kB / 0.9616 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.052, allocations: 7.938 kB / 0.9616 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/1.053, allocations: 91.88 kB / 0.9617 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/1.054, allocations: 174.8 kB / 0.9618 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/1.055, allocations: 0.6536 MB / 0.9625 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/1.056, allocations: 0.7872 MB / 0.9632 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/1.056, allocations: 27.44 kB / 0.9633 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of SimCode: time 1.283e-06/1.056, allocations: 0 / 0.9633 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of Templates: time 0.01085/1.067, allocations: 4.942 MB / 0.9681 GB, free: 13.62 MB / 0.7637 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)