Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001097/0.001097, allocations: 80.52 kB / 19.95 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.0007797/0.0007797, allocations: 173.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.9099/0.9099, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.922/1.922, allocations: 389.5 MB / 0.6343 GB, free: 12.61 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_DerivativeCheck2,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.819e-05, allocations: 2.281 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001845/0.001863, allocations: 1.49 MB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000816/0.002679, allocations: 0.5534 MB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.002712, allocations: 0 / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.002739, allocations: 7.938 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.002787, allocations: 15.84 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.003223, allocations: 170.3 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.487e-05/0.003298, allocations: 43.86 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.003345, allocations: 7.984 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.00342, allocations: 27.97 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.003456, allocations: 27.89 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.003472, allocations: 8 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.003738, allocations: 267.4 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.003756, allocations: 11.98 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.003784, allocations: 27.91 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.004013, allocations: 187.4 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.004015, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.173e-06/0.004016, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.004021, allocations: 0 / 1.003 GB, free: 10.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006314/0.004652, allocations: 325.8 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.004691, allocations: 12.75 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.004728, allocations: 38.75 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.004761, allocations: 8.891 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.434e-05/0.004835, allocations: 109.7 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.004857, allocations: 4.312 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.004879, allocations: 12.36 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.005064, allocations: 129.6 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.005074, allocations: 192 / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.005085, allocations: 4.375 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.00509, allocations: 4.125 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.005214, allocations: 51.95 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.005625, allocations: 291.7 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.005794, allocations: 74.53 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.005855, allocations: 28.84 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.005873, allocations: 7.922 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.005898, allocations: 46.5 kB / 1.005 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005899, allocations: 0 / 1.005 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0009895/0.006888, allocations: 499.7 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.006918, allocations: 59.39 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.006977, allocations: 101.8 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.00699, allocations: 29.7 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.007028, allocations: 92.17 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.007056, allocations: 39.58 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.007092, allocations: 29.7 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.007168, allocations: 326.8 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.007241, allocations: 27.98 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-05/0.007305, allocations: 31.97 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.007439, allocations: 83.83 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.00744, allocations: 0 / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001697/0.00761, allocations: 113.5 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.007624, allocations: 8 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007628, allocations: 4 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.00764, allocations: 0 / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.007727, allocations: 27.98 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.007732, allocations: 0 / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.007763, allocations: 11.98 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.00777, allocations: 4 kB / 1.006 GB, free: 7.859 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 (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 6.486e-05/0.007835, allocations: 125.7 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.007851, allocations: 11.89 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.008067, allocations: 117.8 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.008071, allocations: 7.984 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.008076, allocations: 0 / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.008079, allocations: 0 / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.008434, allocations: 357.5 kB / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.008435, allocations: 0 / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.008513, allocations: 23.98 kB / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.008516, allocations: 0 / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.008523, allocations: 0 / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.008525, allocations: 0 / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.008527, allocations: 7.922 kB / 1.007 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.008805, allocations: 255.3 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.008812, allocations: 8.016 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.008824, allocations: 4.031 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.863e-05/0.008883, allocations: 8 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.008903, allocations: 15.86 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.008908, allocations: 0 / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.969e-05/0.008937, allocations: 87.27 kB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008938, allocations: 0 / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001886/0.009126, allocations: 35.88 kB / 1.007 GB, free: 6.73 MB / 0.9636 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.0005225/0.009649, allocations: 0.8181 MB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.009826, allocations: 71.95 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009828, allocations: 0 / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.791e-05/0.009896, allocations: 47.91 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.01011, allocations: 14.98 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.01145, allocations: 1.561 MB / 1.009 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.543e-05/0.0115, allocations: 75.33 kB / 1.009 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.192e-05/0.01155, allocations: 16.72 kB / 1.01 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.01159, allocations: 28.44 kB / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of SimCode: time 6.91e-07/0.01159, allocations: 0 / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08034/0.09193, allocations: 3.004 MB / 1.012 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.633, allocations: 5.375 kB / 1.012 GB, free: 1.191 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_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_DerivativeCheck2.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.297381410375237]