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.001589/0.001589, allocations: 105.8 kB / 16.4 MB, free: 6.5 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.001756/0.001755, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.319/1.319, 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.7372/0.7372, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 64.42 kB / 0.568 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1439, allocations: 77.94 MB / 0.6441 GB, free: 9.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.5168/0.6607, allocations: 169.4 MB / 0.8095 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007076/0.6678, allocations: 7.314 MB / 0.8167 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005999/0.6684, allocations: 15.22 kB / 0.8167 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.6692, allocations: 212.5 kB / 0.8169 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.6707, allocations: 0.6017 MB / 0.8175 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.672, allocations: 431.2 kB / 0.8179 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008329/0.6728, allocations: 0.7176 MB / 0.8186 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/0.6732, allocations: 263.2 kB / 0.8189 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006585/0.6739, allocations: 389.7 kB / 0.8192 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.6741, allocations: 212.2 kB / 0.8194 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.6742, allocations: 20.16 kB / 0.8194 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.6753, allocations: 0.7079 MB / 0.8201 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.6755, allocations: 114.9 kB / 0.8202 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.6757, allocations: 160.1 kB / 0.8204 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.6767, allocations: 0.5674 MB / 0.821 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6767, allocations: 0 / 0.821 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.225e-06/0.6767, allocations: 0 / 0.821 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.6767, allocations: 0 / 0.821 GB, free: 8.703 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.0009875/0.6777, allocations: 0.6567 MB / 0.8216 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6778, allocations: 13.97 kB / 0.8216 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.688e-05/0.6778, allocations: 58.2 kB / 0.8217 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.6782, allocations: 68.27 kB / 0.8217 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.6787, allocations: 319.7 kB / 0.822 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.6788, allocations: 16 kB / 0.822 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.6788, allocations: 25.56 kB / 0.8221 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.6793, allocations: 304.6 kB / 0.8224 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.6793, allocations: 0 / 0.8224 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.6793, allocations: 18.34 kB / 0.8224 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.6793, allocations: 5.125 kB / 0.8224 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.6797, allocations: 172.7 kB / 0.8225 GB, free: 7.379 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.002001/0.6817, allocations: 1.702 MB / 0.8242 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.6819, allocations: 89.19 kB / 0.8243 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.6821, allocations: 86.22 kB / 0.8244 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.6824, allocations: 188.9 kB / 0.8246 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.6824, allocations: 34.55 kB / 0.8246 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.6824, allocations: 0 / 0.8246 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006785/0.6831, allocations: 227.5 kB / 0.8248 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.6832, allocations: 51.41 kB / 0.8249 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.6835, allocations: 322.3 kB / 0.8252 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.6835, allocations: 28.52 kB / 0.8252 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.6837, allocations: 189.8 kB / 0.8254 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.6837, allocations: 51.33 kB / 0.8254 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.6838, allocations: 49.58 kB / 0.8255 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.684, allocations: 340 kB / 0.8258 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.6841, allocations: 65.19 kB / 0.8259 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.6844, allocations: 187.7 kB / 0.826 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.6847, allocations: 238.5 kB / 0.8263 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6847, allocations: 0 / 0.8263 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004418/0.6852, allocations: 263.1 kB / 0.8265 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.6852, allocations: 4.281 kB / 0.8265 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6852, allocations: 9.875 kB / 0.8265 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6852, allocations: 8.922 kB / 0.8265 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.6854, allocations: 43.39 kB / 0.8266 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.6854, allocations: 8.906 kB / 0.8266 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.6858, allocations: 36.66 kB / 0.8266 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.6858, allocations: 16.56 kB / 0.8266 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002293/0.686, allocations: 173.1 kB / 0.8268 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002328/0.6863, allocations: 191.1 kB / 0.827 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003279/0.6866, allocations: 227.5 kB / 0.8272 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.6866, allocations: 2.969 kB / 0.8272 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004283/0.6871, allocations: 252.5 kB / 0.8274 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.6871, allocations: 8.969 kB / 0.8275 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6871, allocations: 5.125 kB / 0.8275 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.6871, allocations: 4.938 kB / 0.8275 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.6873, allocations: 51.56 kB / 0.8275 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6873, allocations: 9.969 kB / 0.8275 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.6875, allocations: 24.91 kB / 0.8275 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.6875, allocations: 13.59 kB / 0.8276 GB, free: 3.078 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.0001082/0.6876, allocations: 193.9 kB / 0.8277 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.6877, allocations: 38.41 kB / 0.8278 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.6881, allocations: 173.9 kB / 0.8279 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6881, allocations: 4.875 kB / 0.828 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6881, allocations: 0 / 0.828 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6881, allocations: 288 / 0.828 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.6891, allocations: 0.6099 MB / 0.8285 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6891, allocations: 0 / 0.8285 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.6892, allocations: 27.83 kB / 0.8286 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.6892, allocations: 3.594 kB / 0.8286 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.6892, allocations: 10.08 kB / 0.8286 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6892, allocations: 2.938 kB / 0.8286 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6892, allocations: 5.75 kB / 0.8286 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.6896, allocations: 302 kB / 0.8289 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.6897, allocations: 115 kB / 0.829 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.6898, allocations: 16.77 kB / 0.829 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.69, allocations: 5.844 kB / 0.829 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.69, allocations: 21.52 kB / 0.829 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.69, allocations: 4.812 kB / 0.829 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002099/0.6903, allocations: 230.5 kB / 0.8293 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6903, allocations: 0 / 0.8293 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005502/0.6908, allocations: 134.7 kB / 0.8294 GB, free: 1.613 MB / 0.5919 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.0009017/0.6917, allocations: 0.8963 MB / 0.8303 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005535/0.6923, allocations: 248.8 kB / 0.8305 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6923, allocations: 6.375 kB / 0.8305 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.6924, allocations: 67.45 kB / 0.8306 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007256/0.6932, allocations: 124.4 kB / 0.8307 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.6968, allocations: 2.808 MB / 0.8334 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.6973, allocations: 0.7743 MB / 0.8342 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002567/0.6975, allocations: 85.75 kB / 0.8343 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.6977, allocations: 86.66 kB / 0.8344 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of SimCode: time 7.41e-07/0.6977, allocations: 4 kB / 0.8344 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.727, allocations: 7.915 MB / 0.8421 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.578, allocations: 2.625 kB / 0.8421 GB, free: 9.535 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)