Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",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.00156/0.00156, 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.001876/0.001876, allocations: 194.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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 290.8 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9652/0.9652, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 101.1 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1706, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4907/0.6614, allocations: 167.3 MB / 0.8437 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.6639, allocations: 1.556 MB / 0.8452 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.6643, allocations: 16.12 kB / 0.8452 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004673/0.6647, allocations: 155.3 kB / 0.8454 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.6666, allocations: 0.6946 MB / 0.8461 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.6682, allocations: 0.6026 MB / 0.8466 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008728/0.6691, allocations: 0.7047 MB / 0.8473 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.6695, allocations: 228.4 kB / 0.8475 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005724/0.6701, allocations: 327.7 kB / 0.8479 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.6704, allocations: 218.9 kB / 0.8481 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.6704, allocations: 21.94 kB / 0.8481 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.672, allocations: 0.8648 MB / 0.8489 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.6721, allocations: 116.1 kB / 0.849 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.6723, allocations: 166 kB / 0.8492 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.6732, allocations: 0.7204 MB / 0.8499 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6732, allocations: 0 / 0.8499 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6733, allocations: 0 / 0.8499 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.6733, allocations: 2.438 kB / 0.8499 GB, free: 13.2 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008802/0.6742, allocations: 0.6487 MB / 0.8505 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.6742, allocations: 8.062 kB / 0.8506 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.802e-05/0.6743, allocations: 62 kB / 0.8506 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.6754, allocations: 161.6 kB / 0.8508 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.6758, allocations: 300.2 kB / 0.8511 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.6758, allocations: 18.84 kB / 0.8511 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.6759, allocations: 23.06 kB / 0.8511 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.6763, allocations: 278.9 kB / 0.8514 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.6763, allocations: 0 / 0.8514 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.6764, allocations: 9.406 kB / 0.8514 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.6764, allocations: 8.188 kB / 0.8514 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.6768, allocations: 196.6 kB / 0.8516 GB, free: 11.9 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.001365/0.6782, allocations: 1.214 MB / 0.8527 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.6784, allocations: 133 kB / 0.8529 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.6786, allocations: 92.89 kB / 0.853 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006176/0.6792, allocations: 303.9 kB / 0.8533 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.6793, allocations: 41.38 kB / 0.8533 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.6793, allocations: 0 / 0.8533 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.000742/0.68, allocations: 284.6 kB / 0.8536 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.6801, allocations: 53.97 kB / 0.8536 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.6804, allocations: 311.9 kB / 0.8539 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.6804, allocations: 29.7 kB / 0.8539 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.6805, allocations: 176.7 kB / 0.8541 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.6806, allocations: 58.34 kB / 0.8542 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.6807, allocations: 47.14 kB / 0.8542 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6808, allocations: 341.4 kB / 0.8545 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.681, allocations: 65.14 kB / 0.8546 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.6813, allocations: 124.3 kB / 0.8547 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.6816, allocations: 201.2 kB / 0.8549 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6816, allocations: 0 / 0.8549 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004501/0.6821, allocations: 244.6 kB / 0.8551 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6821, allocations: 9.094 kB / 0.8551 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6821, allocations: 0 / 0.8551 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6822, allocations: 2.719 kB / 0.8552 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.6823, allocations: 37.36 kB / 0.8552 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.6824, allocations: 10.61 kB / 0.8552 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.6826, allocations: 33.06 kB / 0.8552 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.6826, allocations: 11.73 kB / 0.8552 GB, free: 8.855 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 (22): * Single equations (assignments): 22 * 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.000147/0.6828, allocations: 156.6 kB / 0.8554 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.6828, allocations: 26.22 kB / 0.8554 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.6833, allocations: 224.3 kB / 0.8556 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6833, allocations: 2.938 kB / 0.8556 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6833, allocations: 0 / 0.8556 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6833, allocations: 0 / 0.8556 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/0.6843, allocations: 0.677 MB / 0.8563 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6843, allocations: 2.344 kB / 0.8563 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.6844, allocations: 38.97 kB / 0.8563 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.6845, allocations: 6.031 kB / 0.8563 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.6845, allocations: 5.25 kB / 0.8563 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.6845, allocations: 2.719 kB / 0.8563 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6845, allocations: 2.156 kB / 0.8563 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.6851, allocations: 437.9 kB / 0.8568 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.967e-05/0.6852, allocations: 117.2 kB / 0.8569 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.6853, allocations: 16.8 kB / 0.8569 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.6854, allocations: 9.312 kB / 0.8569 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.6855, allocations: 19.7 kB / 0.8569 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.6855, allocations: 4.594 kB / 0.8569 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002055/0.6857, allocations: 226.7 kB / 0.8571 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6857, allocations: 0 / 0.8571 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003811/0.6861, allocations: 73.19 kB / 0.8572 GB, free: 7.344 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 (15): * Single equations (assignments): 15 * 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.001134/0.6873, allocations: 1.039 MB / 0.8582 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.6877, allocations: 179.3 kB / 0.8584 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6877, allocations: 0 / 0.8584 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.6879, allocations: 87.28 kB / 0.8585 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.6887, allocations: 170.3 kB / 0.8586 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.6924, allocations: 2.915 MB / 0.8615 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.6928, allocations: 0.7885 MB / 0.8623 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002593/0.6931, allocations: 62 kB / 0.8623 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.6932, allocations: 86.66 kB / 0.8624 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of SimCode: time 6.92e-07/0.6932, allocations: 2.094 kB / 0.8624 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.7234, allocations: 8.759 MB / 0.871 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.448/8.171, allocations: 10.33 kB / 0.871 GB, free: 14.88 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_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_VolumeFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)