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.001421/0.001421, allocations: 119 kB / 19.69 MB, free: 2.199 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.001388/0.001388, allocations: 224 kB / 23.01 MB, free: 5.047 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9201/0.9201, allocations: 150 MB / 463.2 MB, free: 10.46 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.001953/0.001953, allocations: 68.25 kB / 0.6413 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1751, allocations: 89.17 MB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5502/0.7253, allocations: 173.1 MB / 0.8974 GB, free: 10.16 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009061/0.7344, allocations: 7.225 MB / 0.9045 GB, free: 2.91 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.7348, allocations: 19.81 kB / 0.9045 GB, free: 2.891 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.7354, allocations: 174.7 kB / 0.9047 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.7386, allocations: 1.334 MB / 0.906 GB, free: 1.379 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.7401, allocations: 0.6657 MB / 0.9066 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009534/0.7411, allocations: 0.772 MB / 0.9074 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004035/0.7415, allocations: 242.8 kB / 0.9076 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.743, allocations: 0.7396 MB / 0.9083 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008448/0.7439, allocations: 462.4 kB / 0.9088 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.7439, allocations: 24 kB / 0.9088 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.7462, allocations: 1.368 MB / 0.9101 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.7463, allocations: 111.6 kB / 0.9102 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.7465, allocations: 183.1 kB / 0.9104 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.748, allocations: 0.9095 MB / 0.9113 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.748, allocations: 0 / 0.9113 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.292e-06/0.748, allocations: 0 / 0.9113 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.748, allocations: 0 / 0.9113 GB, free: 11.91 MB / 0.6856 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.000995/0.749, allocations: 0.6407 MB / 0.9119 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.7491, allocations: 8.031 kB / 0.9119 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.216e-05/0.7491, allocations: 62.53 kB / 0.912 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009488/0.7501, allocations: 131.6 kB / 0.9121 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.7506, allocations: 279.5 kB / 0.9124 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.2e-05/0.7507, allocations: 79.98 kB / 0.9125 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.7508, allocations: 28 kB / 0.9125 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.7514, allocations: 363.3 kB / 0.9128 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.7514, allocations: 0 / 0.9128 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.7514, allocations: 15.94 kB / 0.9128 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.7514, allocations: 11.94 kB / 0.9129 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.7519, allocations: 269.8 kB / 0.9131 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.7539, allocations: 1.458 MB / 0.9145 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.7543, allocations: 182.5 kB / 0.9147 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.7545, allocations: 108.8 kB / 0.9148 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007661/0.7553, allocations: 139.8 kB / 0.915 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.7553, allocations: 30.56 kB / 0.915 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.7553, allocations: 0 / 0.915 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0009399/0.7562, allocations: 357.9 kB / 0.9153 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.7563, allocations: 55.41 kB / 0.9154 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.7567, allocations: 320.5 kB / 0.9157 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.7567, allocations: 25.7 kB / 0.9157 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.7569, allocations: 188.4 kB / 0.9159 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.7569, allocations: 55.52 kB / 0.9159 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.757, allocations: 45.7 kB / 0.916 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.7571, allocations: 338.8 kB / 0.9163 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.7573, allocations: 99.81 kB / 0.9164 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.7576, allocations: 145.9 kB / 0.9165 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.758, allocations: 237.8 kB / 0.9168 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.758, allocations: 3.938 kB / 0.9168 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005837/0.7586, allocations: 284.7 kB / 0.917 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.7586, allocations: 4 kB / 0.917 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7586, allocations: 0 / 0.917 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.7586, allocations: 4.188 kB / 0.917 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.7589, allocations: 48.41 kB / 0.9171 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.7589, allocations: 4 kB / 0.9171 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.7591, allocations: 31.77 kB / 0.9171 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.7591, allocations: 11.94 kB / 0.9171 GB, free: 5.594 MB / 0.6856 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.0001704/0.7593, allocations: 159.7 kB / 0.9173 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.7594, allocations: 39.3 kB / 0.9173 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006974/0.7601, allocations: 311.9 kB / 0.9176 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7601, allocations: 4 kB / 0.9176 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.7601, allocations: 0 / 0.9176 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7601, allocations: 0 / 0.9176 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.7615, allocations: 0.7762 MB / 0.9184 GB, free: 4.238 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.7615, allocations: 0 / 0.9184 GB, free: 4.238 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.7617, allocations: 43.91 kB / 0.9184 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.7617, allocations: 4 kB / 0.9184 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.7617, allocations: 8.156 kB / 0.9184 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7617, allocations: 4 kB / 0.9184 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.7617, allocations: 4 kB / 0.9184 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.7623, allocations: 397.2 kB / 0.9188 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.7625, allocations: 67.64 kB / 0.9189 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.7625, allocations: 4 kB / 0.9189 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.7627, allocations: 15.98 kB / 0.9189 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.7628, allocations: 19.97 kB / 0.9189 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.7628, allocations: 12 kB / 0.9189 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002401/0.7631, allocations: 227 kB / 0.9192 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.7631, allocations: 0 / 0.9192 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005454/0.7636, allocations: 119.8 kB / 0.9193 GB, free: 3.297 MB / 0.6856 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.001312/0.7649, allocations: 1.061 MB / 0.9203 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005336/0.7655, allocations: 219.7 kB / 0.9205 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7655, allocations: 0 / 0.9205 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.7657, allocations: 112.6 kB / 0.9206 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008821/0.7666, allocations: 148.3 kB / 0.9208 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/0.771, allocations: 3.066 MB / 0.9238 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.7715, allocations: 0.7834 MB / 0.9245 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000295/0.7718, allocations: 91.09 kB / 0.9246 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.7719, allocations: 103.4 kB / 0.9247 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of SimCode: time 9.72e-07/0.7719, allocations: 0 / 0.9247 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.8112, allocations: 10.73 MB / 0.9352 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.76, allocations: 6.5 kB / 0.9352 GB, free: 3.035 MB / 0.7012 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.45783302700147] Failed to read output from testmodel.py, exit status != 0: 11.872765391999565 11.899781305 11.146530621 Calling exit ...