Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001737/0.001737, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001532/0.001532, allocations: 220.5 kB / 22.25 MB, free: 5.215 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 8.012 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.837/0.837, allocations: 134 MB / 446.4 MB, free: 10.29 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_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.002041/0.002041, allocations: 65.69 kB / 0.6186 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1681, allocations: 85.9 MB / 0.7024 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002409/0.1705, allocations: 1.305 MB / 0.7037 GB, free: 84 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1716, allocations: 0.6188 MB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.1716, allocations: 0 / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.1716, allocations: 7.938 kB / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.1717, allocations: 0 / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.1722, allocations: 155.4 kB / 0.7045 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.1723, allocations: 31.8 kB / 0.7045 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.1723, allocations: 4 kB / 0.7045 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.1723, allocations: 15.98 kB / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.1724, allocations: 15.92 kB / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1724, allocations: 0 / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005347/0.173, allocations: 351.3 kB / 0.7049 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.173, allocations: 0 / 0.7049 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.173, allocations: 19.88 kB / 0.7049 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.1733, allocations: 151.8 kB / 0.705 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1733, allocations: 0 / 0.705 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1733, allocations: 4 kB / 0.705 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.1733, allocations: 3.938 kB / 0.705 GB, free: 14.71 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.0004386/0.1737, allocations: 301.9 kB / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1738, allocations: 8.031 kB / 0.7053 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.1738, allocations: 34.75 kB / 0.7054 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.1739, allocations: 4.938 kB / 0.7054 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.174, allocations: 114.4 kB / 0.7055 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.174, allocations: 4.375 kB / 0.7055 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.174, allocations: 8.125 kB / 0.7055 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.1741, allocations: 45.69 kB / 0.7055 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1741, allocations: 4 kB / 0.7055 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1741, allocations: 7.984 kB / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1741, allocations: 0 / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.815e-05/0.1742, allocations: 27.91 kB / 0.7056 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.1744, allocations: 132.8 kB / 0.7057 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1745, allocations: 58.55 kB / 0.7058 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.1745, allocations: 28.8 kB / 0.7058 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1745, allocations: 0 / 0.7058 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1746, allocations: 34.56 kB / 0.7058 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.1746, allocations: 0 / 0.7058 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001071/0.1756, allocations: 459.4 kB / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1757, allocations: 51.41 kB / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/0.1758, allocations: 105.8 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1758, allocations: 25.7 kB / 0.7064 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.1758, allocations: 80.14 kB / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.1759, allocations: 43.67 kB / 0.7066 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.1759, allocations: 21.72 kB / 0.7066 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.176, allocations: 326.8 kB / 0.7069 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.1761, allocations: 20 kB / 0.7069 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.284e-05/0.1761, allocations: 31.61 kB / 0.7069 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1762, allocations: 52.86 kB / 0.707 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1762, allocations: 3.984 kB / 0.707 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001816/0.1764, allocations: 93.67 kB / 0.7071 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1764, allocations: 11.94 kB / 0.7071 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1764, allocations: 0 / 0.7071 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1765, allocations: 0 / 0.7071 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1766, allocations: 27.98 kB / 0.7071 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1766, allocations: 3.938 kB / 0.7071 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.1766, allocations: 0 / 0.7071 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1766, allocations: 8 kB / 0.7071 GB, free: 12.34 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 (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.86e-05/0.1767, allocations: 113.8 kB / 0.7072 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.1767, allocations: 4 kB / 0.7072 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.1769, allocations: 109.6 kB / 0.7073 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1769, allocations: 4 kB / 0.7074 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1769, allocations: 0 / 0.7074 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1769, allocations: 0 / 0.7074 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.1773, allocations: 325.5 kB / 0.7077 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1773, allocations: 4 kB / 0.7077 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1774, allocations: 16 kB / 0.7077 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1774, allocations: 0 / 0.7077 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1774, allocations: 11.98 kB / 0.7077 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1774, allocations: 0 / 0.7077 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1774, allocations: 0 / 0.7077 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.1777, allocations: 219.3 kB / 0.7079 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.1777, allocations: 4.031 kB / 0.7079 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1777, allocations: 8.062 kB / 0.7079 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.1778, allocations: 7.984 kB / 0.7079 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.1778, allocations: 11.94 kB / 0.7079 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1778, allocations: 7.969 kB / 0.7079 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.1779, allocations: 79.28 kB / 0.708 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1779, allocations: 0 / 0.708 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002627/0.1781, allocations: 35.88 kB / 0.7081 GB, free: 11.32 MB / 0.5294 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.000641/0.1788, allocations: 0.7899 MB / 0.7088 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.1789, allocations: 51.97 kB / 0.7089 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1789, allocations: 0 / 0.7089 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.179, allocations: 31.94 kB / 0.7089 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.1792, allocations: 18.33 kB / 0.7089 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.1808, allocations: 1.492 MB / 0.7104 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1811, allocations: 0.6961 MB / 0.7111 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.1812, allocations: 11.92 kB / 0.7111 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.1812, allocations: 23.38 kB / 0.7111 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1812, allocations: 0 / 0.7111 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.2112, allocations: 2.202 MB / 0.7132 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.96, allocations: 0 / 0.7132 GB, free: 6.051 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.604932117996213] Failed to read output from testmodel.py, exit status != 0: 11.06091706299776 11.07828321 10.901681439 Calling exit ...