Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001373/0.001373, allocations: 111 kB / 16.46 MB, free: 6.453 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.001356/0.001356, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.411/1.411, allocations: 230.6 MB / 252.8 MB, free: 8.949 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 3.105/3.105, allocations: 0.49 GB / 0.7916 GB, free: 33.5 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_dp_DerivativeCheck2,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.002006/0.002006, allocations: 68.55 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 176.1 MB / 1.321 GB, free: 3.199 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002391/0.3165, allocations: 1.31 MB / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3175, allocations: 0.6154 MB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.3176, allocations: 0 / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.3176, allocations: 3.938 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.577e-05/0.3176, allocations: 0 / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.3181, allocations: 159.3 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.89e-05/0.3182, allocations: 35.8 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.3183, allocations: 0 / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.3183, allocations: 15.98 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.3183, allocations: 7.938 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3184, allocations: 0 / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004925/0.3188, allocations: 343.4 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.3189, allocations: 11.92 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.3189, allocations: 19.92 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.3191, allocations: 143.8 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3191, allocations: 0 / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3192, allocations: 4 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3192, allocations: 0 / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004601/0.3196, allocations: 375 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.3197, allocations: 11.98 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/0.3197, allocations: 42.69 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.3197, allocations: 0.9375 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3199, allocations: 164.4 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.3199, allocations: 4.312 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.3199, allocations: 12.38 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3201, allocations: 58.22 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3201, allocations: 7.891 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3201, allocations: 4 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3201, allocations: 0 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.3202, allocations: 23.92 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.3203, allocations: 161.6 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3205, allocations: 54.56 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.3205, allocations: 32.84 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3205, allocations: 0 / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3206, allocations: 38.56 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.3206, allocations: 0 / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001201/0.3218, allocations: 0.5801 MB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.3218, allocations: 59.34 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.3219, allocations: 101.8 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3219, allocations: 25.7 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.3219, allocations: 80.14 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.322, allocations: 47.58 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.322, allocations: 25.72 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3222, allocations: 323 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.3222, allocations: 20 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.144e-05/0.3223, allocations: 21.73 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.797e-05/0.3224, allocations: 52.86 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3224, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001592/0.3225, allocations: 106.6 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3225, allocations: 8 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3225, allocations: 3.938 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3226, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3227, allocations: 23.98 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3227, allocations: 4.094 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.3227, allocations: 7.875 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3227, allocations: 4 kB / 1.326 GB, free: 13.77 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.536e-05/0.3228, allocations: 109.8 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.3228, allocations: 7.938 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.323, allocations: 109.6 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.323, allocations: 4 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.323, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3231, allocations: 4 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.3235, allocations: 362.3 kB / 1.326 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3235, allocations: 4 kB / 1.326 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.3236, allocations: 16 kB / 1.326 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3237, allocations: 3.984 kB / 1.326 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3237, allocations: 8 kB / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3237, allocations: 0 / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3237, allocations: 0 / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.324, allocations: 215.4 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.324, allocations: 85.09 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.324, allocations: 0 / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.879e-05/0.3241, allocations: 11.92 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.3241, allocations: 4 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.3241, allocations: 4 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.3242, allocations: 83.27 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3242, allocations: 0 / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002779/0.3245, allocations: 36.03 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0006716/0.3251, allocations: 0.7869 MB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.3253, allocations: 63.84 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3253, allocations: 0 / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.3253, allocations: 31.92 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3256, allocations: 13.89 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3271, allocations: 1.494 MB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3274, allocations: 0.6855 MB / 1.33 GB, free: 9.406 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.956e-05/0.3275, allocations: 19.86 kB / 1.33 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.3275, allocations: 23.38 kB / 1.33 GB, free: 9.363 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3275, allocations: 3.938 kB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.3563, allocations: 2.08 MB / 1.332 GB, free: 7.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.304, allocations: 11.83 kB / 1.332 GB, free: 7.453 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.531912096077576] Failed to read output from testmodel.py, exit status != 0: 8.371726718032733 8.391352862 8.068604251 Calling exit ...