Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001834/0.001834, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.002458/0.002458, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.655/1.655, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 1.024/1.024, allocations: 150 MB / 459.5 MB, free: 5.324 MB / 350.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.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.002107/0.002107, allocations: 75.42 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1653, allocations: 89.13 MB / 0.7232 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002725/0.168, allocations: 1.287 MB / 0.7244 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1691, allocations: 0.6171 MB / 0.725 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.1691, allocations: 4 kB / 0.725 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.1692, allocations: 3.938 kB / 0.725 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.1692, allocations: 0 / 0.725 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006907/0.1699, allocations: 142.8 kB / 0.7252 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.17, allocations: 23.86 kB / 0.7252 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.17, allocations: 7.984 kB / 0.7252 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.1701, allocations: 8 kB / 0.7252 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.1701, allocations: 19.86 kB / 0.7252 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1701, allocations: 0 / 0.7252 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.1707, allocations: 343.4 kB / 0.7255 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.1707, allocations: 0 / 0.7255 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.1707, allocations: 7.938 kB / 0.7256 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.171, allocations: 151.8 kB / 0.7257 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.171, allocations: 0 / 0.7257 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.903e-06/0.171, allocations: 0 / 0.7257 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.171, allocations: 0 / 0.7257 GB, free: 1.484 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005058/0.1715, allocations: 367.1 kB / 0.726 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1716, allocations: 8.031 kB / 0.7261 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.1716, allocations: 38.73 kB / 0.7261 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.1717, allocations: 0.9375 kB / 0.7261 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1718, allocations: 168.3 kB / 0.7263 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1718, allocations: 4.375 kB / 0.7263 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1718, allocations: 4.125 kB / 0.7263 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.172, allocations: 45.67 kB / 0.7263 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.172, allocations: 4 kB / 0.7263 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.172, allocations: 4 kB / 0.7263 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.172, allocations: 0 / 0.7263 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.172, allocations: 15.98 kB / 0.7263 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.1722, allocations: 157.7 kB / 0.7265 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1724, allocations: 46.5 kB / 0.7265 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.1725, allocations: 20.8 kB / 0.7265 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1725, allocations: 0 / 0.7265 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1725, allocations: 38.5 kB / 0.7266 GB, free: 420 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1725, allocations: 0 / 0.7266 GB, free: 420 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.000748/0.1733, allocations: 306.4 kB / 0.7269 GB, free: 60 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.1733, allocations: 51.41 kB / 0.7269 GB, free: 16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.1734, allocations: 97.86 kB / 0.727 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1734, allocations: 25.7 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.1735, allocations: 84.14 kB / 0.7271 GB, free: 15.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.1735, allocations: 27.78 kB / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.1736, allocations: 21.66 kB / 0.7272 GB, free: 15.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1737, allocations: 310.8 kB / 0.7275 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.1737, allocations: 19.92 kB / 0.7275 GB, free: 15.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.1738, allocations: 12 kB / 0.7275 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.467e-05/0.1738, allocations: 28.86 kB / 0.7275 GB, free: 15.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1738, allocations: 7.938 kB / 0.7275 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001169/0.1739, allocations: 61.67 kB / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.174, allocations: 12 kB / 0.7276 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.174, allocations: 0 / 0.7276 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.174, allocations: 0 / 0.7276 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.174, allocations: 15.92 kB / 0.7276 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1741, allocations: 0 / 0.7276 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.1741, allocations: 4 kB / 0.7276 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1741, allocations: 0 / 0.7276 GB, free: 15.24 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 9.2e-05/0.1742, allocations: 117.8 kB / 0.7277 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.1742, allocations: 3.953 kB / 0.7277 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.1743, allocations: 73.64 kB / 0.7278 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1744, allocations: 4.516 kB / 0.7278 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1744, allocations: 0 / 0.7278 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1744, allocations: 128 / 0.7278 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.1747, allocations: 319.4 kB / 0.7281 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1747, allocations: 0 / 0.7281 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.1748, allocations: 19.92 kB / 0.7281 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1748, allocations: 0 / 0.7281 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1748, allocations: 0 / 0.7281 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1748, allocations: 4.031 kB / 0.7281 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1748, allocations: 3.984 kB / 0.7281 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.175, allocations: 180.3 kB / 0.7283 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.1751, allocations: 81.09 kB / 0.7284 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1751, allocations: 4.031 kB / 0.7284 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.1752, allocations: 4 kB / 0.7284 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.1752, allocations: 12.05 kB / 0.7284 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.1752, allocations: 7.875 kB / 0.7284 GB, free: 14.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.015e-05/0.1753, allocations: 79.28 kB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1753, allocations: 3.938 kB / 0.7285 GB, free: 14.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00027/0.1755, allocations: 23.94 kB / 0.7285 GB, free: 14.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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.0006186/0.1762, allocations: 0.7366 MB / 0.7292 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.1763, allocations: 35.92 kB / 0.7293 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1763, allocations: 0 / 0.7293 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.1763, allocations: 16 kB / 0.7293 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.1765, allocations: 5.188 kB / 0.7293 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.178, allocations: 1.335 MB / 0.7306 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1783, allocations: 0.6807 MB / 0.7313 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.529e-05/0.1784, allocations: 4 kB / 0.7313 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.1784, allocations: 19.42 kB / 0.7313 GB, free: 11.23 MB / 0.545 GB Notification: Performance of SimCode: time 6.92e-07/0.1784, allocations: 0 / 0.7313 GB, free: 11.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.2074, allocations: 1.647 MB / 0.7329 GB, free: 9.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.475, allocations: 5.734 kB / 0.7329 GB, free: 9.77 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.668928669998422] Failed to read output from testmodel.py, exit status != 0: 8.547863659914583 8.579019738 8.402229802999999 Calling exit ...