Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001719/0.001719, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002246/0.002246, allocations: 218.9 kB / 22.25 MB, free: 5.102 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.911/2.911, allocations: 0.49 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002031/0.002031, allocations: 68.17 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2937, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002653/0.2963, allocations: 1.492 MB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2974, allocations: 0.5605 MB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.2974, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.2975, allocations: 3.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.319e-05/0.2975, allocations: 11.91 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.2981, allocations: 155.4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.18e-05/0.2982, allocations: 55.78 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.2982, allocations: 11.98 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.433e-05/0.2983, allocations: 15.94 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.2983, allocations: 31.89 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2983, allocations: 4 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.2988, allocations: 279.5 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.2988, allocations: 19.91 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.2988, allocations: 19.92 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.2991, allocations: 171.6 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2991, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2991, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2991, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 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.0005739/0.2997, allocations: 321.8 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2997, allocations: 12.03 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.2998, allocations: 38.73 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.2998, allocations: 12.89 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/0.2999, allocations: 110.5 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.2999, allocations: 8.375 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2999, allocations: 16.27 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.3002, allocations: 129.6 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3002, allocations: 7.875 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3002, allocations: 4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3002, allocations: 4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.3004, allocations: 47.95 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.301, allocations: 287.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.3012, allocations: 82.52 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3014, allocations: 28.84 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3014, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3014, allocations: 38.5 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3014, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.00163/0.303, allocations: 0.4996 MB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3031, allocations: 51.41 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/0.3032, allocations: 105.8 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3032, allocations: 29.7 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.3032, allocations: 88.09 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.3033, allocations: 39.69 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.3033, allocations: 29.83 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3035, allocations: 314.8 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3036, allocations: 39.97 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.3037, allocations: 35.86 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.304, allocations: 68.83 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.304, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003281/0.3043, allocations: 125.5 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3043, allocations: 4 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3043, allocations: 0 / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3043, allocations: 0 / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.3045, allocations: 27.98 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3045, allocations: 7.938 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.3045, allocations: 8 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3046, allocations: 3.984 kB / 1.331 GB, free: 11.86 MB / 1.029 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 8.907e-05/0.3046, allocations: 118.3 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.3047, allocations: 7.953 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.3051, allocations: 125.6 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3051, allocations: 4 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3051, allocations: 3.938 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3051, allocations: 7.984 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.3056, allocations: 353.7 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3056, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.3058, allocations: 27.98 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3058, allocations: 4.031 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3058, allocations: 3.938 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3058, allocations: 8 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3058, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.3063, allocations: 255.4 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.3063, allocations: 15.91 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3063, allocations: 3.938 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3064, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.3065, allocations: 12.17 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.3065, allocations: 4 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.3065, allocations: 83.25 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3065, allocations: 4 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002593/0.3068, allocations: 35.88 kB / 1.332 GB, free: 10.71 MB / 1.029 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.0008742/0.3077, allocations: 0.8177 MB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.308, allocations: 75.89 kB / 1.333 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.308, allocations: 0 / 1.333 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3081, allocations: 47.91 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3084, allocations: 17.41 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.3104, allocations: 1.586 MB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.3105, allocations: 83.27 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.098e-05/0.3105, allocations: 8.672 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.3106, allocations: 23.42 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3106, allocations: 7.875 kB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.3411, allocations: 2.911 MB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.54, allocations: 3.984 kB / 1.338 GB, free: 5.199 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.513803195994115] Failed to read output from testmodel.py, exit status != 0: 10.645745149988215 10.661003311 10.359022804 Calling exit ...