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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008863/0.0008863, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008709/0.0008709, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.924/0.924, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5698/0.5698, allocations: 114 MB / 373.9 MB, free: 8.719 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.375e-05, allocations: 4.672 kB / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.425/0.4251, allocations: 147.5 MB / 0.6983 GB, free: 41.67 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.4273, allocations: 1.46 MB / 0.6997 GB, free: 41.63 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/0.4276, allocations: 18.12 kB / 0.6997 GB, free: 41.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000577/0.4282, allocations: 156.7 kB / 0.6999 GB, free: 41.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.4297, allocations: 0.7109 MB / 0.7006 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.431, allocations: 0.6544 MB / 0.7012 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000641/0.4316, allocations: 0.6838 MB / 0.7019 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.4319, allocations: 166.8 kB / 0.702 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008917/0.4328, allocations: 0.5855 MB / 0.7026 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.433, allocations: 193.4 kB / 0.7028 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.433, allocations: 21.69 kB / 0.7028 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.4342, allocations: 0.7176 MB / 0.7035 GB, free: 41.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.4343, allocations: 112.2 kB / 0.7036 GB, free: 41.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.4344, allocations: 119.2 kB / 0.7037 GB, free: 41.56 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009386/0.4354, allocations: 0.7282 MB / 0.7044 GB, free: 41.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4354, allocations: 1.125 kB / 0.7044 GB, free: 41.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4354, allocations: 0 / 0.7044 GB, free: 41.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.4354, allocations: 0 / 0.7044 GB, free: 41.51 MB / 0.6355 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.0007094/0.4361, allocations: 0.58 MB / 0.705 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4361, allocations: 12.72 kB / 0.705 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.4362, allocations: 56.98 kB / 0.7051 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006285/0.4368, allocations: 155.7 kB / 0.7052 GB, free: 41.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.4372, allocations: 250.1 kB / 0.7055 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4372, allocations: 19.09 kB / 0.7055 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.4373, allocations: 22.09 kB / 0.7055 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.4376, allocations: 281.7 kB / 0.7058 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4376, allocations: 3.969 kB / 0.7058 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.4376, allocations: 11.42 kB / 0.7058 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.4376, allocations: 5.844 kB / 0.7058 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.4379, allocations: 193.9 kB / 0.706 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.4387, allocations: 0.9751 MB / 0.7069 GB, free: 40.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.4389, allocations: 128.6 kB / 0.707 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.4389, allocations: 88.06 kB / 0.7071 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.4392, allocations: 72.47 kB / 0.7072 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.4392, allocations: 34.5 kB / 0.7072 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.4392, allocations: 0.7812 kB / 0.7072 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004503/0.4397, allocations: 285.3 kB / 0.7075 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.4397, allocations: 55.72 kB / 0.7076 GB, free: 40.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.4399, allocations: 313.2 kB / 0.7079 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.4399, allocations: 25.7 kB / 0.7079 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.44, allocations: 186.2 kB / 0.7081 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.44, allocations: 52.05 kB / 0.7081 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.44, allocations: 47.78 kB / 0.7082 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.4401, allocations: 340.1 kB / 0.7085 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.4402, allocations: 70.09 kB / 0.7085 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.4403, allocations: 203.6 kB / 0.7087 GB, free: 39.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.4405, allocations: 181.5 kB / 0.7089 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4405, allocations: 0 / 0.7089 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002454/0.4407, allocations: 242.6 kB / 0.7091 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4407, allocations: 5.75 kB / 0.7092 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4407, allocations: 2.844 kB / 0.7092 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4408, allocations: 7.75 kB / 0.7092 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.4409, allocations: 41.48 kB / 0.7092 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4409, allocations: 6.875 kB / 0.7092 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.441, allocations: 33.41 kB / 0.7092 GB, free: 39.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.441, allocations: 10.7 kB / 0.7093 GB, free: 39.16 MB / 0.6355 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 8.161e-05/0.4411, allocations: 151.2 kB / 0.7094 GB, free: 39.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.4411, allocations: 29.75 kB / 0.7094 GB, free: 39.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.4414, allocations: 223.2 kB / 0.7096 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4414, allocations: 4.25 kB / 0.7096 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4414, allocations: 0 / 0.7096 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4414, allocations: 0 / 0.7096 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005301/0.4419, allocations: 0.6342 MB / 0.7103 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4419, allocations: 0.9688 kB / 0.7103 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.429e-05/0.442, allocations: 32.77 kB / 0.7103 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.442, allocations: 3.344 kB / 0.7103 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.442, allocations: 10.88 kB / 0.7103 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.442, allocations: 2.531 kB / 0.7103 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.442, allocations: 3.562 kB / 0.7103 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.4424, allocations: 433.6 kB / 0.7107 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.4424, allocations: 47.42 kB / 0.7108 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.4424, allocations: 9.844 kB / 0.7108 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.4425, allocations: 12.19 kB / 0.7108 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.4426, allocations: 16.56 kB / 0.7108 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.4426, allocations: 9.938 kB / 0.7108 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001149/0.4427, allocations: 220.2 kB / 0.711 GB, free: 38.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4427, allocations: 0 / 0.711 GB, free: 38.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002641/0.443, allocations: 80.45 kB / 0.7111 GB, free: 38.34 MB / 0.6355 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.0005934/0.4436, allocations: 1.018 MB / 0.7121 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.4438, allocations: 166.8 kB / 0.7123 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4438, allocations: 0.8438 kB / 0.7123 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.571e-05/0.4439, allocations: 86.78 kB / 0.7123 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.4444, allocations: 152.2 kB / 0.7125 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.4464, allocations: 2.877 MB / 0.7153 GB, free: 36.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.339e-05/0.4465, allocations: 173.1 kB / 0.7155 GB, free: 35.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000165/0.4467, allocations: 68.59 kB / 0.7155 GB, free: 35.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/0.4468, allocations: 87.61 kB / 0.7156 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/0.4468, allocations: 0 / 0.7156 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.4715, allocations: 9.871 MB / 0.7252 GB, free: 34.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/7.891, allocations: 1.438 kB / 0.7252 GB, free: 34.58 MB / 0.6355 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.580588874407113] Failed to read output from testmodel.py, exit status != 0: 7.976833135820925 7.9938271 7.555314148 Calling exit ...