Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001483/0.001483, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001634/0.001634, allocations: 222.1 kB / 22.25 MB, free: 5.254 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.336/1.336, allocations: 230.6 MB / 256 MB, free: 7.785 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.93/2.93, allocations: 0.49 GB / 0.7951 GB, free: 35.4 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_DerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.001882/0.001882, allocations: 66.86 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.286, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002169/0.2882, allocations: 1.29 MB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.2891, allocations: 0.5411 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.2892, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.2892, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.368e-05/0.2892, allocations: 7.938 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.2897, allocations: 148.6 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.703e-05/0.2898, allocations: 19.92 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.2898, allocations: 8 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.2898, allocations: 11.94 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.15e-05/0.2899, allocations: 7.984 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.2899, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.2903, allocations: 275.5 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.2903, allocations: 11.94 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.2904, allocations: 15.98 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.2906, allocations: 135.7 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2906, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2906, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2906, allocations: 0 / 1.328 GB, free: 14.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003695/0.291, allocations: 286 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.291, allocations: 8.031 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.291, allocations: 34.75 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.291, allocations: 0.9375 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/0.2911, allocations: 118.5 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-06/0.2912, allocations: 4.312 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.2912, allocations: 4.375 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.2913, allocations: 67.89 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2913, allocations: 3.938 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2913, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.2913, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.2913, allocations: 8 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.2915, allocations: 128.7 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.2917, allocations: 46.61 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.2917, allocations: 20.8 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.2917, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2917, allocations: 38.64 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2917, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0005349/0.2923, allocations: 229.5 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.2923, allocations: 59.34 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.514e-05/0.2924, allocations: 97.84 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.2924, allocations: 33.69 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.2924, allocations: 80.14 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.2924, allocations: 23.8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.2925, allocations: 21.72 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2926, allocations: 318.8 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.2926, allocations: 8 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.2926, allocations: 12 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/0.2927, allocations: 36.78 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.2927, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.989e-05/0.2928, allocations: 69.62 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.2928, allocations: 4 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2928, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.2928, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/0.2929, allocations: 16.06 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.2929, allocations: 4.234 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.2929, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.2929, allocations: 0 / 1.33 GB, free: 13 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 (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.416e-05/0.293, allocations: 118.3 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.293, allocations: 11.88 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.2931, allocations: 73.73 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2931, allocations: 3.938 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2931, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2931, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.2934, allocations: 286.4 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2934, allocations: 8.031 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.2935, allocations: 8 kB / 1.33 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2935, allocations: 0 / 1.33 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2935, allocations: 7.984 kB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2935, allocations: 0 / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2935, allocations: 0 / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.2937, allocations: 180.3 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.2937, allocations: 11.94 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.2937, allocations: 4.031 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.2938, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.2938, allocations: 8.062 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.2938, allocations: 3.984 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.2939, allocations: 83.28 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.2939, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002308/0.2941, allocations: 19.94 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0005025/0.2946, allocations: 0.7406 MB / 1.331 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.558e-05/0.2947, allocations: 27.98 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2947, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.017e-05/0.2947, allocations: 19.94 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2949, allocations: 13.34 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.2961, allocations: 1.325 MB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.012e-05/0.2962, allocations: 67.41 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.2962, allocations: 4 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.2962, allocations: 11.44 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.2962, allocations: 0 / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.3243, allocations: 2.122 MB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.935/10.26, allocations: 18.89 kB / 1.335 GB, free: 7.777 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.210842641012277] Failed to read output from testmodel.py, exit status != 0: 10.35857359302463 10.373440431 10.080002515 Calling exit ...