Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001288/0.001288, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001694/0.001694, allocations: 177.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9325/0.9325, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.831/1.831, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.418e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001434/0.001448, allocations: 1.301 MB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.00226, allocations: 0.5378 MB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.002283, allocations: 0 / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.002299, allocations: 0 / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.192e-05/0.002331, allocations: 3.938 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.002722, allocations: 151.2 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.799e-05/0.00278, allocations: 31.84 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.002814, allocations: 3.938 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.908e-05/0.002863, allocations: 15.98 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.002904, allocations: 3.938 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.002918, allocations: 4 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.003183, allocations: 271.4 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.003198, allocations: 3.938 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.003214, allocations: 8 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.003393, allocations: 155.5 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.003396, allocations: 7.984 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003397, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003401, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 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.0003041/0.003705, allocations: 282 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.003739, allocations: 12.69 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.003768, allocations: 30.75 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.00379, allocations: 8.922 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.852e-05/0.003859, allocations: 109.7 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.003869, allocations: 8.375 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.003886, allocations: 4.375 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.415e-05/0.00398, allocations: 67.95 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003987, allocations: 192 / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.003993, allocations: 384 / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.003998, allocations: 4.125 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.00403, allocations: 8 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.004143, allocations: 124.8 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.004289, allocations: 46.5 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.004316, allocations: 16.86 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.004331, allocations: 4 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.004351, allocations: 38.64 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.004351, allocations: 0 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.000446/0.004797, allocations: 233.1 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.004823, allocations: 51.41 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.547e-05/0.004869, allocations: 94.33 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.00488, allocations: 37.64 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.331e-05/0.004903, allocations: 88.06 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.004924, allocations: 15.8 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.004949, allocations: 21.72 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.005018, allocations: 322.8 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.005036, allocations: 12 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.005051, allocations: 11.94 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.202e-05/0.005093, allocations: 32.84 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005095, allocations: 4.062 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.356e-05/0.005158, allocations: 61.84 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.005171, allocations: 11.98 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.005175, allocations: 0 / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.005185, allocations: 3.938 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.593e-05/0.005221, allocations: 15.94 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.005224, allocations: 0 / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.005236, allocations: 8 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.005241, allocations: 0 / 1.005 GB, free: 9.035 MB / 0.9636 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 4.504e-05/0.005286, allocations: 109.8 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.005293, allocations: 11.98 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.099e-05/0.005384, allocations: 69.8 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.005387, allocations: 7.938 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.00539, allocations: 0 / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005393, allocations: 0 / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.005618, allocations: 282.5 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.00562, allocations: 3.938 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.005659, allocations: 19.97 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.005662, allocations: 0 / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.005667, allocations: 0 / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.005669, allocations: 4 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00567, allocations: 0 / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.005785, allocations: 172.4 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.005801, allocations: 15.91 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.00581, allocations: 192 / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.284e-05/0.005853, allocations: 12 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.005865, allocations: 0 / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.00587, allocations: 8.062 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.288e-05/0.005892, allocations: 87.2 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005893, allocations: 0 / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001574/0.00605, allocations: 23.88 kB / 1.006 GB, free: 8.133 MB / 0.9636 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.000311/0.006361, allocations: 0.7288 MB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.006439, allocations: 35.92 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006441, allocations: 0 / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.006457, allocations: 12 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.006606, allocations: 11.94 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.007506, allocations: 1.305 MB / 1.008 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.007546, allocations: 63.34 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.331e-05/0.007569, allocations: 8.062 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.007598, allocations: 16.48 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.007598, allocations: 0 / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07752/0.08512, allocations: 2.267 MB / 1.01 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.367, allocations: 7.891 kB / 1.01 GB, free: 3.754 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_fmpy_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.943872286006808]