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.0007374/0.0007377, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004424/0.004424, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.4 MB / 222.4 MB, free: 5.57 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 1.628/1.628, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.000495/0.000495, allocations: 15.66 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1873, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00111/0.1884, allocations: 1.017 MB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008781/0.1893, allocations: 0.624 MB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.238e-05/0.1893, allocations: 0 / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.1894, allocations: 0 / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.72e-05/0.1894, allocations: 7.875 kB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.1898, allocations: 134.8 kB / 0.7897 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.145e-05/0.1898, allocations: 27.92 kB / 0.7898 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.012e-05/0.1899, allocations: 0 / 0.7898 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.1899, allocations: 12 kB / 0.7898 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.1899, allocations: 19.91 kB / 0.7898 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.19, allocations: 0 / 0.7898 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.1904, allocations: 343.3 kB / 0.7901 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.1904, allocations: 7.969 kB / 0.7901 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.1905, allocations: 45.58 kB / 0.7902 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1907, allocations: 147.9 kB / 0.7903 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1907, allocations: 0 / 0.7903 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1907, allocations: 7.938 kB / 0.7903 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.1907, allocations: 0 / 0.7903 GB, free: 9.078 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.0003151/0.191, allocations: 359.4 kB / 0.7907 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1911, allocations: 12.03 kB / 0.7907 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.1911, allocations: 30.75 kB / 0.7907 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.1911, allocations: 4.938 kB / 0.7907 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.884e-05/0.1912, allocations: 168.3 kB / 0.7909 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1912, allocations: 4.359 kB / 0.7909 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.1913, allocations: 12.31 kB / 0.7909 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.446e-05/0.1914, allocations: 54.23 kB / 0.7909 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1914, allocations: 3.938 kB / 0.7909 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1914, allocations: 0 / 0.7909 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1914, allocations: 0 / 0.7909 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.1914, allocations: 19.98 kB / 0.791 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.1916, allocations: 165.6 kB / 0.7911 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.597e-05/0.1917, allocations: 62.5 kB / 0.7912 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.1917, allocations: 32.84 kB / 0.7912 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1918, allocations: 3.938 kB / 0.7912 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1918, allocations: 30.56 kB / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1918, allocations: 0 / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0009744/0.1928, allocations: 0.5956 MB / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.1928, allocations: 51.41 kB / 0.7919 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.1929, allocations: 101.8 kB / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1929, allocations: 25.7 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/0.1929, allocations: 80.14 kB / 0.7921 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.193, allocations: 35.47 kB / 0.7921 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.193, allocations: 17.7 kB / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.1931, allocations: 319 kB / 0.7924 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/0.1931, allocations: 23.98 kB / 0.7924 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.1932, allocations: 23.98 kB / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.323e-05/0.1933, allocations: 60.8 kB / 0.7925 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1933, allocations: 0 / 0.7925 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001348/0.1934, allocations: 97.03 kB / 0.7926 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1934, allocations: 15.92 kB / 0.7926 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1934, allocations: 0 / 0.7926 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.904e-06/0.1935, allocations: 0 / 0.7926 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.1935, allocations: 20 kB / 0.7927 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1936, allocations: 7.938 kB / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.1936, allocations: 4 kB / 0.7927 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1936, allocations: 3.984 kB / 0.7927 GB, free: 6.352 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/0.1937, allocations: 113.8 kB / 0.7928 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.1937, allocations: 7.938 kB / 0.7928 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.1939, allocations: 97.73 kB / 0.7929 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1939, allocations: 7.938 kB / 0.7929 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1939, allocations: 4 kB / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1939, allocations: 11.91 kB / 0.7929 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.1942, allocations: 354.4 kB / 0.7932 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1943, allocations: 3.984 kB / 0.7932 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.652e-05/0.1944, allocations: 20 kB / 0.7933 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1944, allocations: 0 / 0.7933 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1944, allocations: 4 kB / 0.7933 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1944, allocations: 7.938 kB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1944, allocations: 0 / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.1946, allocations: 215.4 kB / 0.7935 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.1946, allocations: 89.05 kB / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1947, allocations: 0 / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.1947, allocations: 0 / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1948, allocations: 7.984 kB / 0.7936 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1948, allocations: 8 kB / 0.7936 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.1948, allocations: 75.28 kB / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1948, allocations: 160 / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002509/0.1951, allocations: 47.98 kB / 0.7937 GB, free: 5.188 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 (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.0005012/0.1956, allocations: 0.7787 MB / 0.7945 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1957, allocations: 60.47 kB / 0.7945 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1957, allocations: 4 kB / 0.7945 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.1958, allocations: 32.05 kB / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.196, allocations: 8.219 kB / 0.7946 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1972, allocations: 1.551 MB / 0.7961 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.1974, allocations: 0.6848 MB / 0.7967 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.188e-05/0.1975, allocations: 11.98 kB / 0.7968 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.1975, allocations: 26.23 kB / 0.7968 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.1975, allocations: 0 / 0.7968 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7506/0.9481, allocations: 1.845 MB / 0.7986 GB, free: 264 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.9484, allocations: 244 kB / 0.7988 GB, free: 4 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.735, allocations: 4 kB / 0.7988 GB, free: 0 / 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/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)