Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001041/0.001041, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.001131/0.001131, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.9264/0.9264, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5454/0.5454, allocations: 114 MB / 373.9 MB, free: 8.711 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.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.051e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4041/0.4041, allocations: 158.4 MB / 0.7089 GB, free: 41.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006361/0.4105, allocations: 7.176 MB / 0.7159 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006632/0.4111, allocations: 25.91 kB / 0.7159 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.4118, allocations: 256.2 kB / 0.7161 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003189/0.415, allocations: 1.249 MB / 0.7174 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.4166, allocations: 0.7874 MB / 0.7181 GB, free: 41.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.4181, allocations: 1.048 MB / 0.7191 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/0.4185, allocations: 321.5 kB / 0.7195 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.4208, allocations: 1.15 MB / 0.7206 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005182/0.4214, allocations: 380.2 kB / 0.7209 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.4214, allocations: 42.56 kB / 0.721 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.4227, allocations: 0.7917 MB / 0.7218 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4228, allocations: 167.7 kB / 0.7219 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.423, allocations: 167.7 kB / 0.7221 GB, free: 41 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.4241, allocations: 0.9595 MB / 0.723 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4241, allocations: 0.5625 kB / 0.723 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4241, allocations: 0.75 kB / 0.723 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.4241, allocations: 0 / 0.723 GB, free: 40.9 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007748/0.4249, allocations: 0.7316 MB / 0.7237 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4249, allocations: 9.625 kB / 0.7237 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.425, allocations: 81.3 kB / 0.7238 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000536/0.4255, allocations: 147.6 kB / 0.724 GB, free: 40.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.4259, allocations: 336.9 kB / 0.7243 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.426, allocations: 27.69 kB / 0.7243 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.426, allocations: 39.94 kB / 0.7243 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.4264, allocations: 448.2 kB / 0.7248 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4265, allocations: 6.812 kB / 0.7248 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.4265, allocations: 18.34 kB / 0.7248 GB, free: 40.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4265, allocations: 11.88 kB / 0.7248 GB, free: 40.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.4268, allocations: 324.2 kB / 0.7251 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.4281, allocations: 1.488 MB / 0.7266 GB, free: 39.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.4284, allocations: 226.6 kB / 0.7268 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.4286, allocations: 139.3 kB / 0.7269 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/0.429, allocations: 84.44 kB / 0.727 GB, free: 39.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.429, allocations: 34.12 kB / 0.727 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 3.186e-06/0.429, allocations: 0 / 0.727 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0009343/0.4299, allocations: 460.8 kB / 0.7275 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.43, allocations: 55.31 kB / 0.7275 GB, free: 39.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.4304, allocations: 392.3 kB / 0.7279 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.4304, allocations: 30.95 kB / 0.7279 GB, free: 38.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4305, allocations: 231.3 kB / 0.7281 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.4306, allocations: 85.95 kB / 0.7282 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.383e-05/0.4307, allocations: 56.17 kB / 0.7283 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.4307, allocations: 355.9 kB / 0.7286 GB, free: 38.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.4309, allocations: 107.5 kB / 0.7287 GB, free: 38.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.4311, allocations: 265.2 kB / 0.729 GB, free: 38.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.4314, allocations: 306.8 kB / 0.7293 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.4314, allocations: 1.125 kB / 0.7293 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004584/0.4319, allocations: 368.4 kB / 0.7296 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4319, allocations: 7.625 kB / 0.7296 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4319, allocations: 2.156 kB / 0.7296 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.432, allocations: 3.312 kB / 0.7296 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.4322, allocations: 54.77 kB / 0.7297 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4322, allocations: 10.14 kB / 0.7297 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.4324, allocations: 47.38 kB / 0.7297 GB, free: 38.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.4324, allocations: 14.23 kB / 0.7298 GB, free: 38.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001589/0.4326, allocations: 164.5 kB / 0.7299 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.4326, allocations: 39.42 kB / 0.7299 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005123/0.4331, allocations: 378.3 kB / 0.7303 GB, free: 37.92 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4331, allocations: 6.531 kB / 0.7303 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4331, allocations: 1.875 kB / 0.7303 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4331, allocations: 0 / 0.7303 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009485/0.4341, allocations: 0.8723 MB / 0.7312 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4341, allocations: 5.578 kB / 0.7312 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.4342, allocations: 49.22 kB / 0.7312 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4342, allocations: 3.125 kB / 0.7312 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4342, allocations: 11.72 kB / 0.7312 GB, free: 37.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.4343, allocations: 3.844 kB / 0.7312 GB, free: 37.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4343, allocations: 1.219 kB / 0.7312 GB, free: 37.58 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.4348, allocations: 0.6317 MB / 0.7319 GB, free: 37.37 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.435, allocations: 70.64 kB / 0.7319 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.435, allocations: 9.062 kB / 0.7319 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4351, allocations: 11.77 kB / 0.7319 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.4352, allocations: 25.14 kB / 0.732 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.4352, allocations: 11.27 kB / 0.732 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001971/0.4354, allocations: 274.7 kB / 0.7322 GB, free: 37.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4354, allocations: 1 kB / 0.7322 GB, free: 37.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003755/0.4357, allocations: 118.6 kB / 0.7324 GB, free: 37.24 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (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 Backend phase and start with SimCode phase: time 0.0008738/0.4366, allocations: 1.217 MB / 0.7335 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.437, allocations: 275.9 kB / 0.7338 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.437, allocations: 0 / 0.7338 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.4372, allocations: 145.1 kB / 0.7339 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.4378, allocations: 207.2 kB / 0.7341 GB, free: 36.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.4412, allocations: 3.765 MB / 0.7378 GB, free: 34.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.4414, allocations: 226.3 kB / 0.738 GB, free: 34.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002792/0.4416, allocations: 98.06 kB / 0.7381 GB, free: 34.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.4418, allocations: 139.7 kB / 0.7383 GB, free: 34.68 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/0.4418, allocations: 0.8125 kB / 0.7383 GB, free: 34.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.4743, allocations: 12.93 MB / 0.7509 GB, free: 32.92 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.973, allocations: 17.72 kB / 0.7509 GB, free: 32.92 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_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_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.616707884706557] Failed to read output from testmodel.py, exit status != 0: 8.062059280462563 8.06883892 7.643081217 Calling exit ...