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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001591, allocations: 108 kB / 15.6 MB, free: 132 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.001869/0.00187, allocations: 198.2 kB / 16.54 MB, free: 6.391 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.214/1.214, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.529/1.529, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001331/0.001331, allocations: 71.95 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1881, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.5056/0.6937, allocations: 167.4 MB / 0.947 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0028/0.6966, allocations: 1.561 MB / 0.9485 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003983/0.697, allocations: 11.75 kB / 0.9485 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.6974, allocations: 148.2 kB / 0.9486 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.6991, allocations: 0.7108 MB / 0.9493 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.7006, allocations: 0.5932 MB / 0.9499 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009133/0.7015, allocations: 0.7211 MB / 0.9506 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.7019, allocations: 234.4 kB / 0.9508 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000673/0.7026, allocations: 346.7 kB / 0.9512 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.7029, allocations: 227.6 kB / 0.9514 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.703, allocations: 23.59 kB / 0.9514 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.7045, allocations: 0.8671 MB / 0.9523 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.7046, allocations: 114.2 kB / 0.9524 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.7048, allocations: 171.8 kB / 0.9525 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009884/0.7058, allocations: 0.7258 MB / 0.9532 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7058, allocations: 4 kB / 0.9532 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7058, allocations: 1.25 kB / 0.9532 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.7058, allocations: 0 / 0.9532 GB, free: 0.8984 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.0009126/0.7067, allocations: 0.6652 MB / 0.9539 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.7068, allocations: 10.12 kB / 0.9539 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.949e-05/0.7069, allocations: 56.42 kB / 0.954 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.7079, allocations: 158.7 kB / 0.9541 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.7083, allocations: 307.9 kB / 0.9544 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.7084, allocations: 17.91 kB / 0.9544 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.7084, allocations: 33.83 kB / 0.9544 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.7089, allocations: 282.4 kB / 0.9547 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.7089, allocations: 1.094 kB / 0.9547 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.7089, allocations: 13.56 kB / 0.9547 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.7089, allocations: 5.531 kB / 0.9547 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.7093, allocations: 202.3 kB / 0.9549 GB, free: 16.01 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.001385/0.7107, allocations: 1.225 MB / 0.9561 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.711, allocations: 151.3 kB / 0.9563 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.7112, allocations: 96.06 kB / 0.9564 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006673/0.7119, allocations: 303.9 kB / 0.9566 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.7119, allocations: 32.66 kB / 0.9567 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 2.295e-06/0.7119, allocations: 1.203 kB / 0.9567 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007603/0.7127, allocations: 301.5 kB / 0.957 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.7128, allocations: 53.5 kB / 0.957 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.7131, allocations: 329 kB / 0.9573 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.7131, allocations: 27.02 kB / 0.9574 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.7133, allocations: 190.6 kB / 0.9575 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.7133, allocations: 57.5 kB / 0.9576 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.7134, allocations: 46.44 kB / 0.9576 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.7136, allocations: 349.7 kB / 0.958 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.7138, allocations: 66.72 kB / 0.958 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.714, allocations: 127.8 kB / 0.9582 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.7143, allocations: 196.5 kB / 0.9583 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.7143, allocations: 5.875 kB / 0.9584 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004643/0.7148, allocations: 253.4 kB / 0.9586 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7148, allocations: 9.844 kB / 0.9586 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.7148, allocations: 1.469 kB / 0.9586 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7148, allocations: 2.906 kB / 0.9586 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.7151, allocations: 44.38 kB / 0.9586 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7151, allocations: 3.406 kB / 0.9587 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.7153, allocations: 35.06 kB / 0.9587 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.7153, allocations: 12.28 kB / 0.9587 GB, free: 13.85 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.000138/0.7155, allocations: 153.5 kB / 0.9588 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.7155, allocations: 35.03 kB / 0.9589 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.716, allocations: 224.5 kB / 0.9591 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.716, allocations: 2.094 kB / 0.9591 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.716, allocations: 1 kB / 0.9591 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.716, allocations: 0 / 0.9591 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.717, allocations: 0.7059 MB / 0.9598 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.717, allocations: 2.156 kB / 0.9598 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.7172, allocations: 42.97 kB / 0.9598 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.7172, allocations: 6.094 kB / 0.9598 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.7173, allocations: 3.531 kB / 0.9598 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.7173, allocations: 10.95 kB / 0.9598 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7173, allocations: 2.344 kB / 0.9598 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007022/0.718, allocations: 448.9 kB / 0.9603 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.7181, allocations: 122.4 kB / 0.9604 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.7182, allocations: 5.531 kB / 0.9604 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.7184, allocations: 19.36 kB / 0.9604 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.7184, allocations: 16.72 kB / 0.9604 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.7184, allocations: 9.156 kB / 0.9604 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002164/0.7187, allocations: 235.2 kB / 0.9607 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7187, allocations: 1.203 kB / 0.9607 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004292/0.7191, allocations: 84 kB / 0.9607 GB, free: 12.86 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.001187/0.7203, allocations: 1.044 MB / 0.9618 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004478/0.7208, allocations: 201.3 kB / 0.962 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7208, allocations: 0 / 0.962 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.721, allocations: 94.5 kB / 0.962 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.7219, allocations: 170.8 kB / 0.9622 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.7256, allocations: 2.997 MB / 0.9651 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.726, allocations: 0.7903 MB / 0.9659 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002405/0.7263, allocations: 66.44 kB / 0.966 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.7264, allocations: 90.56 kB / 0.9661 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.7264, allocations: 1.219 kB / 0.9661 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.157/4.884, allocations: 8.939 MB / 0.9748 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/16.01, allocations: 10.77 kB / 0.9748 GB, free: 6.895 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)