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.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.0008498/0.0008498, allocations: 76.45 kB / 19.92 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.001467/0.001467, allocations: 177.2 kB / 23.21 MB, free: 1.344 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.9285/0.9285, allocations: 177.2 MB / 203.5 MB, free: 5.406 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.5759/0.5759, allocations: 114 MB / 373.9 MB, free: 8.617 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.5542 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.7e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4391/0.4391, allocations: 147.6 MB / 0.6983 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.4412, allocations: 1.464 MB / 0.6998 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003876/0.4416, allocations: 12.09 kB / 0.6998 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.4421, allocations: 160.6 kB / 0.6999 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.4437, allocations: 0.7203 MB / 0.7006 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.445, allocations: 0.6545 MB / 0.7013 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000838/0.4459, allocations: 0.6931 MB / 0.7019 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.4462, allocations: 178.2 kB / 0.7021 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009367/0.4471, allocations: 0.6024 MB / 0.7027 GB, free: 41.45 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.4473, allocations: 197.2 kB / 0.7029 GB, free: 41.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.4473, allocations: 25.59 kB / 0.7029 GB, free: 41.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.4484, allocations: 0.7158 MB / 0.7036 GB, free: 41.44 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.4485, allocations: 115.5 kB / 0.7037 GB, free: 41.44 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.4486, allocations: 117.2 kB / 0.7038 GB, free: 41.44 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.4493, allocations: 0.7431 MB / 0.7046 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4493, allocations: 0.8438 kB / 0.7046 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4493, allocations: 3.312 kB / 0.7046 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4493, allocations: 0.7812 kB / 0.7046 GB, free: 41.39 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006182/0.4499, allocations: 0.5867 MB / 0.7051 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.45, allocations: 12.78 kB / 0.7052 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.45, allocations: 61.42 kB / 0.7052 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006188/0.4506, allocations: 152.2 kB / 0.7054 GB, free: 40.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.451, allocations: 262.4 kB / 0.7056 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.451, allocations: 16.03 kB / 0.7056 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.451, allocations: 29.56 kB / 0.7057 GB, free: 40.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.4514, allocations: 282.9 kB / 0.7059 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4514, allocations: 0.9062 kB / 0.7059 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.4514, allocations: 11.09 kB / 0.7059 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4514, allocations: 6.469 kB / 0.7059 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.4516, allocations: 202 kB / 0.7061 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/0.4524, allocations: 0.9928 MB / 0.7071 GB, free: 40.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.4526, allocations: 143.8 kB / 0.7072 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.4527, allocations: 88.84 kB / 0.7073 GB, free: 40.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.453, allocations: 74.08 kB / 0.7074 GB, free: 40.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.453, allocations: 36.38 kB / 0.7074 GB, free: 40 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 2.184e-06/0.453, allocations: 2.469 kB / 0.7074 GB, free: 40 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0004872/0.4535, allocations: 292.7 kB / 0.7077 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.4535, allocations: 51.41 kB / 0.7078 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.4537, allocations: 322.1 kB / 0.7081 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.4537, allocations: 25.7 kB / 0.7081 GB, free: 39.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.4538, allocations: 186.9 kB / 0.7083 GB, free: 39.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.4538, allocations: 69.97 kB / 0.7083 GB, free: 39.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.4539, allocations: 50.8 kB / 0.7084 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.4539, allocations: 336.9 kB / 0.7087 GB, free: 39.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.454, allocations: 74.41 kB / 0.7088 GB, free: 39.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.4541, allocations: 199.1 kB / 0.709 GB, free: 39.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.4544, allocations: 197.6 kB / 0.7092 GB, free: 39.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4544, allocations: 4.781 kB / 0.7092 GB, free: 39.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002757/0.4546, allocations: 255.3 kB / 0.7094 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4546, allocations: 5.594 kB / 0.7094 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4547, allocations: 0.8125 kB / 0.7094 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4547, allocations: 3 kB / 0.7094 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.4548, allocations: 47.19 kB / 0.7095 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4548, allocations: 7.656 kB / 0.7095 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.4549, allocations: 35.36 kB / 0.7095 GB, free: 39.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.4549, allocations: 8.531 kB / 0.7095 GB, free: 39.02 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 (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 8.982e-05/0.455, allocations: 154.8 kB / 0.7097 GB, free: 38.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.4551, allocations: 30 kB / 0.7097 GB, free: 38.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.4553, allocations: 230.9 kB / 0.7099 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4554, allocations: 3.75 kB / 0.7099 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4554, allocations: 3.125 kB / 0.7099 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4554, allocations: 0 / 0.7099 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.456, allocations: 0.6601 MB / 0.7106 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.456, allocations: 0 / 0.7106 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.887e-05/0.4561, allocations: 38.19 kB / 0.7106 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4561, allocations: 2.781 kB / 0.7106 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.4561, allocations: 8.625 kB / 0.7106 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4561, allocations: 7.281 kB / 0.7106 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4561, allocations: 2.531 kB / 0.7106 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.4565, allocations: 446.6 kB / 0.711 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.4566, allocations: 48.62 kB / 0.7111 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.4566, allocations: 6.281 kB / 0.7111 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.4567, allocations: 14.88 kB / 0.7111 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.4567, allocations: 18.12 kB / 0.7111 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.4567, allocations: 12.84 kB / 0.7111 GB, free: 38.28 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001312/0.4569, allocations: 226 kB / 0.7113 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4569, allocations: 0 / 0.7113 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002957/0.4571, allocations: 88.55 kB / 0.7114 GB, free: 38.19 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 (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.0006353/0.4578, allocations: 1.024 MB / 0.7124 GB, free: 37.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.4581, allocations: 179.2 kB / 0.7126 GB, free: 37.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4581, allocations: 2.969 kB / 0.7126 GB, free: 37.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.4582, allocations: 94.06 kB / 0.7127 GB, free: 37.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.4587, allocations: 147.9 kB / 0.7128 GB, free: 37.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.4609, allocations: 2.964 MB / 0.7157 GB, free: 35.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.4611, allocations: 170.1 kB / 0.7159 GB, free: 35.81 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00018/0.4612, allocations: 69.67 kB / 0.716 GB, free: 35.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.976e-05/0.4613, allocations: 89.8 kB / 0.716 GB, free: 35.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/0.4613, allocations: 1.031 kB / 0.716 GB, free: 35.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.4901, allocations: 10.07 MB / 0.7259 GB, free: 34.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.268/7.758, allocations: 1.375 kB / 0.7259 GB, free: 34.41 MB / 0.6355 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.409989164210856] Failed to read output from testmodel.py, exit status != 0: 7.847158036194742 7.860396173 7.408757014 Calling exit ...