Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001362/0.001362, allocations: 119.1 kB / 17.13 MB, free: 5.941 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.001693/0.001693, allocations: 212.3 kB / 20.09 MB, free: 2.992 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.559/1.559, 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.021/1.021, allocations: 150 MB / 459.5 MB, free: 5.336 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_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.002221/0.002221, allocations: 72.17 kB / 0.6361 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.182, allocations: 89.14 MB / 0.7232 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002467/0.1845, allocations: 1.279 MB / 0.7244 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1856, allocations: 0.621 MB / 0.725 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.1857, allocations: 0 / 0.725 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.1857, allocations: 7.938 kB / 0.725 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.1857, allocations: 3.938 kB / 0.725 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.1863, allocations: 151.4 kB / 0.7252 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.1864, allocations: 31.84 kB / 0.7252 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.1865, allocations: 4 kB / 0.7252 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.1865, allocations: 8 kB / 0.7252 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.1866, allocations: 15.92 kB / 0.7252 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.1866, allocations: 0 / 0.7252 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/0.1871, allocations: 347.3 kB / 0.7256 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.1871, allocations: 4 kB / 0.7256 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.1872, allocations: 23.91 kB / 0.7256 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1874, allocations: 143.8 kB / 0.7257 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1874, allocations: 0 / 0.7257 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1874, allocations: 0 / 0.7257 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1874, allocations: 0 / 0.7257 GB, free: 1.441 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004683/0.1879, allocations: 379 kB / 0.7261 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1879, allocations: 8.031 kB / 0.7261 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.188, allocations: 42.73 kB / 0.7261 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.188, allocations: 0.9375 kB / 0.7261 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1881, allocations: 168.4 kB / 0.7263 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1881, allocations: 384 / 0.7263 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1882, allocations: 12.08 kB / 0.7263 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1883, allocations: 53.67 kB / 0.7264 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1883, allocations: 0 / 0.7264 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1883, allocations: 11.91 kB / 0.7264 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1883, allocations: 0 / 0.7264 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.1884, allocations: 19.98 kB / 0.7264 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.1886, allocations: 173.6 kB / 0.7266 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1887, allocations: 62.5 kB / 0.7266 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.1887, allocations: 32.78 kB / 0.7267 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1888, allocations: 0 / 0.7267 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1888, allocations: 34.5 kB / 0.7267 GB, free: 300 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.1888, allocations: 4 kB / 0.7267 GB, free: 296 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001206/0.19, allocations: 0.5764 MB / 0.7273 GB, free: 15.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.19, allocations: 55.41 kB / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.1901, allocations: 89.86 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1901, allocations: 33.7 kB / 0.7274 GB, free: 15.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.1902, allocations: 80.14 kB / 0.7275 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.1902, allocations: 47.7 kB / 0.7275 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.1903, allocations: 29.7 kB / 0.7276 GB, free: 15.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1904, allocations: 322.8 kB / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.1905, allocations: 19.98 kB / 0.7279 GB, free: 14.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.412e-05/0.1905, allocations: 26.61 kB / 0.7279 GB, free: 14.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.763e-05/0.1906, allocations: 48.86 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1906, allocations: 0 / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001648/0.1908, allocations: 101.6 kB / 0.7281 GB, free: 14.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1908, allocations: 8 kB / 0.7281 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1908, allocations: 7.984 kB / 0.7281 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1908, allocations: 0 / 0.7281 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1909, allocations: 16 kB / 0.7281 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1909, allocations: 4 kB / 0.7281 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/0.191, allocations: 11.94 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.191, allocations: 4 kB / 0.7281 GB, free: 14.68 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 (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 prepare postOptimizeDAE: time 8.798e-05/0.1911, allocations: 121.7 kB / 0.7282 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.1911, allocations: 4 kB / 0.7282 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.1913, allocations: 101.6 kB / 0.7283 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1913, allocations: 4 kB / 0.7283 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1913, allocations: 0 / 0.7283 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1913, allocations: 3.984 kB / 0.7283 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.1917, allocations: 354.4 kB / 0.7287 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1917, allocations: 4 kB / 0.7287 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1918, allocations: 19.98 kB / 0.7287 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1918, allocations: 0 / 0.7287 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1919, allocations: 96 / 0.7287 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1919, allocations: 7.938 kB / 0.7287 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1919, allocations: 4 kB / 0.7287 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1921, allocations: 221.7 kB / 0.7289 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.1922, allocations: 85.09 kB / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.1922, allocations: 4 kB / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.1923, allocations: 0 / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.1923, allocations: 11.92 kB / 0.729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1923, allocations: 11.98 kB / 0.729 GB, free: 13.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.1924, allocations: 83.34 kB / 0.7291 GB, free: 13.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1924, allocations: 0 / 0.7291 GB, free: 13.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002735/0.1927, allocations: 39.86 kB / 0.7292 GB, free: 13.51 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (11): * Single equations (assignments): 11 * 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.0007166/0.1934, allocations: 0.7781 MB / 0.7299 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1935, allocations: 55.98 kB / 0.73 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1935, allocations: 4.156 kB / 0.73 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.182e-05/0.1936, allocations: 35.92 kB / 0.73 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.1938, allocations: 3.938 kB / 0.73 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.1954, allocations: 1.504 MB / 0.7315 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1958, allocations: 0.6807 MB / 0.7321 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.098e-05/0.1958, allocations: 20.03 kB / 0.7322 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.1959, allocations: 23.38 kB / 0.7322 GB, free: 10.28 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1959, allocations: 0 / 0.7322 GB, free: 10.28 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.2241, allocations: 2.082 MB / 0.7342 GB, free: 8.387 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.364/8.588, allocations: 6.125 kB / 0.7342 GB, free: 8.383 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_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_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.667935690144077] Failed to read output from testmodel.py, exit status != 0: 8.659326364984736 8.680497213 8.49003278 Calling exit ...