Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001807/0.001807, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001664/0.001664, allocations: 224 kB / 23.01 MB, free: 5.004 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.047/1.047, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003065/0.003065, allocations: 66.69 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2196, allocations: 89.17 MB / 0.7284 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002737/0.2223, allocations: 1.298 MB / 0.7296 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2235, allocations: 0.6111 MB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.2235, allocations: 3.938 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.2236, allocations: 0 / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.2236, allocations: 19.86 kB / 0.7302 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.2242, allocations: 147.4 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.255e-05/0.2243, allocations: 27.91 kB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.2243, allocations: 4 kB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.2244, allocations: 11.94 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.2245, allocations: 19.92 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2245, allocations: 0 / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.225, allocations: 343.3 kB / 0.7308 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.225, allocations: 11.98 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.2251, allocations: 11.94 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.2253, allocations: 155.8 kB / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2253, allocations: 0 / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2253, allocations: 0 / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2254, allocations: 0 / 0.7309 GB, free: 14.56 MB / 0.5606 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.0004725/0.2258, allocations: 297.9 kB / 0.7312 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2259, allocations: 8.031 kB / 0.7312 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.2259, allocations: 34.75 kB / 0.7313 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.2259, allocations: 0.9375 kB / 0.7313 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.2261, allocations: 110.5 kB / 0.7314 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2261, allocations: 4.375 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.2261, allocations: 8.125 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.2263, allocations: 53.67 kB / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.2263, allocations: 11.83 kB / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2263, allocations: 0 / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2263, allocations: 0 / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/0.2264, allocations: 19.98 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.2266, allocations: 140.7 kB / 0.7316 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.2267, allocations: 54.56 kB / 0.7317 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.2267, allocations: 32.78 kB / 0.7317 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.2268, allocations: 0 / 0.7317 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.2268, allocations: 38.5 kB / 0.7317 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.2268, allocations: 0 / 0.7317 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001254/0.2281, allocations: 443.6 kB / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2281, allocations: 51.41 kB / 0.7322 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.2282, allocations: 93.86 kB / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2282, allocations: 33.78 kB / 0.7323 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.2283, allocations: 84.2 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.2283, allocations: 43.66 kB / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.2284, allocations: 29.7 kB / 0.7325 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.2285, allocations: 318.8 kB / 0.7328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.2286, allocations: 23.98 kB / 0.7328 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.287e-05/0.2286, allocations: 27.48 kB / 0.7328 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.526e-05/0.2287, allocations: 48.86 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.2287, allocations: 4 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001552/0.2289, allocations: 105.6 kB / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2289, allocations: 8 kB / 0.733 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2289, allocations: 0 / 0.733 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2289, allocations: 4 kB / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.229, allocations: 16 kB / 0.733 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.229, allocations: 4.297 kB / 0.733 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.2291, allocations: 4 kB / 0.733 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2291, allocations: 4 kB / 0.733 GB, free: 12.21 MB / 0.5606 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 0.0001076/0.2292, allocations: 127.6 kB / 0.7331 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.2292, allocations: 4 kB / 0.7331 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.2294, allocations: 109 kB / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2294, allocations: 0 / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2294, allocations: 3.984 kB / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2294, allocations: 3.984 kB / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.2298, allocations: 329.5 kB / 0.7336 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2298, allocations: 3.984 kB / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.23, allocations: 23.94 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.23, allocations: 0 / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.23, allocations: 0 / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.23, allocations: 0 / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.23, allocations: 4 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.2302, allocations: 219.4 kB / 0.7338 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.2302, allocations: 3.953 kB / 0.7338 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.2303, allocations: 8.031 kB / 0.7338 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.2303, allocations: 0 / 0.7338 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.381e-05/0.2304, allocations: 11.92 kB / 0.7338 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.2304, allocations: 8 kB / 0.7338 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.2304, allocations: 79.34 kB / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2304, allocations: 0 / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002774/0.2307, allocations: 39.86 kB / 0.734 GB, free: 11.17 MB / 0.5606 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.0007831/0.2315, allocations: 0.7747 MB / 0.7347 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.2317, allocations: 60.08 kB / 0.7348 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2317, allocations: 3.938 kB / 0.7348 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.583e-05/0.2318, allocations: 35.92 kB / 0.7348 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.232, allocations: 6.047 kB / 0.7348 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.2336, allocations: 1.501 MB / 0.7363 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2339, allocations: 0.6855 MB / 0.7369 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.961e-05/0.234, allocations: 16.05 kB / 0.737 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.234, allocations: 23.42 kB / 0.737 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.234, allocations: 0 / 0.737 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.2672, allocations: 2.196 MB / 0.7391 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.61, allocations: 10.06 kB / 0.7391 GB, free: 5.91 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.684159614997043] Failed to read output from testmodel.py, exit status != 0: 11.71829750300094 11.745967828 11.51514491 Calling exit ...