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.001915/0.001915, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002499/0.002499, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.781 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.8835/0.8835, allocations: 134 MB / 446.4 MB, free: 9.957 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.002072/0.002072, allocations: 69.17 kB / 0.6185 GB, free: 6.918 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.2, allocations: 85.92 MB / 0.7024 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003232/0.2032, allocations: 1.278 MB / 0.7036 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2043, allocations: 0.5487 MB / 0.7042 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.2043, allocations: 0 / 0.7042 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.2044, allocations: 0 / 0.7042 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.2044, allocations: 3.938 kB / 0.7042 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.205, allocations: 155.4 kB / 0.7043 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.775e-05/0.205, allocations: 15.94 kB / 0.7043 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.2051, allocations: 8 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.2051, allocations: 11.92 kB / 0.7044 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.2052, allocations: 0 / 0.7044 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2052, allocations: 4 kB / 0.7044 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004382/0.2056, allocations: 271.5 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.2056, allocations: 4 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.2057, allocations: 3.938 kB / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.2059, allocations: 143.8 kB / 0.7048 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2059, allocations: 4 kB / 0.7048 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2059, allocations: 0 / 0.7048 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2059, allocations: 0 / 0.7048 GB, free: 14.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004458/0.2064, allocations: 293.8 kB / 0.705 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2064, allocations: 12.03 kB / 0.7051 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.2065, allocations: 34.75 kB / 0.7051 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.2065, allocations: 0.9375 kB / 0.7051 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.2066, allocations: 110.5 kB / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.2066, allocations: 384 / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.2067, allocations: 8.125 kB / 0.7052 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.2068, allocations: 75.31 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2068, allocations: 0 / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2068, allocations: 0 / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2068, allocations: 4 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.2069, allocations: 11.98 kB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.2071, allocations: 128.8 kB / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.2072, allocations: 42.56 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.2073, allocations: 20.73 kB / 0.7055 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.2073, allocations: 7.938 kB / 0.7055 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2073, allocations: 30.56 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2073, allocations: 4 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006678/0.208, allocations: 237.2 kB / 0.7057 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.208, allocations: 51.41 kB / 0.7058 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.2081, allocations: 93.86 kB / 0.7059 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2081, allocations: 25.7 kB / 0.7059 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.2082, allocations: 84.14 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.2082, allocations: 19.84 kB / 0.706 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.2083, allocations: 17.72 kB / 0.706 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2084, allocations: 318.8 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.2085, allocations: 7.984 kB / 0.7063 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.2085, allocations: 19.98 kB / 0.7064 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.2085, allocations: 36.8 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.2086, allocations: 4 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001047/0.2087, allocations: 69.64 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2087, allocations: 4 kB / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2087, allocations: 0 / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2087, allocations: 0 / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.2088, allocations: 15.98 kB / 0.7065 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2088, allocations: 0 / 0.7065 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.2088, allocations: 4 kB / 0.7065 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.2088, allocations: 4 kB / 0.7065 GB, free: 12.65 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 9.244e-05/0.2089, allocations: 117.7 kB / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.2089, allocations: 4 kB / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.209, allocations: 73.97 kB / 0.7067 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.209, allocations: 0 / 0.7067 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.209, allocations: 4.453 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2091, allocations: 0 / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.2094, allocations: 286.4 kB / 0.7069 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2094, allocations: 0 / 0.7069 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.2095, allocations: 8 kB / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.2095, allocations: 8.031 kB / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.2095, allocations: 0 / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2095, allocations: 0 / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2095, allocations: 7.922 kB / 0.707 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.2097, allocations: 192.2 kB / 0.7072 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.2097, allocations: 4.031 kB / 0.7072 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2098, allocations: 7.984 kB / 0.7072 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.2098, allocations: 192 / 0.7072 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.2098, allocations: 8 kB / 0.7072 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2099, allocations: 7.938 kB / 0.7072 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.2099, allocations: 79.27 kB / 0.7073 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2099, allocations: 4.062 kB / 0.7073 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002465/0.2102, allocations: 27.88 kB / 0.7073 GB, free: 11.73 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.0005908/0.2107, allocations: 0.7288 MB / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.2108, allocations: 28 kB / 0.708 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2109, allocations: 0 / 0.708 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.531e-05/0.2109, allocations: 23.92 kB / 0.708 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.2111, allocations: 10.34 kB / 0.7081 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2124, allocations: 1.319 MB / 0.7093 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.074e-05/0.2125, allocations: 67.2 kB / 0.7094 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.2125, allocations: 8.062 kB / 0.7094 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.2126, allocations: 11.44 kB / 0.7094 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.2126, allocations: 96 / 0.7094 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.2437, allocations: 2.091 MB / 0.7115 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.37, allocations: 2.406 kB / 0.7115 GB, free: 7.488 MB / 0.5294 GB " [Timeout remaining time 649] (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: 15.148883991874754] Failed to read output from testmodel.py, exit status != 0: 11.468851062003523 11.487388039 11.278085857 Calling exit ...