Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001908/0.001908, allocations: 105.5 kB / 16.45 MB, free: 6.453 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.002128/0.002128, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.8345/0.8345, allocations: 133.9 MB / 442.8 MB, free: 11.3 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_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.001965/0.001965, allocations: 65.31 kB / 0.6134 GB, free: 8.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1683, allocations: 85.85 MB / 0.6973 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00284/0.1712, allocations: 1.497 MB / 0.6987 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1723, allocations: 0.6266 MB / 0.6993 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.1723, allocations: 0 / 0.6993 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.1724, allocations: 7.938 kB / 0.6993 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.1724, allocations: 11.91 kB / 0.6994 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.1731, allocations: 161.9 kB / 0.6995 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.1732, allocations: 55.58 kB / 0.6996 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.1732, allocations: 4 kB / 0.6996 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.1733, allocations: 27.92 kB / 0.6996 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.1733, allocations: 27.84 kB / 0.6996 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1734, allocations: 4 kB / 0.6996 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/0.1739, allocations: 343.3 kB / 0.7 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.1739, allocations: 19.97 kB / 0.7 GB, free: 184 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.1739, allocations: 19.88 kB / 0.7 GB, free: 164 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.1743, allocations: 183.8 kB / 0.7002 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1743, allocations: 0 / 0.7002 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1743, allocations: 4 kB / 0.7002 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1743, allocations: 0 / 0.7002 GB, free: 15.97 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006806/0.175, allocations: 402.9 kB / 0.7006 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.175, allocations: 9.109 kB / 0.7006 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.175, allocations: 38.75 kB / 0.7006 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.1751, allocations: 4.938 kB / 0.7006 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.1752, allocations: 176.2 kB / 0.7008 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.1752, allocations: 8.375 kB / 0.7008 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1753, allocations: 16.11 kB / 0.7008 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.1755, allocations: 85.53 kB / 0.7009 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1755, allocations: 0 / 0.7009 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1756, allocations: 0 / 0.7009 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1756, allocations: 4 kB / 0.7009 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.1758, allocations: 51.95 kB / 0.7009 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.1764, allocations: 324.7 kB / 0.7012 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.1767, allocations: 74.53 kB / 0.7013 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1768, allocations: 28.84 kB / 0.7013 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1769, allocations: 0 / 0.7013 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1769, allocations: 34.56 kB / 0.7014 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1769, allocations: 3.938 kB / 0.7014 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001775/0.1787, allocations: 0.6485 MB / 0.702 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1787, allocations: 55.41 kB / 0.7021 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/0.1788, allocations: 101.8 kB / 0.7022 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1788, allocations: 29.7 kB / 0.7022 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.1789, allocations: 88.09 kB / 0.7023 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.1789, allocations: 51.58 kB / 0.7023 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.179, allocations: 29.7 kB / 0.7023 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1791, allocations: 314.8 kB / 0.7026 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1792, allocations: 31.97 kB / 0.7027 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1794, allocations: 39.97 kB / 0.7027 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.1796, allocations: 67.97 kB / 0.7028 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1796, allocations: 4 kB / 0.7028 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003371/0.18, allocations: 121.7 kB / 0.7029 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.18, allocations: 4 kB / 0.7029 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.18, allocations: 0 / 0.7029 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.18, allocations: 7.938 kB / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1802, allocations: 23.98 kB / 0.7029 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1802, allocations: 0 / 0.7029 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.1803, allocations: 8 kB / 0.7029 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1803, allocations: 12.08 kB / 0.703 GB, free: 12.8 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 9.109e-05/0.1804, allocations: 117.7 kB / 0.7031 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.1804, allocations: 7.953 kB / 0.7031 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.1808, allocations: 133.5 kB / 0.7032 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1808, allocations: 0 / 0.7032 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1808, allocations: 0 / 0.7032 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1808, allocations: 3.984 kB / 0.7032 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.1814, allocations: 394.4 kB / 0.7036 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1815, allocations: 0 / 0.7036 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.1816, allocations: 23.98 kB / 0.7036 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1816, allocations: 0 / 0.7036 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1816, allocations: 3.984 kB / 0.7036 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1816, allocations: 4 kB / 0.7036 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1816, allocations: 0 / 0.7036 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.1822, allocations: 257.5 kB / 0.7039 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.1822, allocations: 81.06 kB / 0.7039 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1822, allocations: 4.031 kB / 0.7039 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.1824, allocations: 15.92 kB / 0.704 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.1824, allocations: 4 kB / 0.704 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.1824, allocations: 0 / 0.704 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.1824, allocations: 87.33 kB / 0.704 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1824, allocations: 4 kB / 0.704 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002855/0.1827, allocations: 35.88 kB / 0.7041 GB, free: 11.54 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0009587/0.1837, allocations: 0.8098 MB / 0.7049 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.184, allocations: 83.95 kB / 0.705 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.184, allocations: 0 / 0.705 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1842, allocations: 43.91 kB / 0.705 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1845, allocations: 8.75 kB / 0.705 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.1868, allocations: 1.598 MB / 0.7066 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1871, allocations: 0.7037 MB / 0.7072 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.532e-05/0.1872, allocations: 16.61 kB / 0.7073 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.1872, allocations: 23.42 kB / 0.7073 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1872, allocations: 0 / 0.7073 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.2234, allocations: 2.339 MB / 0.7096 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.43, allocations: 15.69 kB / 0.7096 GB, free: 5.957 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.064503457993851] Failed to read output from testmodel.py, exit status != 0: 8.500118798998301 8.524644826 8.345995913 Calling exit ...