Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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.001271/0.001271, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.001362/0.001362, allocations: 219.7 kB / 23 MB, free: 5.004 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.94/0.94, allocations: 150 MB / 463.2 MB, free: 10.55 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.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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.001959/0.001959, allocations: 66.28 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2156, allocations: 89.16 MB / 0.7284 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5861/0.8017, allocations: 164.9 MB / 0.8894 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005647/0.8073, allocations: 4.621 MB / 0.8939 GB, free: 13.81 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.8077, allocations: 15.88 kB / 0.8939 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.8082, allocations: 131.1 kB / 0.894 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0008863/0.809, allocations: 346.4 kB / 0.8944 GB, free: 13.33 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008067/0.8098, allocations: 291.1 kB / 0.8947 GB, free: 13.05 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007257/0.8106, allocations: 0.5729 MB / 0.8952 GB, free: 12.47 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.8109, allocations: 153.4 kB / 0.8954 GB, free: 12.32 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.8124, allocations: 0.6811 MB / 0.896 GB, free: 11.64 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.8127, allocations: 203.2 kB / 0.8962 GB, free: 11.44 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.8127, allocations: 19.94 kB / 0.8962 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.8129, allocations: 91.86 kB / 0.8963 GB, free: 11.33 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.813, allocations: 87.72 kB / 0.8964 GB, free: 11.24 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.8132, allocations: 119.4 kB / 0.8965 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.8136, allocations: 300.9 kB / 0.8968 GB, free: 10.84 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8136, allocations: 0 / 0.8968 GB, free: 10.84 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8136, allocations: 0 / 0.8968 GB, free: 10.84 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.8136, allocations: 0 / 0.8968 GB, free: 10.84 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008593/0.8145, allocations: 484.6 kB / 0.8973 GB, free: 10.33 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.8145, allocations: 8.031 kB / 0.8973 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.8146, allocations: 50.55 kB / 0.8973 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.8146, allocations: 23.86 kB / 0.8974 GB, free: 10.24 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.815, allocations: 233.6 kB / 0.8976 GB, free: 9.988 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.815, allocations: 16 kB / 0.8976 GB, free: 9.973 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.8151, allocations: 16 kB / 0.8976 GB, free: 9.957 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.8155, allocations: 269.8 kB / 0.8979 GB, free: 9.656 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.8155, allocations: 3.938 kB / 0.8979 GB, free: 9.652 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.8156, allocations: 9.125 kB / 0.8979 GB, free: 9.645 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.8156, allocations: 8 kB / 0.8979 GB, free: 9.637 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.8159, allocations: 143.8 kB / 0.898 GB, free: 9.496 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.8172, allocations: 1.332 MB / 0.8993 GB, free: 8.082 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.8175, allocations: 179.7 kB / 0.8995 GB, free: 7.852 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.8177, allocations: 101 kB / 0.8996 GB, free: 7.734 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/0.818, allocations: 39.94 kB / 0.8996 GB, free: 7.695 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.818, allocations: 38.56 kB / 0.8997 GB, free: 7.648 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.818, allocations: 0 / 0.8997 GB, free: 7.648 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0005948/0.8186, allocations: 214.4 kB / 0.8999 GB, free: 7.434 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.8188, allocations: 191.8 kB / 0.9 GB, free: 7.203 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.819, allocations: 284.2 kB / 0.9003 GB, free: 6.918 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.8191, allocations: 29.7 kB / 0.9003 GB, free: 6.883 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.8192, allocations: 147.9 kB / 0.9005 GB, free: 6.734 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.8192, allocations: 43.62 kB / 0.9005 GB, free: 6.691 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.8193, allocations: 37.7 kB / 0.9006 GB, free: 6.648 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8194, allocations: 334.8 kB / 0.9009 GB, free: 6.312 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.8196, allocations: 43.97 kB / 0.9009 GB, free: 6.27 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.8197, allocations: 115.7 kB / 0.901 GB, free: 6.129 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.82, allocations: 159.4 kB / 0.9012 GB, free: 5.949 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.82, allocations: 8.438 kB / 0.9012 GB, free: 5.941 MB / 0.67 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003662/0.8204, allocations: 189.8 kB / 0.9014 GB, free: 5.75 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.8204, allocations: 4 kB / 0.9014 GB, free: 5.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.8204, allocations: 7.938 kB / 0.9014 GB, free: 5.738 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.8205, allocations: 4.219 kB / 0.9014 GB, free: 5.734 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.8206, allocations: 35.98 kB / 0.9014 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.8206, allocations: 0 / 0.9014 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.8208, allocations: 28.45 kB / 0.9015 GB, free: 5.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.8208, allocations: 11.94 kB / 0.9015 GB, free: 5.66 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 (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 prepare postOptimizeDAE: time 0.0001392/0.8209, allocations: 151.7 kB / 0.9016 GB, free: 5.504 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.821, allocations: 27.8 kB / 0.9016 GB, free: 5.477 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.8214, allocations: 137.8 kB / 0.9018 GB, free: 5.336 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8214, allocations: 0 / 0.9018 GB, free: 5.336 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.8214, allocations: 4 kB / 0.9018 GB, free: 5.332 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.8214, allocations: 0 / 0.9018 GB, free: 5.332 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/0.8222, allocations: 0.7448 MB / 0.9025 GB, free: 4.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8222, allocations: 0 / 0.9025 GB, free: 4.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.8224, allocations: 31.92 kB / 0.9025 GB, free: 4.488 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8224, allocations: 0 / 0.9025 GB, free: 4.488 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.8224, allocations: 4 kB / 0.9025 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8224, allocations: 0 / 0.9025 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8224, allocations: 4 kB / 0.9025 GB, free: 4.48 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.8229, allocations: 341.4 kB / 0.9029 GB, free: 4.117 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.823, allocations: 31.88 kB / 0.9029 GB, free: 4.086 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.823, allocations: 4 kB / 0.9029 GB, free: 4.082 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.8231, allocations: 16.67 kB / 0.9029 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.8232, allocations: 15.86 kB / 0.9029 GB, free: 4.051 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.8232, allocations: 4 kB / 0.9029 GB, free: 4.047 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002049/0.8234, allocations: 211.1 kB / 0.9031 GB, free: 3.844 MB / 0.67 GB Notification: Performance of sort global known variables: time 6e-08/0.8234, allocations: 0 / 0.9031 GB, free: 3.844 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003399/0.8237, allocations: 55.89 kB / 0.9032 GB, free: 3.789 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0009307/0.8247, allocations: 0.8961 MB / 0.9041 GB, free: 2.852 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.825, allocations: 127.3 kB / 0.9042 GB, free: 2.73 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.825, allocations: 0 / 0.9042 GB, free: 2.73 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.8252, allocations: 64.52 kB / 0.9042 GB, free: 2.668 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/0.8259, allocations: 124.5 kB / 0.9044 GB, free: 2.551 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.8291, allocations: 2.609 MB / 0.9069 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.8295, allocations: 0.7518 MB / 0.9076 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.8296, allocations: 58.25 kB / 0.9077 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.8298, allocations: 71.41 kB / 0.9078 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/0.8298, allocations: 0 / 0.9078 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.8642, allocations: 7.024 MB / 0.9146 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.44, allocations: 15.38 kB / 0.9146 GB, free: 8.07 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy_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_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.289955609998287] Failed to read output from testmodel.py, exit status != 0: 11.54883436000091 11.573751101 10.755575866000001 Calling exit ...