Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001805/0.001805, 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.002261/0.002261, allocations: 211.4 kB / 22.99 MB, free: 4.609 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.395/1.395, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.97/0.97, allocations: 149.9 MB / 463 MB, free: 10.37 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.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",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.002032/0.002032, allocations: 63.69 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1888, allocations: 89.18 MB / 0.7282 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5227/0.7115, allocations: 147.8 MB / 0.8725 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007499/0.719, allocations: 6.006 MB / 0.8784 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.7194, allocations: 19.88 kB / 0.8784 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.7199, allocations: 170.7 kB / 0.8785 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.722, allocations: 0.8401 MB / 0.8794 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.7229, allocations: 338.3 kB / 0.8797 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008487/0.7237, allocations: 0.7212 MB / 0.8804 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.7241, allocations: 211.3 kB / 0.8806 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.7256, allocations: 0.7239 MB / 0.8813 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.7261, allocations: 259 kB / 0.8815 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.7261, allocations: 28 kB / 0.8816 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005428/0.7267, allocations: 287.3 kB / 0.8818 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.7268, allocations: 111.6 kB / 0.882 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.727, allocations: 135.3 kB / 0.8821 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007002/0.7277, allocations: 468.2 kB / 0.8825 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7277, allocations: 0 / 0.8825 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7277, allocations: 0 / 0.8825 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.7277, allocations: 0 / 0.8825 GB, free: 7.152 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009279/0.7286, allocations: 0.5555 MB / 0.8831 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.7287, allocations: 12.03 kB / 0.8831 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.138e-05/0.7287, allocations: 66.53 kB / 0.8831 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.729, allocations: 63.67 kB / 0.8832 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.7296, allocations: 259.5 kB / 0.8835 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.7296, allocations: 28.59 kB / 0.8835 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.7296, allocations: 24 kB / 0.8835 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.7302, allocations: 324.9 kB / 0.8838 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.7302, allocations: 0 / 0.8838 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.7302, allocations: 12 kB / 0.8838 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.7303, allocations: 8.5 kB / 0.8838 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.7307, allocations: 201.5 kB / 0.884 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.7321, allocations: 1.194 MB / 0.8852 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.7324, allocations: 114.5 kB / 0.8853 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.7326, allocations: 85.61 kB / 0.8854 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004518/0.733, allocations: 71.92 kB / 0.8855 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.733, allocations: 34.55 kB / 0.8855 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.733, allocations: 0 / 0.8855 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007105/0.7337, allocations: 272.6 kB / 0.8857 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.7338, allocations: 55.66 kB / 0.8858 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.7341, allocations: 316.5 kB / 0.8861 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.7341, allocations: 25.7 kB / 0.8861 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.7343, allocations: 192.1 kB / 0.8863 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.7343, allocations: 47.64 kB / 0.8864 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.7344, allocations: 33.7 kB / 0.8864 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7345, allocations: 342.8 kB / 0.8867 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.7347, allocations: 60.58 kB / 0.8868 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.7349, allocations: 195.8 kB / 0.887 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.7352, allocations: 178.2 kB / 0.8871 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7352, allocations: 0 / 0.8871 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004153/0.7356, allocations: 224 kB / 0.8873 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.7357, allocations: 8 kB / 0.8873 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.7357, allocations: 0 / 0.8873 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.7357, allocations: 4.812 kB / 0.8874 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.7359, allocations: 35.97 kB / 0.8874 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7359, allocations: 0 / 0.8874 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.736, allocations: 35.92 kB / 0.8874 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.7361, allocations: 12 kB / 0.8874 GB, free: 1.848 MB / 0.6544 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 (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 prepare postOptimizeDAE: time 0.0001472/0.7362, allocations: 149.7 kB / 0.8876 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.7363, allocations: 27.81 kB / 0.8876 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.7367, allocations: 212.8 kB / 0.8878 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.7367, allocations: 4.922 kB / 0.8878 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.7367, allocations: 3.984 kB / 0.8878 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.7367, allocations: 0 / 0.8878 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.7377, allocations: 0.6396 MB / 0.8884 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.7377, allocations: 0.5 kB / 0.8884 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.7378, allocations: 31.92 kB / 0.8885 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.7378, allocations: 3.938 kB / 0.8885 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.7379, allocations: 10.69 kB / 0.8885 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.7379, allocations: 12.16 kB / 0.8885 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7379, allocations: 0 / 0.8885 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.7383, allocations: 337.2 kB / 0.8888 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.7384, allocations: 39.84 kB / 0.8889 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.7384, allocations: 3.938 kB / 0.8889 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.7386, allocations: 15.98 kB / 0.8889 GB, free: 260 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.7386, allocations: 11.98 kB / 0.8889 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.7386, allocations: 8 kB / 0.8889 GB, free: 240 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002188/0.7389, allocations: 227 kB / 0.8891 GB, free: 16 kB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7389, allocations: 0 / 0.8891 GB, free: 16 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003885/0.7393, allocations: 79.83 kB / 0.8892 GB, free: 15.93 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009205/0.7402, allocations: 0.9053 MB / 0.8901 GB, free: 14.98 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003847/0.7406, allocations: 155.8 kB / 0.8902 GB, free: 14.83 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7406, allocations: 0 / 0.8902 GB, free: 14.83 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.7407, allocations: 80.58 kB / 0.8903 GB, free: 14.75 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/0.7415, allocations: 147.5 kB / 0.8904 GB, free: 14.62 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.7449, allocations: 2.811 MB / 0.8932 GB, free: 11.65 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.7451, allocations: 179.8 kB / 0.8934 GB, free: 11.45 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.7453, allocations: 60.05 kB / 0.8934 GB, free: 11.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.7454, allocations: 95.41 kB / 0.8935 GB, free: 11.3 MB / 0.67 GB Notification: Performance of SimCode: time 5.62e-07/0.7454, allocations: 0 / 0.8935 GB, free: 11.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.7839, allocations: 9.191 MB / 0.9025 GB, free: 2.402 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.68, allocations: 8.594 kB / 0.9025 GB, free: 2.398 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_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_EnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.629648166708648] Failed to read output from testmodel.py, exit status != 0: 11.787540841847658 11.817906901 11.084761919 Calling exit ...