Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.001278/0.001278, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001353/0.001353, allocations: 212.8 kB / 22.99 MB, free: 4.977 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.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9411/0.9411, allocations: 149.9 MB / 463.1 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.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",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.002146/0.002146, allocations: 66.83 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1751, allocations: 89.17 MB / 0.7282 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5271/0.7021, allocations: 149.5 MB / 0.8742 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008315/0.7104, allocations: 6.531 MB / 0.8806 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/0.7109, allocations: 19.81 kB / 0.8806 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.7114, allocations: 178.7 kB / 0.8808 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.7145, allocations: 1.292 MB / 0.882 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.716, allocations: 0.6679 MB / 0.8827 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008182/0.7168, allocations: 0.7601 MB / 0.8834 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.7172, allocations: 231 kB / 0.8836 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.7186, allocations: 0.7434 MB / 0.8844 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007429/0.7193, allocations: 434.5 kB / 0.8848 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.7194, allocations: 28 kB / 0.8848 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.721, allocations: 1.04 MB / 0.8858 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.7212, allocations: 119.6 kB / 0.8859 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.7213, allocations: 147.3 kB / 0.8861 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.7225, allocations: 0.8628 MB / 0.8869 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.7225, allocations: 4 kB / 0.8869 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7225, allocations: 0 / 0.8869 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7225, allocations: 0 / 0.8869 GB, free: 2.625 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009486/0.7235, allocations: 0.6368 MB / 0.8875 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.7235, allocations: 8.031 kB / 0.8875 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.093e-05/0.7236, allocations: 63.09 kB / 0.8876 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/0.7245, allocations: 135.6 kB / 0.8877 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.7251, allocations: 275.6 kB / 0.888 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.347e-05/0.7251, allocations: 76 kB / 0.8881 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.7252, allocations: 24 kB / 0.8881 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/0.7258, allocations: 397.9 kB / 0.8885 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.7258, allocations: 7.938 kB / 0.8885 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.7259, allocations: 12 kB / 0.8885 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.7259, allocations: 7.938 kB / 0.8885 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.7264, allocations: 273.8 kB / 0.8888 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.7281, allocations: 1.144 MB / 0.8899 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.7285, allocations: 186.4 kB / 0.8901 GB, free: 15.24 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.7287, allocations: 109.8 kB / 0.8902 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007277/0.7294, allocations: 135.8 kB / 0.8903 GB, free: 15 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.7295, allocations: 34.56 kB / 0.8903 GB, free: 14.95 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.183e-06/0.7295, allocations: 0 / 0.8903 GB, free: 14.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0009424/0.7304, allocations: 366.4 kB / 0.8907 GB, free: 14.59 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7304, allocations: 55.41 kB / 0.8907 GB, free: 14.52 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.7308, allocations: 312.5 kB / 0.891 GB, free: 14.21 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.7308, allocations: 29.7 kB / 0.8911 GB, free: 14.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.731, allocations: 184.4 kB / 0.8912 GB, free: 13.99 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.731, allocations: 51.53 kB / 0.8913 GB, free: 13.94 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.7311, allocations: 49.66 kB / 0.8913 GB, free: 13.89 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.7313, allocations: 346.7 kB / 0.8917 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.7315, allocations: 83.94 kB / 0.8917 GB, free: 13.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.7318, allocations: 229.4 kB / 0.892 GB, free: 13.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.7322, allocations: 237.4 kB / 0.8922 GB, free: 12.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7322, allocations: 4 kB / 0.8922 GB, free: 12.94 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005641/0.7328, allocations: 277.2 kB / 0.8924 GB, free: 12.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.7328, allocations: 10.03 kB / 0.8925 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7328, allocations: 0.75 kB / 0.8925 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.7328, allocations: 7.984 kB / 0.8925 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.733, allocations: 44.11 kB / 0.8925 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.733, allocations: 4 kB / 0.8925 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.7332, allocations: 31.77 kB / 0.8925 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.7333, allocations: 15.94 kB / 0.8926 GB, free: 12.55 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001595/0.7334, allocations: 157.7 kB / 0.8927 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.7335, allocations: 32.5 kB / 0.8927 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006869/0.7342, allocations: 309 kB / 0.893 GB, free: 12.06 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.7342, allocations: 8 kB / 0.893 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7342, allocations: 0 / 0.893 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7342, allocations: 0 / 0.893 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.7356, allocations: 0.7489 MB / 0.8938 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7356, allocations: 3.531 kB / 0.8938 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.7357, allocations: 47.84 kB / 0.8938 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7357, allocations: 4 kB / 0.8938 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.7358, allocations: 8 kB / 0.8938 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.7358, allocations: 4 kB / 0.8938 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.7358, allocations: 0 / 0.8938 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.7364, allocations: 397.1 kB / 0.8942 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.7365, allocations: 67.7 kB / 0.8943 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.7366, allocations: 12 kB / 0.8943 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.7368, allocations: 11.98 kB / 0.8943 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.7369, allocations: 15.98 kB / 0.8943 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.7369, allocations: 11.98 kB / 0.8943 GB, free: 10.62 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002301/0.7371, allocations: 231 kB / 0.8946 GB, free: 10.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.7371, allocations: 0 / 0.8946 GB, free: 10.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004836/0.7376, allocations: 123.7 kB / 0.8947 GB, free: 10.28 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 (16): * Single equations (assignments): 16 * 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.001261/0.7389, allocations: 1.057 MB / 0.8957 GB, free: 9.172 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004847/0.7394, allocations: 207.7 kB / 0.8959 GB, free: 8.969 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7394, allocations: 0 / 0.8959 GB, free: 8.969 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.7396, allocations: 112.5 kB / 0.896 GB, free: 8.859 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008197/0.7404, allocations: 158.9 kB / 0.8962 GB, free: 8.715 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.7445, allocations: 3.074 MB / 0.8992 GB, free: 5.477 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.7446, allocations: 181.1 kB / 0.8993 GB, free: 5.277 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002718/0.7449, allocations: 92.98 kB / 0.8994 GB, free: 5.195 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.7451, allocations: 99.39 kB / 0.8995 GB, free: 5.098 MB / 0.67 GB Notification: Performance of SimCode: time 4.6e-07/0.7451, allocations: 4 kB / 0.8995 GB, free: 5.094 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/0.7839, allocations: 11.69 MB / 0.9109 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.01, allocations: 0 / 0.9109 GB, free: 9.711 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate_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_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.718699174001813] Failed to read output from testmodel.py, exit status != 0: 12.122519220225513 12.138989157 11.413235696 Calling exit ...