Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001351/0.001351, allocations: 108.7 kB / 16.45 MB, free: 6.508 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.001416/0.001416, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8936/0.8936, allocations: 134 MB / 442.8 MB, free: 11.32 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001982/0.001982, allocations: 74.38 kB / 0.6134 GB, free: 8.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1818, allocations: 85.84 MB / 0.6973 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002763/0.1846, allocations: 1.296 MB / 0.6985 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1857, allocations: 0.6115 MB / 0.6991 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.1858, allocations: 0 / 0.6991 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.1858, allocations: 0 / 0.6991 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.1858, allocations: 7.938 kB / 0.6991 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.1865, allocations: 139.4 kB / 0.6993 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.463e-05/0.1866, allocations: 23.91 kB / 0.6993 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.1867, allocations: 8 kB / 0.6993 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.17e-05/0.1867, allocations: 7.938 kB / 0.6993 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.1868, allocations: 7.984 kB / 0.6993 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1868, allocations: 7.938 kB / 0.6993 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.1873, allocations: 343.3 kB / 0.6996 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.1874, allocations: 4 kB / 0.6996 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.1874, allocations: 3.938 kB / 0.6997 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.1877, allocations: 151.8 kB / 0.6998 GB, free: 356 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1877, allocations: 0 / 0.6998 GB, free: 356 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1877, allocations: 0 / 0.6998 GB, free: 356 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.1877, allocations: 4 kB / 0.6998 GB, free: 352 kB / 0.5137 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.0005192/0.1882, allocations: 371 kB / 0.7002 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1882, allocations: 9.109 kB / 0.7002 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.1883, allocations: 38.73 kB / 0.7002 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.1883, allocations: 0.9375 kB / 0.7002 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1885, allocations: 164.3 kB / 0.7004 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1885, allocations: 4.375 kB / 0.7004 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1885, allocations: 4.125 kB / 0.7004 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1886, allocations: 41.69 kB / 0.7004 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1886, allocations: 4 kB / 0.7004 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1886, allocations: 3.938 kB / 0.7004 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1886, allocations: 0 / 0.7004 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.1887, allocations: 15.94 kB / 0.7004 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.1889, allocations: 153.7 kB / 0.7006 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.1891, allocations: 42.7 kB / 0.7006 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/0.1891, allocations: 24.78 kB / 0.7006 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1892, allocations: 7.984 kB / 0.7006 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1892, allocations: 30.56 kB / 0.7007 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1892, allocations: 0 / 0.7007 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007334/0.1899, allocations: 310.3 kB / 0.701 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.19, allocations: 55.41 kB / 0.701 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.1901, allocations: 93.86 kB / 0.7011 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1901, allocations: 29.7 kB / 0.7011 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.1901, allocations: 80.14 kB / 0.7012 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1902, allocations: 27.78 kB / 0.7012 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.1902, allocations: 17.72 kB / 0.7013 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1903, allocations: 314.8 kB / 0.7016 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.1904, allocations: 11.98 kB / 0.7016 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-05/0.1904, allocations: 12 kB / 0.7016 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.847e-05/0.1905, allocations: 36.98 kB / 0.7016 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1905, allocations: 3.938 kB / 0.7016 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001184/0.1906, allocations: 73.58 kB / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1906, allocations: 8 kB / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1906, allocations: 3.938 kB / 0.7017 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1906, allocations: 0 / 0.7017 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.007e-05/0.1907, allocations: 11.98 kB / 0.7017 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1907, allocations: 0 / 0.7017 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.1907, allocations: 8 kB / 0.7017 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1907, allocations: 0 / 0.7017 GB, free: 14.09 MB / 0.5294 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 8.861e-05/0.1908, allocations: 109.8 kB / 0.7018 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.1908, allocations: 8 kB / 0.7018 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.191, allocations: 77.58 kB / 0.7019 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.191, allocations: 0 / 0.7019 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.191, allocations: 4 kB / 0.7019 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.191, allocations: 0 / 0.7019 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.1914, allocations: 311.4 kB / 0.7022 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1914, allocations: 192 / 0.7022 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.1915, allocations: 15.98 kB / 0.7022 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1915, allocations: 8.031 kB / 0.7022 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.1915, allocations: 0 / 0.7022 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1915, allocations: 0 / 0.7022 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1915, allocations: 0 / 0.7022 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1917, allocations: 188.2 kB / 0.7024 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.1918, allocations: 81.09 kB / 0.7025 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1918, allocations: 8.031 kB / 0.7025 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.1919, allocations: 4.062 kB / 0.7025 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.1919, allocations: 7.984 kB / 0.7025 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.1919, allocations: 3.938 kB / 0.7025 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.1919, allocations: 79.8 kB / 0.7026 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.1919, allocations: 0 / 0.7026 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002739/0.1922, allocations: 27.88 kB / 0.7026 GB, free: 13.06 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0006304/0.1928, allocations: 0.7366 MB / 0.7033 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.193, allocations: 31.98 kB / 0.7034 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.193, allocations: 0 / 0.7034 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.193, allocations: 19.94 kB / 0.7034 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.1932, allocations: 7.344 kB / 0.7034 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.1948, allocations: 1.325 MB / 0.7047 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1951, allocations: 0.6883 MB / 0.7054 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.1951, allocations: 8.312 kB / 0.7054 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.1952, allocations: 15.42 kB / 0.7054 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of SimCode: time 9.81e-07/0.1952, allocations: 0 / 0.7054 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.2221, allocations: 1.621 MB / 0.707 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.377, allocations: 1.375 kB / 0.707 GB, free: 8.648 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.026219350009342] Failed to read output from testmodel.py, exit status != 0: 8.446430748997955 8.469800582 8.277749097 Calling exit ...