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.001684/0.001684, allocations: 101.3 kB / 16.4 MB, free: 6.469 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.001909/0.001909, allocations: 196 kB / 17.34 MB, free: 5.715 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.32/1.32, 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.7393/0.7393, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 68.97 kB / 0.568 GB, free: 28.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 77.92 MB / 0.6441 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5358/0.6845, allocations: 167.4 MB / 0.8075 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.6873, allocations: 1.569 MB / 0.8091 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.6876, allocations: 11.62 kB / 0.8091 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005067/0.6881, allocations: 151 kB / 0.8092 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.6897, allocations: 0.7381 MB / 0.8099 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.6911, allocations: 0.6099 MB / 0.8105 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006388/0.6917, allocations: 0.7168 MB / 0.8112 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.6921, allocations: 230 kB / 0.8115 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.6927, allocations: 357.2 kB / 0.8118 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.6929, allocations: 226.1 kB / 0.812 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.693, allocations: 23.78 kB / 0.812 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.6943, allocations: 0.8788 MB / 0.8129 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.6944, allocations: 115.6 kB / 0.813 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.6946, allocations: 163.7 kB / 0.8132 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.6956, allocations: 0.7384 MB / 0.8139 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.6956, allocations: 2.812 kB / 0.8139 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6956, allocations: 0 / 0.8139 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.6956, allocations: 0 / 0.8139 GB, free: 10.14 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.001063/0.6967, allocations: 0.6695 MB / 0.8145 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.6967, allocations: 15.44 kB / 0.8146 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.032e-05/0.6968, allocations: 63.72 kB / 0.8146 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.698, allocations: 157.2 kB / 0.8148 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.6985, allocations: 330.1 kB / 0.8151 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.6985, allocations: 17.47 kB / 0.8151 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.6986, allocations: 29.92 kB / 0.8151 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.6991, allocations: 280.1 kB / 0.8154 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6991, allocations: 2.156 kB / 0.8154 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.6991, allocations: 12.91 kB / 0.8154 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.6991, allocations: 5.812 kB / 0.8154 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.6995, allocations: 200.1 kB / 0.8156 GB, free: 9.027 MB / 0.5919 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.001411/0.7009, allocations: 1.233 MB / 0.8168 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.7012, allocations: 146.8 kB / 0.8169 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.7014, allocations: 100.3 kB / 0.817 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005418/0.7019, allocations: 299.6 kB / 0.8173 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.702, allocations: 30.56 kB / 0.8174 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.702, allocations: 0 / 0.8174 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007668/0.7028, allocations: 300.7 kB / 0.8176 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.7028, allocations: 54.62 kB / 0.8177 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.7031, allocations: 324.8 kB / 0.818 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.7032, allocations: 35.98 kB / 0.818 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.7033, allocations: 178 kB / 0.8182 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-05/0.7034, allocations: 69.77 kB / 0.8183 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.7034, allocations: 47.3 kB / 0.8183 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7036, allocations: 340.1 kB / 0.8186 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.7038, allocations: 67.45 kB / 0.8187 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.704, allocations: 131.2 kB / 0.8188 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.7043, allocations: 201 kB / 0.819 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7043, allocations: 3.938 kB / 0.819 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004512/0.7048, allocations: 255.3 kB / 0.8193 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7048, allocations: 11.42 kB / 0.8193 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.7048, allocations: 0 / 0.8193 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7049, allocations: 2.781 kB / 0.8193 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.7051, allocations: 43.17 kB / 0.8193 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7051, allocations: 2.312 kB / 0.8193 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.7053, allocations: 33.98 kB / 0.8194 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.7053, allocations: 15.47 kB / 0.8194 GB, free: 6.383 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.0001349/0.7054, allocations: 157.7 kB / 0.8195 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.7055, allocations: 35.02 kB / 0.8196 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.706, allocations: 221.6 kB / 0.8198 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.706, allocations: 3.562 kB / 0.8198 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.706, allocations: 0 / 0.8198 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.706, allocations: 0 / 0.8198 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009897/0.707, allocations: 0.7158 MB / 0.8205 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.707, allocations: 2.094 kB / 0.8205 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.7072, allocations: 37.19 kB / 0.8205 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7072, allocations: 3.875 kB / 0.8205 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.7072, allocations: 8.781 kB / 0.8205 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.7072, allocations: 6.156 kB / 0.8205 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7072, allocations: 2.906 kB / 0.8205 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.7079, allocations: 443.4 kB / 0.821 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.708, allocations: 127.8 kB / 0.8211 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.708, allocations: 6.656 kB / 0.8211 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.7082, allocations: 14.17 kB / 0.8211 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.7083, allocations: 17.95 kB / 0.8211 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.7083, allocations: 8.781 kB / 0.8211 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002086/0.7085, allocations: 232.8 kB / 0.8213 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.613e-06/0.7085, allocations: 0 / 0.8213 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003619/0.7089, allocations: 90.33 kB / 0.8214 GB, free: 4.824 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.001129/0.71, allocations: 1.047 MB / 0.8225 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.7104, allocations: 192.8 kB / 0.8226 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7105, allocations: 0 / 0.8226 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.7106, allocations: 89.95 kB / 0.8227 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.7115, allocations: 170.4 kB / 0.8229 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.7148, allocations: 3.003 MB / 0.8258 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.7151, allocations: 0.7814 MB / 0.8266 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001834/0.7153, allocations: 66.2 kB / 0.8266 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.7155, allocations: 92.69 kB / 0.8267 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.7155, allocations: 0 / 0.8267 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.744, allocations: 9.038 MB / 0.8356 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.84, allocations: 2.312 kB / 0.8356 GB, free: 12.13 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)