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.001291/0.001291, 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.00142/0.00142, allocations: 219.4 kB / 23 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.023 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 0.9675/0.9675, allocations: 150 MB / 463.2 MB, free: 10.52 MB / 366.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.002026/0.002026, allocations: 66.52 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1993, allocations: 89.17 MB / 0.7284 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002785/0.2021, allocations: 1.487 MB / 0.7298 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2033, allocations: 0.6344 MB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.2033, allocations: 3.938 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.2033, allocations: 3.938 kB / 0.7304 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.2034, allocations: 7.938 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.204, allocations: 159.4 kB / 0.7306 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2041, allocations: 51.84 kB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.2041, allocations: 4 kB / 0.7307 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.044e-05/0.2042, allocations: 27.91 kB / 0.7307 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.2043, allocations: 23.86 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.2043, allocations: 4 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.2048, allocations: 351.3 kB / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.2048, allocations: 8 kB / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.2049, allocations: 31.84 kB / 0.7311 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.2052, allocations: 175.6 kB / 0.7312 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2052, allocations: 4 kB / 0.7312 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2052, allocations: 0 / 0.7312 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2052, allocations: 0 / 0.7312 GB, free: 14.36 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006439/0.2059, allocations: 321.8 kB / 0.7316 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.2059, allocations: 8.031 kB / 0.7316 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.206, allocations: 38.75 kB / 0.7316 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.206, allocations: 12.88 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2061, allocations: 110.5 kB / 0.7317 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.2061, allocations: 4.375 kB / 0.7317 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.2062, allocations: 20.08 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.2064, allocations: 81.59 kB / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2065, allocations: 0 / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2065, allocations: 0 / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2065, allocations: 3.938 kB / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.2067, allocations: 47.95 kB / 0.7319 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.2073, allocations: 303.7 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.2076, allocations: 82.52 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.2077, allocations: 28.84 kB / 0.7323 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.2078, allocations: 0 / 0.7323 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.2078, allocations: 34.56 kB / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2078, allocations: 0 / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001701/0.2095, allocations: 0.5034 MB / 0.7328 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.2096, allocations: 59.34 kB / 0.7328 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.2096, allocations: 101.8 kB / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2097, allocations: 25.7 kB / 0.733 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.2097, allocations: 96.09 kB / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.2098, allocations: 39.67 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.2098, allocations: 29.7 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.21, allocations: 314.8 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2101, allocations: 35.97 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.2102, allocations: 31.98 kB / 0.7335 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.2105, allocations: 66.83 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2105, allocations: 4 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003263/0.2108, allocations: 129.7 kB / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2108, allocations: 4 kB / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2108, allocations: 0 / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.2109, allocations: 3.938 kB / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.211, allocations: 31.98 kB / 0.7337 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.211, allocations: 0 / 0.7337 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.2111, allocations: 4 kB / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2111, allocations: 3.984 kB / 0.7337 GB, free: 11.58 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 9.265e-05/0.2112, allocations: 115.8 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.2112, allocations: 11.95 kB / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.2116, allocations: 137.1 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2116, allocations: 4 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2116, allocations: 0 / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2116, allocations: 3.984 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.2122, allocations: 357.5 kB / 0.7343 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2122, allocations: 4 kB / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.2124, allocations: 23.98 kB / 0.7344 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2124, allocations: 0 / 0.7344 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2124, allocations: 3.984 kB / 0.7344 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.2124, allocations: 4 kB / 0.7344 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2124, allocations: 4 kB / 0.7344 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.2129, allocations: 255.4 kB / 0.7346 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.2129, allocations: 7.891 kB / 0.7346 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.213, allocations: 8.031 kB / 0.7346 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.2131, allocations: 4 kB / 0.7346 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.2131, allocations: 8.172 kB / 0.7346 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2131, allocations: 7.922 kB / 0.7346 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.989e-05/0.2132, allocations: 87.27 kB / 0.7347 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.2132, allocations: 0 / 0.7347 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002875/0.2135, allocations: 39.88 kB / 0.7348 GB, free: 10.43 MB / 0.5606 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.0009577/0.2144, allocations: 0.8193 MB / 0.7356 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.2147, allocations: 79.89 kB / 0.7356 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2147, allocations: 4.062 kB / 0.7356 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.2149, allocations: 39.91 kB / 0.7357 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.2152, allocations: 8.078 kB / 0.7357 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.2175, allocations: 1.612 MB / 0.7373 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.2178, allocations: 0.6924 MB / 0.7379 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.543e-05/0.2179, allocations: 12.67 kB / 0.738 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.2179, allocations: 23.42 kB / 0.738 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2179, allocations: 0 / 0.738 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.2498, allocations: 2.465 MB / 0.7404 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.4, allocations: 15.52 kB / 0.7404 GB, free: 4.73 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.313544044001901] Failed to read output from testmodel.py, exit status != 0: 11.503714246002346 11.532540652 11.32197998 Calling exit ...