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.001305/0.001305, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001563/0.001563, allocations: 216.6 kB / 22.25 MB, free: 5.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.473/1.473, allocations: 230.6 MB / 256 MB, free: 8 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.8248/0.8248, allocations: 134 MB / 446.4 MB, free: 10.26 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.002124/0.002124, allocations: 66.45 kB / 0.6186 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1627, allocations: 85.9 MB / 0.7024 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00272/0.1654, allocations: 1.506 MB / 0.7039 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1665, allocations: 0.6342 MB / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.1665, allocations: 4 kB / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.1666, allocations: 7.922 kB / 0.7045 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.1666, allocations: 3.938 kB / 0.7046 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.1672, allocations: 162.5 kB / 0.7047 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.686e-05/0.1673, allocations: 55.64 kB / 0.7048 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.1673, allocations: 0 / 0.7048 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.943e-05/0.1674, allocations: 27.86 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.1674, allocations: 31.86 kB / 0.7048 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1675, allocations: 4 kB / 0.7048 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005245/0.168, allocations: 347.4 kB / 0.7052 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.168, allocations: 8 kB / 0.7052 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.168, allocations: 31.84 kB / 0.7052 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1683, allocations: 175.6 kB / 0.7054 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1683, allocations: 0 / 0.7054 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1683, allocations: 0 / 0.7054 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1683, allocations: 0 / 0.7054 GB, free: 14.39 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.0006663/0.169, allocations: 333.8 kB / 0.7057 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.169, allocations: 11.97 kB / 0.7057 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.1691, allocations: 38.75 kB / 0.7057 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.1691, allocations: 4.938 kB / 0.7057 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1692, allocations: 118.4 kB / 0.7058 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1693, allocations: 4.375 kB / 0.7058 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1693, allocations: 8.125 kB / 0.7059 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.1695, allocations: 85.64 kB / 0.7059 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1696, allocations: 3.938 kB / 0.7059 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1696, allocations: 8 kB / 0.7059 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1696, allocations: 0 / 0.7059 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.1698, allocations: 55.89 kB / 0.706 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.1704, allocations: 283.8 kB / 0.7063 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.1707, allocations: 86.45 kB / 0.7064 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1708, allocations: 28.84 kB / 0.7064 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1708, allocations: 0 / 0.7064 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1708, allocations: 30.56 kB / 0.7064 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1708, allocations: 0 / 0.7064 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001602/0.1724, allocations: 0.5074 MB / 0.7069 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.1725, allocations: 55.41 kB / 0.707 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.1726, allocations: 101.8 kB / 0.7071 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1726, allocations: 29.7 kB / 0.7071 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.1726, allocations: 92.03 kB / 0.7072 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.1727, allocations: 43.64 kB / 0.7072 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.1727, allocations: 29.7 kB / 0.7072 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1729, allocations: 310.8 kB / 0.7075 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.173, allocations: 35.97 kB / 0.7076 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1732, allocations: 39.92 kB / 0.7076 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.1734, allocations: 64.83 kB / 0.7077 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1734, allocations: 4 kB / 0.7077 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003168/0.1737, allocations: 115.5 kB / 0.7078 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1737, allocations: 7.984 kB / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1737, allocations: 0 / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1738, allocations: 3.938 kB / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1739, allocations: 35.92 kB / 0.7078 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1739, allocations: 0 / 0.7078 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.174, allocations: 8 kB / 0.7078 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.174, allocations: 0 / 0.7078 GB, free: 11.61 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.327e-05/0.1741, allocations: 117.8 kB / 0.7079 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.1741, allocations: 11.95 kB / 0.708 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.1745, allocations: 130.9 kB / 0.7081 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1745, allocations: 8 kB / 0.7081 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1745, allocations: 0 / 0.7081 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1745, allocations: 3.984 kB / 0.7081 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.1751, allocations: 353.5 kB / 0.7084 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1751, allocations: 192 / 0.7084 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1752, allocations: 32.02 kB / 0.7085 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1752, allocations: 3.938 kB / 0.7085 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1753, allocations: 3.984 kB / 0.7085 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1753, allocations: 11.98 kB / 0.7085 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1753, allocations: 0 / 0.7085 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.1758, allocations: 248.4 kB / 0.7087 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.1758, allocations: 3.953 kB / 0.7087 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1758, allocations: 4.031 kB / 0.7087 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1759, allocations: 8 kB / 0.7087 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.1759, allocations: 15.98 kB / 0.7088 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.176, allocations: 0 / 0.7088 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.721e-05/0.176, allocations: 87.27 kB / 0.7088 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.176, allocations: 0 / 0.7088 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002824/0.1763, allocations: 35.88 kB / 0.7089 GB, free: 10.47 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.0009255/0.1772, allocations: 0.8167 MB / 0.7097 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.1775, allocations: 79.83 kB / 0.7097 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1775, allocations: 0 / 0.7097 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1777, allocations: 47.91 kB / 0.7098 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.1781, allocations: 10.41 kB / 0.7098 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.1805, allocations: 1.603 MB / 0.7114 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1809, allocations: 0.6961 MB / 0.712 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.845e-05/0.181, allocations: 12.75 kB / 0.7121 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.181, allocations: 23.42 kB / 0.7121 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.181, allocations: 0 / 0.7121 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.2115, allocations: 2.468 MB / 0.7145 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.21, allocations: 6.125 kB / 0.7145 GB, free: 4.754 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.897799261998443] Failed to read output from testmodel.py, exit status != 0: 11.316037071002938 11.332767669 11.161429309 Calling exit ...