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.001425/0.001426, allocations: 108 kB / 15.61 MB, free: 152 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.001745/0.001745, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 279 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 104.5 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1597, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.5006/0.6603, allocations: 167.4 MB / 0.8438 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002478/0.6628, allocations: 1.552 MB / 0.8453 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.6631, allocations: 10.78 kB / 0.8453 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.6635, allocations: 158.5 kB / 0.8454 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.6651, allocations: 0.7037 MB / 0.8461 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.6664, allocations: 0.603 MB / 0.8467 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006533/0.6671, allocations: 0.7183 MB / 0.8474 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.6675, allocations: 230.9 kB / 0.8476 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000536/0.668, allocations: 340.6 kB / 0.848 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.6683, allocations: 229.7 kB / 0.8482 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.6683, allocations: 27.53 kB / 0.8482 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.6696, allocations: 0.8624 MB / 0.849 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.6698, allocations: 122.8 kB / 0.8492 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.6699, allocations: 164.5 kB / 0.8493 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009832/0.6709, allocations: 0.7307 MB / 0.85 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6709, allocations: 2.875 kB / 0.85 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6709, allocations: 0 / 0.85 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.671, allocations: 0 / 0.85 GB, free: 13.16 MB / 0.5762 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.0009693/0.6719, allocations: 0.6666 MB / 0.8507 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.672, allocations: 14.28 kB / 0.8507 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.037e-05/0.6721, allocations: 62.22 kB / 0.8508 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.6732, allocations: 152.4 kB / 0.8509 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.6736, allocations: 306.1 kB / 0.8512 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.6736, allocations: 19.22 kB / 0.8512 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.6737, allocations: 28.06 kB / 0.8512 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.6741, allocations: 286.2 kB / 0.8515 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.6742, allocations: 0 / 0.8515 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.6742, allocations: 11.31 kB / 0.8515 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.6742, allocations: 4.781 kB / 0.8515 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.6746, allocations: 199 kB / 0.8517 GB, free: 11.84 MB / 0.5762 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.001257/0.6759, allocations: 1.235 MB / 0.8529 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.6761, allocations: 149 kB / 0.8531 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.6763, allocations: 98.3 kB / 0.8532 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.677, allocations: 300.4 kB / 0.8534 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.677, allocations: 38.5 kB / 0.8535 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.677, allocations: 0 / 0.8535 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007641/0.6778, allocations: 298.8 kB / 0.8538 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.6778, allocations: 56.34 kB / 0.8538 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.6781, allocations: 317.3 kB / 0.8541 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.6782, allocations: 27.55 kB / 0.8541 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.6783, allocations: 191.3 kB / 0.8543 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.6783, allocations: 58.33 kB / 0.8544 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/0.6784, allocations: 47.73 kB / 0.8544 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6785, allocations: 341.2 kB / 0.8548 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.6787, allocations: 73.59 kB / 0.8548 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.6789, allocations: 131.9 kB / 0.855 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.6792, allocations: 200.2 kB / 0.8551 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6793, allocations: 4.5 kB / 0.8551 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004384/0.6797, allocations: 251.6 kB / 0.8554 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6797, allocations: 7.5 kB / 0.8554 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6797, allocations: 0 / 0.8554 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6798, allocations: 2.281 kB / 0.8554 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.68, allocations: 56.94 kB / 0.8555 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.68, allocations: 2.531 kB / 0.8555 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.6802, allocations: 29.8 kB / 0.8555 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.6802, allocations: 12.06 kB / 0.8555 GB, free: 8.742 MB / 0.5762 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.0001299/0.6803, allocations: 157.9 kB / 0.8556 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.6804, allocations: 28.56 kB / 0.8557 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.6808, allocations: 230.8 kB / 0.8559 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.6809, allocations: 2.219 kB / 0.8559 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6809, allocations: 0 / 0.8559 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6809, allocations: 7.984 kB / 0.8559 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009909/0.6819, allocations: 0.7148 MB / 0.8566 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6819, allocations: 2.781 kB / 0.8566 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.6821, allocations: 33.08 kB / 0.8566 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.6821, allocations: 6.344 kB / 0.8566 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.6821, allocations: 4.938 kB / 0.8566 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.6821, allocations: 10.7 kB / 0.8567 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6821, allocations: 2.094 kB / 0.8567 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.6827, allocations: 449.9 kB / 0.8571 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.6829, allocations: 123.2 kB / 0.8572 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.6829, allocations: 2.594 kB / 0.8572 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.6831, allocations: 17.3 kB / 0.8572 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.6832, allocations: 18.77 kB / 0.8572 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.6832, allocations: 5.812 kB / 0.8572 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002016/0.6834, allocations: 231.4 kB / 0.8575 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6834, allocations: 0 / 0.8575 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003748/0.6838, allocations: 87.8 kB / 0.8575 GB, free: 7.18 MB / 0.5762 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.001094/0.6849, allocations: 1.044 MB / 0.8586 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004141/0.6853, allocations: 185.2 kB / 0.8587 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6853, allocations: 0 / 0.8587 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.6855, allocations: 96 kB / 0.8588 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.6863, allocations: 168.3 kB / 0.859 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.6897, allocations: 3.024 MB / 0.862 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.69, allocations: 0.7909 MB / 0.8627 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.6903, allocations: 70.19 kB / 0.8628 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.6904, allocations: 92.84 kB / 0.8629 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of SimCode: time 3.9e-07/0.6904, allocations: 0 / 0.8629 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.7218, allocations: 8.937 MB / 0.8716 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.452/8.174, allocations: 12.66 kB / 0.8716 GB, free: 14.57 MB / 0.5919 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)