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.0008056/0.0008056, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008009/0.0008009, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8768/0.8768, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.688 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.485e-06/2.485e-06, allocations: 0 / 0.5542 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.066e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4281/0.4282, allocations: 158.4 MB / 0.7089 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005711/0.4339, allocations: 7.174 MB / 0.7159 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005942/0.4345, allocations: 28.28 kB / 0.7159 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.4351, allocations: 250.2 kB / 0.7161 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.4378, allocations: 1.247 MB / 0.7173 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.4394, allocations: 0.7912 MB / 0.7181 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.4405, allocations: 1.053 MB / 0.7192 GB, free: 41.24 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.4409, allocations: 317 kB / 0.7195 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.4429, allocations: 1.152 MB / 0.7206 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004196/0.4433, allocations: 386.3 kB / 0.7209 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.4433, allocations: 36.78 kB / 0.721 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.4445, allocations: 0.7964 MB / 0.7218 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.4446, allocations: 169.6 kB / 0.7219 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.4448, allocations: 166.7 kB / 0.7221 GB, free: 40.94 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.4462, allocations: 0.9511 MB / 0.723 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4463, allocations: 0.8438 kB / 0.723 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4463, allocations: 0 / 0.723 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.4463, allocations: 0.8125 kB / 0.723 GB, free: 40.85 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.001097/0.4474, allocations: 0.734 MB / 0.7237 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.4474, allocations: 11 kB / 0.7237 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.787e-05/0.4475, allocations: 78.19 kB / 0.7238 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/0.4483, allocations: 152.5 kB / 0.724 GB, free: 40.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.4489, allocations: 330.6 kB / 0.7243 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.4489, allocations: 36.84 kB / 0.7243 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.449, allocations: 33.72 kB / 0.7243 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.4497, allocations: 449.9 kB / 0.7248 GB, free: 40.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4497, allocations: 3.094 kB / 0.7248 GB, free: 40.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.4497, allocations: 25.09 kB / 0.7248 GB, free: 40.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.4497, allocations: 8 kB / 0.7248 GB, free: 40.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.4502, allocations: 318.2 kB / 0.7251 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.4515, allocations: 1.494 MB / 0.7266 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.4518, allocations: 224.6 kB / 0.7268 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.452, allocations: 143.7 kB / 0.7269 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003421/0.4524, allocations: 81.14 kB / 0.727 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.4524, allocations: 36.72 kB / 0.727 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 2.906e-06/0.4524, allocations: 0 / 0.727 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0008505/0.4532, allocations: 458.2 kB / 0.7275 GB, free: 39.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.4533, allocations: 57.52 kB / 0.7275 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.4537, allocations: 391.8 kB / 0.7279 GB, free: 38.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.4537, allocations: 31.02 kB / 0.7279 GB, free: 38.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4538, allocations: 228.9 kB / 0.7281 GB, free: 38.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.4539, allocations: 90.39 kB / 0.7282 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.4539, allocations: 52.62 kB / 0.7283 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.454, allocations: 355.8 kB / 0.7286 GB, free: 38.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.4542, allocations: 111.5 kB / 0.7287 GB, free: 38.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.4544, allocations: 261.8 kB / 0.729 GB, free: 38.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.4547, allocations: 310.2 kB / 0.7293 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4547, allocations: 1.156 kB / 0.7293 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004434/0.4551, allocations: 364.3 kB / 0.7296 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4552, allocations: 7.344 kB / 0.7296 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.4552, allocations: 1.188 kB / 0.7296 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4552, allocations: 4.375 kB / 0.7296 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.4554, allocations: 58.2 kB / 0.7297 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.4554, allocations: 9.766 kB / 0.7297 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.4555, allocations: 43.58 kB / 0.7297 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.4556, allocations: 17.66 kB / 0.7298 GB, free: 38.04 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.0001321/0.4557, allocations: 164.8 kB / 0.7299 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.4557, allocations: 42.86 kB / 0.73 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.4562, allocations: 365.9 kB / 0.7303 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.4562, allocations: 6.516 kB / 0.7303 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4563, allocations: 3.062 kB / 0.7303 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4563, allocations: 5 kB / 0.7303 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009854/0.4572, allocations: 0.8742 MB / 0.7312 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4573, allocations: 2.531 kB / 0.7312 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.4574, allocations: 50.48 kB / 0.7312 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4574, allocations: 4.219 kB / 0.7312 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.4574, allocations: 11.56 kB / 0.7312 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.4574, allocations: 3.594 kB / 0.7312 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4574, allocations: 5.359 kB / 0.7312 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.4581, allocations: 0.6266 MB / 0.7319 GB, free: 37.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.4582, allocations: 75.3 kB / 0.7319 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.4582, allocations: 7 kB / 0.7319 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.4584, allocations: 13.03 kB / 0.7319 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.4584, allocations: 21.48 kB / 0.732 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.4584, allocations: 12.48 kB / 0.732 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002377/0.4587, allocations: 276.7 kB / 0.7322 GB, free: 37.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4587, allocations: 0 / 0.7322 GB, free: 37.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004635/0.4591, allocations: 120.5 kB / 0.7324 GB, free: 37.19 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.001021/0.4602, allocations: 1.213 MB / 0.7335 GB, free: 36.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.4606, allocations: 273.8 kB / 0.7338 GB, free: 36.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4606, allocations: 2.062 kB / 0.7338 GB, free: 36.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.4607, allocations: 144.2 kB / 0.7339 GB, free: 36.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.4614, allocations: 210.8 kB / 0.7341 GB, free: 36.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.4653, allocations: 3.768 MB / 0.7378 GB, free: 34.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.4655, allocations: 225.2 kB / 0.738 GB, free: 34.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003344/0.4658, allocations: 97.41 kB / 0.7381 GB, free: 34.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.466, allocations: 138 kB / 0.7383 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of SimCode: time 2.114e-06/0.466, allocations: 0 / 0.7383 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.4956, allocations: 12.94 MB / 0.7509 GB, free: 32.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.249/7.745, allocations: 4.297 kB / 0.7509 GB, free: 32.86 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.201743421144783] Failed to read output from testmodel.py, exit status != 0: 7.835791337303817 7.8469795 7.39843549 Calling exit ...