Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_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.001873/0.001873, allocations: 106.6 kB / 16.41 MB, free: 6.496 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.002201/0.002201, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7993/0.7993, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.59 kB / 0.5735 GB, free: 27.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1477, allocations: 78.86 MB / 0.6506 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5261/0.6739, allocations: 167.4 MB / 0.8141 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002499/0.6764, allocations: 1.561 MB / 0.8156 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.6767, allocations: 11.94 kB / 0.8156 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.6772, allocations: 158.4 kB / 0.8157 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.6789, allocations: 0.692 MB / 0.8164 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.6802, allocations: 0.5995 MB / 0.817 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000693/0.6809, allocations: 0.7159 MB / 0.8177 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.6813, allocations: 230.4 kB / 0.8179 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009234/0.6822, allocations: 0.4904 MB / 0.8184 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.6825, allocations: 226.8 kB / 0.8186 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.6825, allocations: 22.88 kB / 0.8186 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.6838, allocations: 0.8576 MB / 0.8195 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.684, allocations: 111 kB / 0.8196 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.6841, allocations: 174.7 kB / 0.8198 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.6852, allocations: 0.7392 MB / 0.8205 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6852, allocations: 0 / 0.8205 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6852, allocations: 0 / 0.8205 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.6852, allocations: 0 / 0.8205 GB, free: 8.723 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000965/0.6862, allocations: 0.6768 MB / 0.8211 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6862, allocations: 7.688 kB / 0.8211 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.346e-05/0.6863, allocations: 54.2 kB / 0.8212 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.6874, allocations: 162.2 kB / 0.8213 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.688, allocations: 331.6 kB / 0.8217 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.688, allocations: 17.94 kB / 0.8217 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.688, allocations: 27.47 kB / 0.8217 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.6885, allocations: 283.2 kB / 0.822 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.6885, allocations: 0 / 0.822 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.6886, allocations: 10.91 kB / 0.822 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.6886, allocations: 7.531 kB / 0.822 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.689, allocations: 204.6 kB / 0.8222 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.6904, allocations: 1.226 MB / 0.8234 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.6907, allocations: 146.4 kB / 0.8235 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.6909, allocations: 101.6 kB / 0.8236 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005581/0.6915, allocations: 298 kB / 0.8239 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.6915, allocations: 34.56 kB / 0.8239 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 3.407e-06/0.6915, allocations: 3.938 kB / 0.8239 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007541/0.6923, allocations: 303.8 kB / 0.8242 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.6923, allocations: 53.66 kB / 0.8243 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.6926, allocations: 319.1 kB / 0.8246 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.6927, allocations: 32.39 kB / 0.8246 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.6928, allocations: 185.4 kB / 0.8248 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.6929, allocations: 59.3 kB / 0.8249 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.693, allocations: 46.75 kB / 0.8249 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6931, allocations: 346.5 kB / 0.8252 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.6933, allocations: 71.03 kB / 0.8253 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.6935, allocations: 129.2 kB / 0.8254 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.6939, allocations: 201.7 kB / 0.8256 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.6939, allocations: 0 / 0.8256 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004621/0.6944, allocations: 258.1 kB / 0.8259 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6944, allocations: 6.875 kB / 0.8259 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6944, allocations: 2.906 kB / 0.8259 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6944, allocations: 0 / 0.8259 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.6946, allocations: 47.19 kB / 0.8259 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6946, allocations: 2.75 kB / 0.8259 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.6948, allocations: 33.86 kB / 0.8259 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.6949, allocations: 9.344 kB / 0.826 GB, free: 4.285 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 (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.0001502/0.695, allocations: 159.8 kB / 0.8261 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.6951, allocations: 28.34 kB / 0.8261 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.6956, allocations: 227.2 kB / 0.8264 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.6956, allocations: 1.781 kB / 0.8264 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.6956, allocations: 1.5 kB / 0.8264 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.6956, allocations: 6.766 kB / 0.8264 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.6966, allocations: 0.7106 MB / 0.8271 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6966, allocations: 1.812 kB / 0.8271 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.6968, allocations: 37.83 kB / 0.8271 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.6968, allocations: 6.75 kB / 0.8271 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.6969, allocations: 13 kB / 0.8271 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.6969, allocations: 5.766 kB / 0.8271 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6969, allocations: 2.656 kB / 0.8271 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006675/0.6976, allocations: 445.4 kB / 0.8275 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.6977, allocations: 127.8 kB / 0.8277 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.6977, allocations: 11.94 kB / 0.8277 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.6979, allocations: 12.8 kB / 0.8277 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.698, allocations: 19.8 kB / 0.8277 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.698, allocations: 7.375 kB / 0.8277 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002086/0.6982, allocations: 229 kB / 0.8279 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6982, allocations: 0 / 0.8279 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003664/0.6986, allocations: 87.77 kB / 0.828 GB, free: 2.715 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 (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.001201/0.6998, allocations: 1.044 MB / 0.829 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.7002, allocations: 180.6 kB / 0.8292 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7002, allocations: 1.938 kB / 0.8292 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.7004, allocations: 94.11 kB / 0.8293 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008611/0.7013, allocations: 169.7 kB / 0.8295 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.705, allocations: 3.007 MB / 0.8324 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.7055, allocations: 0.7874 MB / 0.8332 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000212/0.7057, allocations: 67.14 kB / 0.8332 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.7058, allocations: 92.31 kB / 0.8333 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.7058, allocations: 0 / 0.8333 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/0.7376, allocations: 9.018 MB / 0.8421 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/8.91, allocations: 8.219 kB / 0.8421 GB, free: 10.04 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)