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.004558/0.004558, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001208/0.001208, allocations: 197.5 kB / 16.67 MB, free: 5.922 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00241/0.00241, allocations: 279 kB / 290.8 MB, free: 1.746 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 178.6 MB / 0.5074 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002587/0.002587, allocations: 103.8 kB / 0.6943 GB, free: 3.574 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4421, allocations: 89.13 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1886/0.6308, allocations: 167.4 MB / 0.9448 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.6334, allocations: 1.552 MB / 0.9463 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.6335, allocations: 7.938 kB / 0.9463 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.634, allocations: 150.8 kB / 0.9465 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.6354, allocations: 0.7078 MB / 0.9471 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.6367, allocations: 0.5952 MB / 0.9477 GB, free: 4.258 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007356/0.6374, allocations: 0.7012 MB / 0.9484 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.6378, allocations: 237.1 kB / 0.9486 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.6383, allocations: 338.7 kB / 0.949 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.6386, allocations: 223 kB / 0.9492 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.6387, allocations: 20 kB / 0.9492 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.64, allocations: 0.8612 MB / 0.95 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.6401, allocations: 103.7 kB / 0.9501 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.6403, allocations: 175.1 kB / 0.9503 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009699/0.6413, allocations: 0.7216 MB / 0.951 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.6413, allocations: 3.938 kB / 0.951 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of FrontEnd: time 9.51e-07/0.6413, allocations: 0 / 0.951 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.6413, allocations: 0 / 0.951 GB, free: 0.8945 MB / 0.7012 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.0008844/0.6422, allocations: 0.6653 MB / 0.9517 GB, free: 184 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.6422, allocations: 8.031 kB / 0.9517 GB, free: 176 kB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.813e-05/0.6423, allocations: 54.55 kB / 0.9517 GB, free: 112 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.6434, allocations: 159.6 kB / 0.9519 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.6439, allocations: 321.9 kB / 0.9522 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.6439, allocations: 20.38 kB / 0.9522 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.6439, allocations: 27.95 kB / 0.9522 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/0.6444, allocations: 279.4 kB / 0.9525 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6445, allocations: 0 / 0.9525 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.6445, allocations: 8 kB / 0.9525 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.6445, allocations: 4 kB / 0.9525 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.6449, allocations: 199.8 kB / 0.9527 GB, free: 15.05 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.00138/0.6463, allocations: 1.202 MB / 0.9539 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.6466, allocations: 138.4 kB / 0.954 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.6468, allocations: 92.8 kB / 0.9541 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/0.6474, allocations: 307.2 kB / 0.9544 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.6474, allocations: 38.48 kB / 0.9544 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.6475, allocations: 0 / 0.9544 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0007526/0.6482, allocations: 279.6 kB / 0.9547 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.6483, allocations: 55.39 kB / 0.9547 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.6486, allocations: 312.5 kB / 0.955 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.6486, allocations: 37.69 kB / 0.9551 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.6488, allocations: 180.3 kB / 0.9552 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.6488, allocations: 47.58 kB / 0.9553 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.6489, allocations: 57.66 kB / 0.9553 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6491, allocations: 338.8 kB / 0.9557 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.6492, allocations: 63.95 kB / 0.9557 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.6494, allocations: 125 kB / 0.9558 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.6498, allocations: 189 kB / 0.956 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6498, allocations: 3.938 kB / 0.956 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004757/0.6503, allocations: 240.2 kB / 0.9563 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6503, allocations: 8 kB / 0.9563 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6503, allocations: 0 / 0.9563 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.6504, allocations: 4 kB / 0.9563 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.6506, allocations: 43.92 kB / 0.9563 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.6506, allocations: 0 / 0.9563 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.6508, allocations: 35.77 kB / 0.9563 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.6508, allocations: 8 kB / 0.9564 GB, free: 11.03 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 (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.00015/0.651, allocations: 157.8 kB / 0.9565 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.651, allocations: 35.75 kB / 0.9565 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.6515, allocations: 220.3 kB / 0.9567 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.6515, allocations: 4 kB / 0.9568 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6515, allocations: 0 / 0.9568 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6516, allocations: 0 / 0.9568 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.6526, allocations: 0.6873 MB / 0.9574 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6527, allocations: 4 kB / 0.9574 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.6528, allocations: 40.19 kB / 0.9575 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6528, allocations: 3.938 kB / 0.9575 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.6529, allocations: 4 kB / 0.9575 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6529, allocations: 4 kB / 0.9575 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6529, allocations: 3.938 kB / 0.9575 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/0.6535, allocations: 427.7 kB / 0.9579 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.6537, allocations: 132.8 kB / 0.958 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.6537, allocations: 4 kB / 0.958 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.6539, allocations: 16.05 kB / 0.958 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.654, allocations: 15.98 kB / 0.9581 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.654, allocations: 4 kB / 0.9581 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002213/0.6542, allocations: 227 kB / 0.9583 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6542, allocations: 0 / 0.9583 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004206/0.6546, allocations: 71.94 kB / 0.9583 GB, free: 8.852 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 (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.001214/0.6559, allocations: 1.042 MB / 0.9594 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004199/0.6563, allocations: 179.7 kB / 0.9595 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6563, allocations: 0 / 0.9595 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.6565, allocations: 83.89 kB / 0.9596 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.6574, allocations: 175.8 kB / 0.9598 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.6609, allocations: 2.912 MB / 0.9626 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.6613, allocations: 0.7756 MB / 0.9634 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.6615, allocations: 70.92 kB / 0.9634 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.6616, allocations: 87.41 kB / 0.9635 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6616, allocations: 0 / 0.9635 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.6945, allocations: 8.852 MB / 0.9722 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.71, allocations: 3.938 kB / 0.9722 GB, free: 10.68 MB / 0.7325 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)