Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.0008675/0.0008675, allocations: 98.11 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.005349/0.00535, allocations: 169 kB / 16.26 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.276/1.276, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.616/1.616, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004916/0.0004917, allocations: 18.53 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1876, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001149/0.1887, allocations: 1.013 MB / 0.789 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.1897, allocations: 0.6123 MB / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.1897, allocations: 0 / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.1897, allocations: 3.938 kB / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.518e-05/0.1898, allocations: 3.938 kB / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.1902, allocations: 127.6 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.042e-05/0.1902, allocations: 11.94 kB / 0.7897 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.1903, allocations: 7.984 kB / 0.7897 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.1903, allocations: 12 kB / 0.7898 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.1904, allocations: 11.92 kB / 0.7898 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.1904, allocations: 0 / 0.7898 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.1908, allocations: 339.3 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.1908, allocations: 7.984 kB / 0.7901 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.1909, allocations: 41.62 kB / 0.7901 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1911, allocations: 143.9 kB / 0.7903 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1911, allocations: 0 / 0.7903 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1911, allocations: 0 / 0.7903 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.1911, allocations: 3.938 kB / 0.7903 GB, free: 9.098 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000335/0.1914, allocations: 363.4 kB / 0.7906 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1915, allocations: 12.03 kB / 0.7906 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.1915, allocations: 30.75 kB / 0.7907 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2e-05/0.1915, allocations: 0.9375 kB / 0.7907 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.377e-05/0.1916, allocations: 164.4 kB / 0.7908 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.1917, allocations: 384 / 0.7908 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1917, allocations: 384 / 0.7908 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.263e-05/0.1918, allocations: 46.19 kB / 0.7909 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1918, allocations: 3.938 kB / 0.7909 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.1918, allocations: 4 kB / 0.7909 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1918, allocations: 3.984 kB / 0.7909 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.1919, allocations: 15.98 kB / 0.7909 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.192, allocations: 157.7 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1922, allocations: 42.56 kB / 0.7911 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.1922, allocations: 16.86 kB / 0.7911 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1922, allocations: 4 kB / 0.7911 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1922, allocations: 42.58 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1923, allocations: 0 / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005286/0.1928, allocations: 314 kB / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.1928, allocations: 59.34 kB / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.1929, allocations: 93.86 kB / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1929, allocations: 25.7 kB / 0.7916 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.1929, allocations: 92.12 kB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.193, allocations: 11.81 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.193, allocations: 17.72 kB / 0.7917 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.1931, allocations: 314.8 kB / 0.792 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.1931, allocations: 12 kB / 0.792 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.1931, allocations: 8 kB / 0.792 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.606e-05/0.1932, allocations: 36.78 kB / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.1932, allocations: 0 / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.935e-05/0.1933, allocations: 69.55 kB / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1933, allocations: 7.984 kB / 0.7922 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1933, allocations: 4 kB / 0.7922 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.1933, allocations: 4 kB / 0.7922 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.1934, allocations: 8 kB / 0.7922 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1934, allocations: 0 / 0.7922 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.1934, allocations: 0 / 0.7922 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1934, allocations: 7.938 kB / 0.7922 GB, free: 6.863 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 (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 6.32e-05/0.1935, allocations: 109.8 kB / 0.7923 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.1935, allocations: 11.88 kB / 0.7923 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.1936, allocations: 77.58 kB / 0.7924 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1937, allocations: 0 / 0.7924 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1937, allocations: 0 / 0.7924 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1937, allocations: 0 / 0.7924 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.194, allocations: 319.3 kB / 0.7927 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.194, allocations: 0 / 0.7927 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.194, allocations: 11.98 kB / 0.7927 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.194, allocations: 0 / 0.7927 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.194, allocations: 8 kB / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1941, allocations: 4.031 kB / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1941, allocations: 0 / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.1942, allocations: 192.9 kB / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.1943, allocations: 77.11 kB / 0.793 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.1943, allocations: 0 / 0.793 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.1944, allocations: 4 kB / 0.793 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.1944, allocations: 7.922 kB / 0.793 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1944, allocations: 16.05 kB / 0.793 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.8e-05/0.1944, allocations: 79.28 kB / 0.7931 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1944, allocations: 0 / 0.7931 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002241/0.1947, allocations: 16 kB / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0004211/0.1951, allocations: 0.7405 MB / 0.7938 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.918e-05/0.1952, allocations: 32.22 kB / 0.7938 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1952, allocations: 0 / 0.7938 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.1952, allocations: 15.94 kB / 0.7938 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1955, allocations: 11.98 kB / 0.7939 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1965, allocations: 1.356 MB / 0.7952 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.1967, allocations: 0.6731 MB / 0.7958 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.1967, allocations: 15.89 kB / 0.7958 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.1968, allocations: 11.44 kB / 0.7959 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1968, allocations: 0 / 0.7959 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/0.3228, allocations: 1.402 MB / 0.7972 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.3231, allocations: 255.7 kB / 0.7975 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.147, allocations: 3.234 kB / 0.7975 GB, free: 1.371 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)