Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001737/0.001737, 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.002134/0.002134, 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9796/0.9796, 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_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.002144/0.002144, allocations: 70.33 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2055, allocations: 89.17 MB / 0.7284 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002404/0.2079, allocations: 1.294 MB / 0.7296 GB, free: 24 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.209, allocations: 0.6111 MB / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.2091, allocations: 0 / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.2091, allocations: 7.938 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.334e-05/0.2091, allocations: 3.984 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.2097, allocations: 139.4 kB / 0.7304 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.223e-05/0.2097, allocations: 23.86 kB / 0.7304 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.2098, allocations: 7.984 kB / 0.7304 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.2098, allocations: 7.938 kB / 0.7304 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.2099, allocations: 8 kB / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.2099, allocations: 0 / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005614/0.2105, allocations: 351.3 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.2105, allocations: 7.938 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.2105, allocations: 4 kB / 0.7308 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.2108, allocations: 143.8 kB / 0.7309 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.2108, allocations: 3.984 kB / 0.7309 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2108, allocations: 0 / 0.7309 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.2108, allocations: 0 / 0.7309 GB, free: 14.71 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004793/0.2113, allocations: 285.9 kB / 0.7312 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2113, allocations: 12.03 kB / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.2114, allocations: 42.69 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.2114, allocations: 0.9375 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2115, allocations: 118.5 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2115, allocations: 384 / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.2115, allocations: 8.125 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.2116, allocations: 37.69 kB / 0.7314 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.2117, allocations: 0 / 0.7314 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.2117, allocations: 0 / 0.7314 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2117, allocations: 4 kB / 0.7314 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.07e-05/0.2117, allocations: 8 kB / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.2119, allocations: 140.6 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.2121, allocations: 46.55 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.2121, allocations: 20.88 kB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.2122, allocations: 0 / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.2122, allocations: 34.56 kB / 0.7316 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.2122, allocations: 0 / 0.7316 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006051/0.2128, allocations: 225.2 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.2128, allocations: 55.34 kB / 0.7319 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/0.2129, allocations: 101.8 kB / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.2129, allocations: 29.7 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.213, allocations: 80.14 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.213, allocations: 19.8 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.2131, allocations: 25.7 kB / 0.7321 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2132, allocations: 318.8 kB / 0.7324 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.2132, allocations: 8 kB / 0.7324 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.2132, allocations: 11.98 kB / 0.7325 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.151e-05/0.2133, allocations: 36.84 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2133, allocations: 3.938 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001094/0.2134, allocations: 61.69 kB / 0.7326 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2135, allocations: 4 kB / 0.7326 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2135, allocations: 3.938 kB / 0.7326 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2135, allocations: 4.516 kB / 0.7326 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.186e-05/0.2135, allocations: 12 kB / 0.7326 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2135, allocations: 4.172 kB / 0.7326 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.2136, allocations: 3.984 kB / 0.7326 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2136, allocations: 11.98 kB / 0.7326 GB, free: 12.75 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 (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 7.998e-05/0.2136, allocations: 111.8 kB / 0.7327 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.2137, allocations: 7.953 kB / 0.7327 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.2138, allocations: 73.69 kB / 0.7328 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2138, allocations: 3.984 kB / 0.7328 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2138, allocations: 0 / 0.7328 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2138, allocations: 7.984 kB / 0.7328 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.2142, allocations: 282.5 kB / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2142, allocations: 192 / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.2142, allocations: 15.94 kB / 0.7331 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2142, allocations: 4 kB / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2143, allocations: 0 / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2143, allocations: 0 / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2143, allocations: 0 / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.2145, allocations: 184.4 kB / 0.7333 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.2145, allocations: 3.953 kB / 0.7333 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.2145, allocations: 15.92 kB / 0.7333 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.2146, allocations: 0 / 0.7333 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.2146, allocations: 7.938 kB / 0.7333 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2146, allocations: 3.938 kB / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.2146, allocations: 83.27 kB / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2146, allocations: 4.062 kB / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002433/0.2149, allocations: 19.94 kB / 0.7334 GB, free: 11.85 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0005848/0.2155, allocations: 0.7288 MB / 0.7341 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.2156, allocations: 36 kB / 0.7341 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2156, allocations: 0 / 0.7341 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.31e-05/0.2156, allocations: 23.92 kB / 0.7342 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.2158, allocations: 7.938 kB / 0.7342 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2172, allocations: 1.327 MB / 0.7355 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2176, allocations: 0.6807 MB / 0.7361 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.009e-05/0.2176, allocations: 4 kB / 0.7361 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.2176, allocations: 11.44 kB / 0.7361 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2176, allocations: 0 / 0.7361 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.2474, allocations: 1.743 MB / 0.7378 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.45, allocations: 8.375 kB / 0.7378 GB, free: 7.324 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_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_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.523356993999187] Failed to read output from testmodel.py, exit status != 0: 11.551733079999394 11.575790606 11.360247601 Calling exit ...