Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.2 MB / 303.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 177.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009067/0.0009066, allocations: 93.67 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006279/0.0006284, allocations: 11.94 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2925, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001399/0.294, allocations: 0.9941 MB / 0.9804 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007188/0.2947, allocations: 352.1 kB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.2948, allocations: 0 / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.2948, allocations: 3.984 kB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.2949, allocations: 3.984 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.2954, allocations: 81.39 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.2954, allocations: 11.98 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.988e-05/0.2955, allocations: 0 / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.2956, allocations: 19.92 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.2956, allocations: 15.97 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.2957, allocations: 4 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.296, allocations: 179.7 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.296, allocations: 4 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.296, allocations: 33.62 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.2962, allocations: 60.16 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2962, allocations: 4 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2962, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2962, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 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.000376/0.2966, allocations: 343.3 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.2967, allocations: 12.02 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.2967, allocations: 38.55 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.2967, allocations: 0 / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/0.2969, allocations: 171 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2969, allocations: 0 / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.2969, allocations: 8 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.297, allocations: 53.61 kB / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2971, allocations: 7.938 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2971, allocations: 0 / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2971, allocations: 0 / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.2972, allocations: 19.98 kB / 0.9818 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.2973, allocations: 181.4 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.2974, allocations: 58.56 kB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2975, allocations: 3.984 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2975, allocations: 38.5 kB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2975, allocations: 0 / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001137/0.2987, allocations: 0.5802 MB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.2987, allocations: 55.41 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.2988, allocations: 101.8 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.2988, allocations: 25.7 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.2988, allocations: 84.12 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.2989, allocations: 39.41 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.2989, allocations: 0 / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.299, allocations: 326.9 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.299, allocations: 23.98 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.299, allocations: 20 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.2991, allocations: 22.25 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2991, allocations: 0 / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001337/0.2992, allocations: 105.5 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2993, allocations: 8 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.2993, allocations: 0 / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2993, allocations: 0 / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.2994, allocations: 19.98 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2994, allocations: 0 / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.2994, allocations: 8 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2995, allocations: 0 / 0.9834 GB, free: 23.22 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.702e-05/0.2995, allocations: 121.8 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.2996, allocations: 4.094 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.2998, allocations: 109.4 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2998, allocations: 0 / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2998, allocations: 4 kB / 0.9837 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2998, allocations: 0 / 0.9837 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.3002, allocations: 358.4 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3002, allocations: 0 / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.3003, allocations: 24 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3003, allocations: 0 / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3003, allocations: 3.984 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3003, allocations: 0 / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3003, allocations: 0 / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.3006, allocations: 223.7 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.3006, allocations: 81.02 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3006, allocations: 0 / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.3007, allocations: 12.02 kB / 0.9843 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.3008, allocations: 4 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3008, allocations: 4 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.386e-05/0.3008, allocations: 75.28 kB / 0.9844 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3008, allocations: 0 / 0.9844 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002704/0.3011, allocations: 39.98 kB / 0.9845 GB, free: 22.07 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004952/0.3016, allocations: 0.7867 MB / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.3017, allocations: 55.98 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3017, allocations: 0 / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.3018, allocations: 39.86 kB / 0.9853 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.3019, allocations: 0 / 0.9853 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009285/0.3029, allocations: 0.6613 MB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.303, allocations: 0.6927 MB / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.84e-05/0.3031, allocations: 11.94 kB / 0.9867 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.3031, allocations: 19.42 kB / 0.9867 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.3031, allocations: 0 / 0.9867 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.3169, allocations: 1.808 MB / 0.9884 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.3171, allocations: 234.6 kB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/1.894, allocations: 3.938 kB / 0.9887 GB, free: 17.87 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)