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.001839/0.001839, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002152/0.002152, allocations: 214.1 kB / 22.99 MB, free: 4.605 MB / 14.72 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 1.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.9932/0.9932, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 62.94 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1865, allocations: 89.19 MB / 0.7282 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6086/0.7952, allocations: 158.5 MB / 0.883 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009886/0.8051, allocations: 7.201 MB / 0.89 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006101/0.8057, allocations: 31.75 kB / 0.89 GB, free: 15.41 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.8064, allocations: 250.2 kB / 0.8903 GB, free: 15.17 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.8097, allocations: 1.225 MB / 0.8915 GB, free: 13.94 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.8118, allocations: 0.7495 MB / 0.8922 GB, free: 13.19 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.8132, allocations: 1.087 MB / 0.8933 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005479/0.8137, allocations: 324.1 kB / 0.8936 GB, free: 11.78 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.8167, allocations: 1.023 MB / 0.8946 GB, free: 10.77 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006948/0.8174, allocations: 418.4 kB / 0.895 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.74e-05/0.8175, allocations: 36 kB / 0.895 GB, free: 10.32 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.8191, allocations: 0.787 MB / 0.8958 GB, free: 9.535 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.8193, allocations: 163.5 kB / 0.8959 GB, free: 9.375 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.8196, allocations: 207.1 kB / 0.8961 GB, free: 9.172 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.8212, allocations: 0.9146 MB / 0.897 GB, free: 8.258 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8212, allocations: 0 / 0.897 GB, free: 8.258 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8212, allocations: 0 / 0.897 GB, free: 8.258 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.8212, allocations: 0 / 0.897 GB, free: 8.258 MB / 0.67 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.001274/0.8224, allocations: 0.7419 MB / 0.8978 GB, free: 7.484 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.8225, allocations: 8.031 kB / 0.8978 GB, free: 7.477 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.8226, allocations: 86.47 kB / 0.8978 GB, free: 7.383 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000965/0.8236, allocations: 147.5 kB / 0.898 GB, free: 7.238 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006705/0.8242, allocations: 332.5 kB / 0.8983 GB, free: 6.891 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.8243, allocations: 29 kB / 0.8983 GB, free: 6.863 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.8243, allocations: 43.98 kB / 0.8984 GB, free: 6.82 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007831/0.8251, allocations: 458.2 kB / 0.8988 GB, free: 6.34 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.8251, allocations: 4 kB / 0.8988 GB, free: 6.336 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.8252, allocations: 12 kB / 0.8988 GB, free: 6.324 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.8252, allocations: 12 kB / 0.8988 GB, free: 6.312 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006148/0.8258, allocations: 319.7 kB / 0.8991 GB, free: 6.004 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.828, allocations: 1.49 MB / 0.9006 GB, free: 4.445 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.8285, allocations: 234.4 kB / 0.9008 GB, free: 4.207 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.8287, allocations: 132.8 kB / 0.9009 GB, free: 4.074 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000491/0.8292, allocations: 76.31 kB / 0.901 GB, free: 4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.8292, allocations: 34.56 kB / 0.9011 GB, free: 3.957 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 2.355e-06/0.8292, allocations: 4 kB / 0.9011 GB, free: 3.953 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.001069/0.8303, allocations: 460.8 kB / 0.9015 GB, free: 3.496 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.8304, allocations: 51.41 kB / 0.9015 GB, free: 3.434 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.8308, allocations: 398 kB / 0.9019 GB, free: 3.035 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.8308, allocations: 29.7 kB / 0.902 GB, free: 3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.831, allocations: 236.5 kB / 0.9022 GB, free: 2.766 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.8311, allocations: 91.25 kB / 0.9023 GB, free: 2.676 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.695e-05/0.8312, allocations: 61.66 kB / 0.9023 GB, free: 2.609 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.8314, allocations: 350.7 kB / 0.9027 GB, free: 2.258 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.8316, allocations: 115 kB / 0.9028 GB, free: 2.148 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.832, allocations: 263.8 kB / 0.903 GB, free: 1.848 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/0.8325, allocations: 310.1 kB / 0.9033 GB, free: 1.523 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8325, allocations: 0 / 0.9033 GB, free: 1.523 MB / 0.67 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006538/0.8332, allocations: 361 kB / 0.9037 GB, free: 1.164 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.8332, allocations: 8.156 kB / 0.9037 GB, free: 1.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.8332, allocations: 8 kB / 0.9037 GB, free: 1.148 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.8332, allocations: 4 kB / 0.9037 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.8335, allocations: 59.91 kB / 0.9037 GB, free: 1.086 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.8335, allocations: 7.984 kB / 0.9037 GB, free: 1.078 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.8337, allocations: 39.67 kB / 0.9038 GB, free: 1.039 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.8338, allocations: 15.92 kB / 0.9038 GB, free: 1.023 MB / 0.67 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.0001852/0.8339, allocations: 169.7 kB / 0.904 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.834, allocations: 43.72 kB / 0.904 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007193/0.8347, allocations: 375.3 kB / 0.9044 GB, free: 448 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8347, allocations: 0 / 0.9044 GB, free: 448 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8347, allocations: 0 / 0.9044 GB, free: 448 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8347, allocations: 4 kB / 0.9044 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.8363, allocations: 0.8719 MB / 0.9052 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.8363, allocations: 3.938 kB / 0.9052 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.8365, allocations: 51.91 kB / 0.9053 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.8365, allocations: 4 kB / 0.9053 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.8365, allocations: 8 kB / 0.9053 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.8365, allocations: 4 kB / 0.9053 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8366, allocations: 0 / 0.9053 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000982/0.8375, allocations: 0.6337 MB / 0.9059 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.8377, allocations: 71.66 kB / 0.906 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.8378, allocations: 11.98 kB / 0.906 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.838, allocations: 12 kB / 0.906 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.838, allocations: 19.91 kB / 0.906 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.838, allocations: 12 kB / 0.906 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003002/0.8383, allocations: 287.1 kB / 0.9063 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8383, allocations: 0 / 0.9063 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004643/0.8388, allocations: 111.8 kB / 0.9064 GB, free: 14.24 MB / 0.6856 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.001439/0.8403, allocations: 1.229 MB / 0.9076 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005973/0.8408, allocations: 280 kB / 0.9079 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.8409, allocations: 0 / 0.9079 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.8411, allocations: 143.8 kB / 0.908 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.8421, allocations: 226.8 kB / 0.9082 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/0.8472, allocations: 3.804 MB / 0.9119 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.8474, allocations: 224 kB / 0.9121 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003246/0.8477, allocations: 99.41 kB / 0.9122 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.848, allocations: 135.4 kB / 0.9124 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of SimCode: time 5.01e-07/0.848, allocations: 4 kB / 0.9124 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04473/0.8927, allocations: 13.05 MB / 0.9251 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.05, allocations: 2.344 kB / 0.9251 GB, free: 11.21 MB / 0.7012 GB " [Timeout remaining time 648] (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: 16.01350313797593] Failed to read output from testmodel.py, exit status != 0: 12.162027196958661 12.190262758 11.363802186 Calling exit ...