Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.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.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure",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.001687/0.001687, allocations: 111.4 kB / 16.41 MB, free: 6.488 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.001774/0.001774, 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.366/1.366, 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.7962/0.7962, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 73.69 kB / 0.5736 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1438, allocations: 78.86 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.5317/0.6755, allocations: 169.5 MB / 0.8161 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007239/0.6828, allocations: 7.31 MB / 0.8232 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006021/0.6835, allocations: 11.28 kB / 0.8232 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007428/0.6842, allocations: 208.8 kB / 0.8234 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.6857, allocations: 0.5732 MB / 0.824 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.6869, allocations: 427.5 kB / 0.8244 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008829/0.6878, allocations: 0.7102 MB / 0.8251 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.6882, allocations: 260.9 kB / 0.8253 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.6893, allocations: 0.516 MB / 0.8258 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.6896, allocations: 221.8 kB / 0.826 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.6896, allocations: 20.31 kB / 0.8261 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.6907, allocations: 0.6897 MB / 0.8267 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.6909, allocations: 109.3 kB / 0.8268 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.6911, allocations: 158.3 kB / 0.827 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008955/0.692, allocations: 0.565 MB / 0.8275 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.692, allocations: 0 / 0.8275 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.692, allocations: 0 / 0.8275 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.692, allocations: 0 / 0.8275 GB, free: 6.508 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000937/0.6929, allocations: 0.6626 MB / 0.8282 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.693, allocations: 10.62 kB / 0.8282 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.872e-05/0.6931, allocations: 57.89 kB / 0.8282 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.6934, allocations: 64.08 kB / 0.8283 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.6939, allocations: 324.5 kB / 0.8286 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.6939, allocations: 19.28 kB / 0.8286 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.694, allocations: 18.84 kB / 0.8287 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.6945, allocations: 312.9 kB / 0.829 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.6945, allocations: 7.875 kB / 0.829 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.6945, allocations: 13.28 kB / 0.829 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.6946, allocations: 4.812 kB / 0.829 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.6949, allocations: 170.5 kB / 0.8291 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.6966, allocations: 1.695 MB / 0.8308 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.6969, allocations: 96.56 kB / 0.8309 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.697, allocations: 77.62 kB / 0.831 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/0.6973, allocations: 184.6 kB / 0.8311 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.6974, allocations: 34.55 kB / 0.8312 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.6974, allocations: 6.406 kB / 0.8312 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006573/0.698, allocations: 221.1 kB / 0.8314 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.6981, allocations: 54.31 kB / 0.8314 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.6984, allocations: 322.5 kB / 0.8317 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.6984, allocations: 29.64 kB / 0.8318 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.6986, allocations: 204.1 kB / 0.832 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.6986, allocations: 40.66 kB / 0.832 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.6987, allocations: 53.81 kB / 0.8321 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6989, allocations: 338.2 kB / 0.8324 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.699, allocations: 58.78 kB / 0.8324 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.6993, allocations: 195.3 kB / 0.8326 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.6997, allocations: 237.7 kB / 0.8328 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.6997, allocations: 6.469 kB / 0.8329 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004494/0.7002, allocations: 253.1 kB / 0.8331 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.7002, allocations: 7.781 kB / 0.8331 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.7002, allocations: 2.188 kB / 0.8331 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.7002, allocations: 13.8 kB / 0.8331 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.7004, allocations: 43.11 kB / 0.8332 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.7004, allocations: 12.59 kB / 0.8332 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.7007, allocations: 40.91 kB / 0.8332 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.7007, allocations: 10.19 kB / 0.8332 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002304/0.7009, allocations: 168.6 kB / 0.8334 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002457/0.7012, allocations: 193.3 kB / 0.8336 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003452/0.7015, allocations: 230.7 kB / 0.8338 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.7015, allocations: 0 / 0.8338 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004256/0.702, allocations: 256.2 kB / 0.834 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.702, allocations: 9.188 kB / 0.834 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.702, allocations: 3.219 kB / 0.834 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.009e-06/0.702, allocations: 9 kB / 0.8341 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.7022, allocations: 51.03 kB / 0.8341 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.7022, allocations: 4.719 kB / 0.8341 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.7024, allocations: 28.56 kB / 0.8341 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.7024, allocations: 13.94 kB / 0.8341 GB, free: 0.8633 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001201/0.7026, allocations: 203.9 kB / 0.8343 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.7026, allocations: 28.44 kB / 0.8344 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.703, allocations: 177.5 kB / 0.8345 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.703, allocations: 0 / 0.8345 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.703, allocations: 5.062 kB / 0.8345 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.703, allocations: 0 / 0.8345 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009062/0.704, allocations: 0.5994 MB / 0.8351 GB, free: 8 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.704, allocations: 0 / 0.8351 GB, free: 8 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.7041, allocations: 27.64 kB / 0.8352 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.7041, allocations: 2.797 kB / 0.8352 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.7041, allocations: 8.391 kB / 0.8352 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.7041, allocations: 10.66 kB / 0.8352 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7042, allocations: 5.797 kB / 0.8352 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.7045, allocations: 301.5 kB / 0.8355 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.7047, allocations: 110.7 kB / 0.8356 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.7047, allocations: 12.86 kB / 0.8356 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.7049, allocations: 9.188 kB / 0.8356 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.7049, allocations: 16.73 kB / 0.8356 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.705, allocations: 12.69 kB / 0.8356 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002251/0.7052, allocations: 226.9 kB / 0.8358 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7052, allocations: 0 / 0.8358 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005523/0.7057, allocations: 141.9 kB / 0.836 GB, free: 15.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.001048/0.7068, allocations: 0.8955 MB / 0.8368 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005515/0.7074, allocations: 244.4 kB / 0.8371 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.7074, allocations: 6.719 kB / 0.8371 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.7075, allocations: 66.95 kB / 0.8372 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.7083, allocations: 129.5 kB / 0.8373 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.7117, allocations: 2.802 MB / 0.84 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.7121, allocations: 0.7759 MB / 0.8408 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002513/0.7124, allocations: 87.7 kB / 0.8409 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.7125, allocations: 88.38 kB / 0.8409 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.7126, allocations: 0 / 0.8409 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.7443, allocations: 7.913 MB / 0.8487 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.731, allocations: 5.094 kB / 0.8487 GB, free: 7.332 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)