Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001465, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.112/2.112, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 19.12 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5775, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002637/0.5802, allocations: 0.9938 MB / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.5814, allocations: 352.3 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.5815, allocations: 0 / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.5816, allocations: 0 / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.5816, allocations: 7.938 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006559/0.5823, allocations: 71.77 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.5824, allocations: 23.97 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.5826, allocations: 3.984 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.5826, allocations: 8 kB / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.5828, allocations: 19.92 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.5828, allocations: 0 / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000637/0.5835, allocations: 183.7 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.5835, allocations: 11.97 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.5836, allocations: 29.7 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.5839, allocations: 52.16 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5839, allocations: 0 / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.17e-06/0.5839, allocations: 0 / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.5839, allocations: 0 / 0.7889 GB, free: 10.12 MB / 0.6075 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.0006891/0.5846, allocations: 347.3 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.845e-05/0.5847, allocations: 16.02 kB / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.5848, allocations: 38.5 kB / 0.7893 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.5849, allocations: 4 kB / 0.7893 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.585, allocations: 163 kB / 0.7895 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.5851, allocations: 4 kB / 0.7895 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.5851, allocations: 4 kB / 0.7895 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.5853, allocations: 49.69 kB / 0.7895 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.5854, allocations: 3.984 kB / 0.7895 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.5854, allocations: 0 / 0.7895 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.5854, allocations: 8 kB / 0.7895 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.152e-05/0.5855, allocations: 15.98 kB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.5858, allocations: 177.4 kB / 0.7897 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.586, allocations: 54.56 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.586, allocations: 7.938 kB / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.5861, allocations: 38.56 kB / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.807e-06/0.5861, allocations: 4 kB / 0.7898 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001651/0.5877, allocations: 0.5762 MB / 0.7904 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.5878, allocations: 55.41 kB / 0.7904 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.5879, allocations: 97.84 kB / 0.7905 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.588, allocations: 29.83 kB / 0.7906 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.588, allocations: 96.02 kB / 0.7907 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.5881, allocations: 43.38 kB / 0.7907 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.5881, allocations: 0 / 0.7907 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5883, allocations: 318.8 kB / 0.791 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.254e-05/0.5884, allocations: 23.98 kB / 0.791 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.5884, allocations: 21 kB / 0.791 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.024e-05/0.5885, allocations: 28.48 kB / 0.7911 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5885, allocations: 0 / 0.7911 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002272/0.5888, allocations: 101.3 kB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.5888, allocations: 4 kB / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5888, allocations: 0 / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.5889, allocations: 0 / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.5891, allocations: 27.92 kB / 0.7912 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5891, allocations: 0 / 0.7912 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.03e-05/0.5891, allocations: 4 kB / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.5892, allocations: 4 kB / 0.7912 GB, free: 7.484 MB / 0.6075 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 0.0001412/0.5893, allocations: 117.8 kB / 0.7913 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.5893, allocations: 4 kB / 0.7913 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.5897, allocations: 117.6 kB / 0.7914 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.5897, allocations: 0 / 0.7914 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5897, allocations: 0 / 0.7914 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.5897, allocations: 0 / 0.7914 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.5904, allocations: 350.5 kB / 0.7918 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5904, allocations: 0 / 0.7918 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.5906, allocations: 23.92 kB / 0.7918 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5907, allocations: 96 / 0.7918 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.5907, allocations: 11.94 kB / 0.7918 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.5907, allocations: 0 / 0.7918 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5907, allocations: 0 / 0.7918 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.5912, allocations: 219.7 kB / 0.792 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.5912, allocations: 85.05 kB / 0.7921 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.5913, allocations: 7.984 kB / 0.7921 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.5914, allocations: 0 / 0.7921 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.5915, allocations: 8.062 kB / 0.7921 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.5915, allocations: 7.984 kB / 0.7921 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.081e-05/0.5916, allocations: 83.28 kB / 0.7922 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5916, allocations: 0 / 0.7922 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005362/0.5922, allocations: 32 kB / 0.7922 GB, free: 6.328 MB / 0.6075 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.001127/0.5933, allocations: 0.7866 MB / 0.793 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.5936, allocations: 59.91 kB / 0.7931 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5936, allocations: 0 / 0.7931 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.5937, allocations: 35.94 kB / 0.7931 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.5941, allocations: 7.938 kB / 0.7931 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.5959, allocations: 0.6458 MB / 0.7937 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.5963, allocations: 0.6887 MB / 0.7944 GB, free: 4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.986e-05/0.5964, allocations: 4.062 kB / 0.7944 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.5965, allocations: 27.42 kB / 0.7944 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/0.5965, allocations: 0 / 0.7944 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.6297, allocations: 1.794 MB / 0.7962 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000416/0.6302, allocations: 222.4 kB / 0.7964 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.403/6.033, allocations: 0 / 0.7964 GB, free: 2.137 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: