Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001341/0.001341, allocations: 108.5 kB / 17.12 MB, free: 5.926 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.001566/0.001566, allocations: 205 kB / 20.09 MB, free: 2.977 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.607/1.607, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.076/1.076, allocations: 150 MB / 459.5 MB, free: 5.301 MB / 350.1 MB " [Timeout remaining time 179] 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_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.003057/0.003057, allocations: 67.14 kB / 0.6361 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2201, allocations: 89.14 MB / 0.7232 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003083/0.2232, allocations: 1.476 MB / 0.7246 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2245, allocations: 0.6324 MB / 0.7252 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.2245, allocations: 0 / 0.7252 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.2246, allocations: 7.922 kB / 0.7252 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-05/0.2246, allocations: 7.922 kB / 0.7252 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.2254, allocations: 153.8 kB / 0.7254 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.2255, allocations: 59.83 kB / 0.7254 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.2255, allocations: 3.984 kB / 0.7255 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.2256, allocations: 27.92 kB / 0.7255 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.2257, allocations: 23.86 kB / 0.7255 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.2257, allocations: 4 kB / 0.7255 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006178/0.2263, allocations: 351.2 kB / 0.7258 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.2263, allocations: 11.98 kB / 0.7259 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.2264, allocations: 27.86 kB / 0.7259 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.2268, allocations: 179.6 kB / 0.7261 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2268, allocations: 4 kB / 0.7261 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2268, allocations: 0 / 0.7261 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.2268, allocations: 4 kB / 0.7261 GB, free: 1.062 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.0007144/0.2275, allocations: 398.9 kB / 0.7264 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2276, allocations: 8.031 kB / 0.7264 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.2276, allocations: 34.75 kB / 0.7265 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.2276, allocations: 16.81 kB / 0.7265 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.2278, allocations: 168.3 kB / 0.7267 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.2278, allocations: 12.36 kB / 0.7267 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.2279, allocations: 12.08 kB / 0.7267 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.2281, allocations: 77.66 kB / 0.7268 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2282, allocations: 0 / 0.7268 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2282, allocations: 4 kB / 0.7268 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2282, allocations: 4 kB / 0.7268 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.2284, allocations: 47.95 kB / 0.7268 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007566/0.2292, allocations: 328.6 kB / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.2295, allocations: 78.53 kB / 0.7272 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.2296, allocations: 28.83 kB / 0.7272 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.2297, allocations: 4.141 kB / 0.7272 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.2297, allocations: 38.56 kB / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.2297, allocations: 0 / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.002095/0.2318, allocations: 0.6422 MB / 0.7279 GB, free: 14.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.2319, allocations: 59.41 kB / 0.7279 GB, free: 14.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.232, allocations: 97.84 kB / 0.728 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.232, allocations: 29.7 kB / 0.7281 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.2321, allocations: 92.08 kB / 0.7282 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.2321, allocations: 43.73 kB / 0.7282 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.2322, allocations: 29.64 kB / 0.7282 GB, free: 14.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2324, allocations: 322.8 kB / 0.7285 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.2325, allocations: 31.98 kB / 0.7286 GB, free: 14.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.2327, allocations: 35.97 kB / 0.7286 GB, free: 14.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.233, allocations: 75.58 kB / 0.7287 GB, free: 14.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.233, allocations: 0 / 0.7287 GB, free: 14.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003708/0.2333, allocations: 113.7 kB / 0.7288 GB, free: 13.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2334, allocations: 8 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2334, allocations: 0 / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.2334, allocations: 7.938 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.2336, allocations: 23.98 kB / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2336, allocations: 0 / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.2336, allocations: 8 kB / 0.7288 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.2337, allocations: 7.984 kB / 0.7288 GB, free: 13.9 MB / 0.545 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.0001186/0.2338, allocations: 117.7 kB / 0.7289 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.2338, allocations: 8.141 kB / 0.729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/0.2344, allocations: 144.9 kB / 0.7291 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2344, allocations: 0 / 0.7291 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2344, allocations: 3.984 kB / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2344, allocations: 0 / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007715/0.2352, allocations: 382.4 kB / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.2352, allocations: 0 / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.2353, allocations: 31.98 kB / 0.7295 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.2354, allocations: 3.984 kB / 0.7295 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2354, allocations: 0 / 0.7295 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.2354, allocations: 4 kB / 0.7295 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2354, allocations: 0 / 0.7295 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/0.236, allocations: 255.2 kB / 0.7297 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.2361, allocations: 81.12 kB / 0.7298 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.2361, allocations: 8.031 kB / 0.7298 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.2362, allocations: 11.98 kB / 0.7298 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.2362, allocations: 4 kB / 0.7298 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2362, allocations: 0 / 0.7298 GB, free: 12.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.2363, allocations: 83.27 kB / 0.7299 GB, free: 12.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2363, allocations: 0 / 0.7299 GB, free: 12.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000309/0.2366, allocations: 39.88 kB / 0.73 GB, free: 12.63 MB / 0.545 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.001124/0.2377, allocations: 0.8253 MB / 0.7308 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.2381, allocations: 71.95 kB / 0.7308 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2381, allocations: 0 / 0.7308 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.2383, allocations: 51.97 kB / 0.7309 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.2387, allocations: 11.5 kB / 0.7309 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.2414, allocations: 1.6 MB / 0.7325 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.2418, allocations: 0.6924 MB / 0.7331 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.033e-05/0.2418, allocations: 12.59 kB / 0.7331 GB, free: 9.238 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.2419, allocations: 27.42 kB / 0.7332 GB, free: 9.211 MB / 0.545 GB Notification: Performance of SimCode: time 1.363e-06/0.2419, allocations: 4 kB / 0.7332 GB, free: 9.207 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.2737, allocations: 2.328 MB / 0.7354 GB, free: 7.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/8.739, allocations: 29.47 kB / 0.7355 GB, free: 7.047 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.949770734179765] Failed to read output from testmodel.py, exit status != 0: 8.813941287109628 8.839220782 8.607253284 Calling exit ...