Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_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.004254/0.004254, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.001204/0.001204, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002435/0.002436, allocations: 296.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.158/1.158, allocations: 178.5 MB / 0.5074 GB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 99.83 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3857, allocations: 89.13 MB / 0.7814 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1922/0.5779, allocations: 167.4 MB / 0.9448 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.581, allocations: 1.555 MB / 0.9464 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.5813, allocations: 11.94 kB / 0.9464 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.5819, allocations: 146.9 kB / 0.9465 GB, free: 15 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.5837, allocations: 0.7078 MB / 0.9472 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.5853, allocations: 0.6061 MB / 0.9478 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008965/0.5862, allocations: 0.7215 MB / 0.9485 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003913/0.5866, allocations: 237.1 kB / 0.9487 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006432/0.5872, allocations: 346.6 kB / 0.949 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.5876, allocations: 231.1 kB / 0.9493 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.5876, allocations: 24 kB / 0.9493 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.5891, allocations: 0.8611 MB / 0.9501 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.5892, allocations: 115.6 kB / 0.9502 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.5894, allocations: 171.1 kB / 0.9504 GB, free: 11 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.5906, allocations: 0.7341 MB / 0.9511 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5906, allocations: 0 / 0.9511 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5906, allocations: 3.938 kB / 0.9511 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.5906, allocations: 0 / 0.9511 GB, free: 10.26 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.0009879/0.5916, allocations: 0.6772 MB / 0.9518 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5917, allocations: 8.031 kB / 0.9518 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.873e-05/0.5917, allocations: 62.53 kB / 0.9519 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.5929, allocations: 147.6 kB / 0.952 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.5934, allocations: 334.9 kB / 0.9523 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.5934, allocations: 20.5 kB / 0.9523 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.5935, allocations: 24 kB / 0.9524 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.594, allocations: 289.8 kB / 0.9526 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.594, allocations: 4 kB / 0.9526 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.5941, allocations: 8 kB / 0.9526 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.5941, allocations: 8 kB / 0.9527 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.5945, allocations: 208.6 kB / 0.9529 GB, free: 8.371 MB / 0.7169 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.001508/0.5961, allocations: 1.227 MB / 0.954 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.5964, allocations: 145.5 kB / 0.9542 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.5966, allocations: 96.8 kB / 0.9543 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/0.5972, allocations: 303.2 kB / 0.9546 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.5972, allocations: 34.56 kB / 0.9546 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.5972, allocations: 0 / 0.9546 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0008276/0.5981, allocations: 297.5 kB / 0.9549 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.5981, allocations: 55.41 kB / 0.9549 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.5985, allocations: 324.5 kB / 0.9552 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.5985, allocations: 25.7 kB / 0.9553 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.5987, allocations: 184.3 kB / 0.9554 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.5987, allocations: 71.42 kB / 0.9555 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.5988, allocations: 41.7 kB / 0.9556 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.599, allocations: 342.8 kB / 0.9559 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.5992, allocations: 71.95 kB / 0.956 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.5994, allocations: 132.9 kB / 0.9561 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.5998, allocations: 204.4 kB / 0.9563 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5998, allocations: 4 kB / 0.9563 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005055/0.6004, allocations: 249.2 kB / 0.9565 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6004, allocations: 8 kB / 0.9565 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6004, allocations: 0 / 0.9565 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.6004, allocations: 4 kB / 0.9565 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.6006, allocations: 47.91 kB / 0.9566 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.6007, allocations: 4 kB / 0.9566 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.6009, allocations: 35.86 kB / 0.9566 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.6009, allocations: 8 kB / 0.9566 GB, free: 4.238 MB / 0.7169 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.000148/0.601, allocations: 153.7 kB / 0.9568 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.6011, allocations: 35.77 kB / 0.9568 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/0.6016, allocations: 228.6 kB / 0.957 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6016, allocations: 4 kB / 0.957 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6017, allocations: 7.938 kB / 0.957 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6017, allocations: 4 kB / 0.957 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.6028, allocations: 0.7068 MB / 0.9577 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.6028, allocations: 0 / 0.9577 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.603, allocations: 43.91 kB / 0.9578 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.603, allocations: 4.094 kB / 0.9578 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.6031, allocations: 11.88 kB / 0.9578 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6031, allocations: 0 / 0.9578 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6031, allocations: 4 kB / 0.9578 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.6038, allocations: 459.5 kB / 0.9582 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.604, allocations: 128.9 kB / 0.9583 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.6041, allocations: 7.938 kB / 0.9584 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.6043, allocations: 8 kB / 0.9584 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.6043, allocations: 15.97 kB / 0.9584 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.6043, allocations: 8 kB / 0.9584 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002471/0.6046, allocations: 235 kB / 0.9586 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6046, allocations: 4.062 kB / 0.9586 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003945/0.605, allocations: 83.89 kB / 0.9587 GB, free: 1.973 MB / 0.7169 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.001291/0.6063, allocations: 1.043 MB / 0.9597 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.6068, allocations: 183.8 kB / 0.9599 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6068, allocations: 0 / 0.9599 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.607, allocations: 92.44 kB / 0.96 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008756/0.6079, allocations: 161 kB / 0.9601 GB, free: 476 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.6119, allocations: 3.008 MB / 0.9631 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.6123, allocations: 0.7873 MB / 0.9638 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000223/0.6126, allocations: 66.91 kB / 0.9639 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.6127, allocations: 91.41 kB / 0.964 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.6127, allocations: 4 kB / 0.964 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/0.6487, allocations: 9.049 MB / 0.9728 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.771, allocations: 11.98 kB / 0.9728 GB, free: 3.477 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)