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.0008673/0.0008673, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008893/0.0008893, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9076/0.9076, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.5624/0.5624, allocations: 114 MB / 373.9 MB, free: 8.727 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 3.938 kB / 0.5542 GB, free: 1.691 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.261e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.688 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4511/0.4511, allocations: 147.7 MB / 0.6984 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005117/0.4562, allocations: 5.965 MB / 0.7043 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.4564, allocations: 16.77 kB / 0.7043 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.4568, allocations: 183.9 kB / 0.7045 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.4582, allocations: 0.85 MB / 0.7053 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.4589, allocations: 373.9 kB / 0.7056 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.4594, allocations: 0.6859 MB / 0.7063 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.4596, allocations: 201.2 kB / 0.7065 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009263/0.4606, allocations: 0.8106 MB / 0.7073 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.4608, allocations: 241.9 kB / 0.7075 GB, free: 2.859 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.4608, allocations: 21.78 kB / 0.7076 GB, free: 2.859 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.4612, allocations: 293 kB / 0.7078 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.555e-05/0.4612, allocations: 115.7 kB / 0.7079 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.175e-05/0.4613, allocations: 109.8 kB / 0.708 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.4617, allocations: 480.2 kB / 0.7085 GB, free: 2.57 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4617, allocations: 0 / 0.7085 GB, free: 2.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4617, allocations: 0 / 0.7085 GB, free: 2.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4617, allocations: 2.375 kB / 0.7085 GB, free: 2.57 MB / 0.5573 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.0005402/0.4623, allocations: 0.5458 MB / 0.709 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4623, allocations: 10.97 kB / 0.709 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.4623, allocations: 59.28 kB / 0.7091 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.4626, allocations: 70.09 kB / 0.7092 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.4629, allocations: 250.9 kB / 0.7094 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4629, allocations: 19.5 kB / 0.7094 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.4629, allocations: 25.94 kB / 0.7095 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.4632, allocations: 319.7 kB / 0.7098 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4633, allocations: 0 / 0.7098 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.4633, allocations: 18.78 kB / 0.7098 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4633, allocations: 8.656 kB / 0.7098 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.4635, allocations: 197.2 kB / 0.71 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007943/0.4643, allocations: 1.193 MB / 0.7111 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.4645, allocations: 114.6 kB / 0.7112 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.625e-05/0.4646, allocations: 80.08 kB / 0.7113 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.4648, allocations: 77.66 kB / 0.7114 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.4648, allocations: 37.47 kB / 0.7114 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.4648, allocations: 0 / 0.7114 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0004078/0.4653, allocations: 274.7 kB / 0.7117 GB, free: 436 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.4653, allocations: 54.16 kB / 0.7117 GB, free: 372 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.4655, allocations: 312 kB / 0.712 GB, free: 200 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.4655, allocations: 29.7 kB / 0.7121 GB, free: 164 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.4655, allocations: 183.8 kB / 0.7122 GB, free: 8 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.4656, allocations: 42.92 kB / 0.7123 GB, free: 15.97 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.4656, allocations: 36.47 kB / 0.7123 GB, free: 15.95 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.4657, allocations: 345.1 kB / 0.7127 GB, free: 15.62 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.4658, allocations: 62.22 kB / 0.7127 GB, free: 15.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.466, allocations: 191 kB / 0.7129 GB, free: 15.44 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.4662, allocations: 173.3 kB / 0.7131 GB, free: 15.34 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4662, allocations: 3.938 kB / 0.7131 GB, free: 15.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002495/0.4664, allocations: 228.2 kB / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4664, allocations: 5.812 kB / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4664, allocations: 0 / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4664, allocations: 2.875 kB / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4666, allocations: 31.47 kB / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.4666, allocations: 6.562 kB / 0.7133 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.4667, allocations: 34.81 kB / 0.7134 GB, free: 15.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.4667, allocations: 9.375 kB / 0.7134 GB, free: 15.21 MB / 0.573 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.0001213/0.4668, allocations: 149.4 kB / 0.7135 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.4668, allocations: 30.09 kB / 0.7135 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.4671, allocations: 209 kB / 0.7137 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4671, allocations: 2.438 kB / 0.7137 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4671, allocations: 2.812 kB / 0.7137 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4671, allocations: 0 / 0.7137 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006138/0.4677, allocations: 0.6282 MB / 0.7144 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4677, allocations: 4.453 kB / 0.7144 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.4678, allocations: 37.14 kB / 0.7144 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4678, allocations: 2.938 kB / 0.7144 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4678, allocations: 6.812 kB / 0.7144 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4678, allocations: 6.656 kB / 0.7144 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4678, allocations: 2.938 kB / 0.7144 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.4681, allocations: 339.5 kB / 0.7147 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.4681, allocations: 37.98 kB / 0.7148 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.4682, allocations: 6.875 kB / 0.7148 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.4682, allocations: 12.98 kB / 0.7148 GB, free: 14.22 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.4683, allocations: 22.08 kB / 0.7148 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.4683, allocations: 4.875 kB / 0.7148 GB, free: 14.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001324/0.4684, allocations: 226.3 kB / 0.715 GB, free: 14.06 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.4684, allocations: 0 / 0.715 GB, free: 14.06 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00023/0.4686, allocations: 72.67 kB / 0.7151 GB, free: 14.04 MB / 0.573 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.0005817/0.4692, allocations: 0.9047 MB / 0.716 GB, free: 13.22 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.4695, allocations: 150.3 kB / 0.7161 GB, free: 13.15 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4695, allocations: 2.812 kB / 0.7161 GB, free: 13.15 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.4696, allocations: 78.77 kB / 0.7162 GB, free: 13.12 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.47, allocations: 139.6 kB / 0.7163 GB, free: 13.06 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.4721, allocations: 2.808 MB / 0.7191 GB, free: 10.91 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.4722, allocations: 168.2 kB / 0.7192 GB, free: 10.79 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.4723, allocations: 65.55 kB / 0.7193 GB, free: 10.76 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.275e-05/0.4724, allocations: 92.16 kB / 0.7194 GB, free: 10.68 MB / 0.573 GB Notification: Performance of SimCode: time 8.21e-07/0.4724, allocations: 3.938 kB / 0.7194 GB, free: 10.68 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.4926, allocations: 9.079 MB / 0.7283 GB, free: 5.988 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.59, allocations: 13.28 kB / 0.7283 GB, free: 5.98 MB / 0.573 GB " [Timeout remaining time 652] (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: 10.179675124585629] Failed to read output from testmodel.py, exit status != 0: 7.674283466301858 7.683040459 7.219389478 Calling exit ...