Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_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.001607/0.001608, allocations: 103.7 kB / 16.4 MB, free: 6.41 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.001625/0.001625, allocations: 195.5 kB / 17.34 MB, free: 5.691 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8062/0.8062, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.89 kB / 0.5736 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1473, allocations: 78.85 MB / 0.6506 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5152/0.6625, allocations: 167.4 MB / 0.814 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002425/0.665, allocations: 1.551 MB / 0.8155 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.6653, allocations: 11.72 kB / 0.8155 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.6659, allocations: 153.3 kB / 0.8157 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.6677, allocations: 0.6892 MB / 0.8164 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.6695, allocations: 0.6069 MB / 0.8169 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009552/0.6704, allocations: 0.6939 MB / 0.8176 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.6708, allocations: 229.3 kB / 0.8178 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009736/0.6718, allocations: 485.2 kB / 0.8183 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.6721, allocations: 216.8 kB / 0.8185 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.6721, allocations: 22.19 kB / 0.8185 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.6736, allocations: 0.8602 MB / 0.8194 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.6737, allocations: 106.3 kB / 0.8195 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.6739, allocations: 166.8 kB / 0.8196 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009869/0.6749, allocations: 0.7217 MB / 0.8203 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6749, allocations: 6.469 kB / 0.8203 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6749, allocations: 0 / 0.8203 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.6749, allocations: 3.938 kB / 0.8204 GB, free: 8.777 MB / 0.5919 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.0009591/0.6759, allocations: 0.6607 MB / 0.821 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.6759, allocations: 10.09 kB / 0.821 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.472e-05/0.676, allocations: 62.44 kB / 0.8211 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.6771, allocations: 158 kB / 0.8212 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.6776, allocations: 316.8 kB / 0.8215 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.6777, allocations: 15.91 kB / 0.8215 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.6777, allocations: 27.19 kB / 0.8216 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.6782, allocations: 282.2 kB / 0.8218 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6782, allocations: 2.531 kB / 0.8218 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.6782, allocations: 6.875 kB / 0.8218 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6782, allocations: 8.891 kB / 0.8218 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.6786, allocations: 197.2 kB / 0.822 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.68, allocations: 1.211 MB / 0.8232 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.6803, allocations: 139.5 kB / 0.8233 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.6805, allocations: 92.95 kB / 0.8234 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005819/0.6811, allocations: 305.4 kB / 0.8237 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.6811, allocations: 30.56 kB / 0.8238 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.6811, allocations: 2.938 kB / 0.8238 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000739/0.6818, allocations: 280 kB / 0.824 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.6819, allocations: 54.06 kB / 0.8241 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.6822, allocations: 320.1 kB / 0.8244 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.6823, allocations: 25.7 kB / 0.8244 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.6824, allocations: 182.3 kB / 0.8246 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.6825, allocations: 55.02 kB / 0.8246 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/0.6825, allocations: 47 kB / 0.8247 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6827, allocations: 342.8 kB / 0.825 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.6829, allocations: 71.14 kB / 0.8251 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.6831, allocations: 114 kB / 0.8252 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.6834, allocations: 190.7 kB / 0.8254 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.6835, allocations: 2.688 kB / 0.8254 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004636/0.6839, allocations: 241 kB / 0.8256 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.684, allocations: 13.22 kB / 0.8256 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.684, allocations: 0 / 0.8256 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.684, allocations: 6.281 kB / 0.8256 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.6842, allocations: 40.7 kB / 0.8257 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.6842, allocations: 10.42 kB / 0.8257 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.6844, allocations: 22.05 kB / 0.8257 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.6844, allocations: 20.11 kB / 0.8257 GB, free: 4.398 MB / 0.5919 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.000141/0.6846, allocations: 143.1 kB / 0.8258 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.6846, allocations: 34.44 kB / 0.8259 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.6851, allocations: 223.7 kB / 0.8261 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.6851, allocations: 6.828 kB / 0.8261 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6851, allocations: 0 / 0.8261 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.6851, allocations: 3.984 kB / 0.8261 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.6862, allocations: 0.6832 MB / 0.8268 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.6862, allocations: 7.094 kB / 0.8268 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.6863, allocations: 34.44 kB / 0.8268 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.6864, allocations: 7.062 kB / 0.8268 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.6864, allocations: 8.406 kB / 0.8268 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6864, allocations: 3 kB / 0.8268 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6864, allocations: 2.375 kB / 0.8268 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006404/0.687, allocations: 430.5 kB / 0.8272 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.6872, allocations: 131.9 kB / 0.8274 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.6872, allocations: 5.766 kB / 0.8274 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.6874, allocations: 9.875 kB / 0.8274 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.6875, allocations: 18.8 kB / 0.8274 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.6875, allocations: 9.656 kB / 0.8274 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000204/0.6877, allocations: 225.7 kB / 0.8276 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6877, allocations: 0 / 0.8276 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003626/0.6881, allocations: 80.48 kB / 0.8277 GB, free: 2.875 MB / 0.5919 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.001233/0.6893, allocations: 1.017 MB / 0.8287 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.6898, allocations: 178.4 kB / 0.8289 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6898, allocations: 3.938 kB / 0.8289 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.69, allocations: 92.66 kB / 0.829 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008478/0.6908, allocations: 169.4 kB / 0.8291 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.6944, allocations: 2.913 MB / 0.832 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.6948, allocations: 0.7745 MB / 0.8327 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.695, allocations: 62.7 kB / 0.8328 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.6952, allocations: 96.56 kB / 0.8329 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.6952, allocations: 0 / 0.8329 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.7269, allocations: 8.829 MB / 0.8415 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.791, allocations: 3.406 kB / 0.8415 GB, free: 10.35 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)