Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 1.642/1.642, allocations: 287.4 MB / 302.5 MB, free: 8.281 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.0009858/0.0009858, allocations: 183 kB / 371.1 MB, free: 10.84 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.441/1.441, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.000702/0.0007019, allocations: 93.17 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 11.31 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.186, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001052/0.1871, allocations: 1.002 MB / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007059/0.1878, allocations: 0.5649 MB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.1879, allocations: 4 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.1879, allocations: 0 / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.36e-05/0.188, allocations: 0 / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.1884, allocations: 128.6 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.1885, allocations: 31.84 kB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.1885, allocations: 0 / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.653e-05/0.1886, allocations: 16 kB / 0.9804 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.1886, allocations: 15.92 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1887, allocations: 0 / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.189, allocations: 339.3 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.1891, allocations: 3.984 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.1891, allocations: 33.7 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1892, allocations: 104 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1893, allocations: 0 / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1893, allocations: 3.938 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1893, allocations: 0 / 0.9809 GB, free: 25.86 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.0003046/0.1896, allocations: 359.5 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1896, allocations: 8.031 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.1897, allocations: 38.75 kB / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.1897, allocations: 4.922 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.1898, allocations: 168.3 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1898, allocations: 384 / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1898, allocations: 4.375 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1899, allocations: 50.25 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1899, allocations: 3.938 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.19, allocations: 4 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.19, allocations: 0 / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.826e-05/0.19, allocations: 23.92 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.1902, allocations: 181.5 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.516e-05/0.1903, allocations: 58.55 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.1903, allocations: 28.84 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1903, allocations: 0 / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.1904, allocations: 38.56 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1904, allocations: 0 / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0009173/0.1913, allocations: 0.5917 MB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.1913, allocations: 55.34 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.103e-05/0.1914, allocations: 101.9 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.1914, allocations: 25.7 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.434e-05/0.1914, allocations: 80.14 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.1914, allocations: 39.45 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/0.1915, allocations: 4 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.1915, allocations: 318.8 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.1915, allocations: 16 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.1916, allocations: 24.11 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/0.1917, allocations: 54.61 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1917, allocations: 0 / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001164/0.1918, allocations: 111 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1918, allocations: 4 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1918, allocations: 4 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1918, allocations: 0 / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.1919, allocations: 19.98 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1919, allocations: 0 / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.192, allocations: 8 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.192, allocations: 0 / 0.9833 GB, free: 23.15 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 5.372e-05/0.192, allocations: 121.8 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.1921, allocations: 11.88 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.1922, allocations: 101.6 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1922, allocations: 0 / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1922, allocations: 0 / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1922, allocations: 4 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.1925, allocations: 358.5 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1926, allocations: 7.938 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.749e-05/0.1927, allocations: 16 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1927, allocations: 4 kB / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1927, allocations: 3.984 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1927, allocations: 3.938 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1927, allocations: 0 / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.1929, allocations: 215.4 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.1929, allocations: 85.02 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1929, allocations: 8.062 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.123e-05/0.193, allocations: 8.016 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.193, allocations: 4 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.193, allocations: 0 / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.789e-05/0.1931, allocations: 87.27 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1931, allocations: 0 / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002222/0.1933, allocations: 32 kB / 0.9843 GB, free: 22 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.0003983/0.1937, allocations: 0.787 MB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.1938, allocations: 59.97 kB / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1938, allocations: 0 / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.1939, allocations: 39.92 kB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1941, allocations: 4 kB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007618/0.1949, allocations: 0.6554 MB / 0.9858 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.195, allocations: 0.6848 MB / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.515e-05/0.1951, allocations: 16.05 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.1951, allocations: 15.44 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1951, allocations: 0 / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.2067, allocations: 1.798 MB / 0.9882 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/0.2069, allocations: 234 kB / 0.9885 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.769, allocations: 3.938 kB / 0.9885 GB, free: 17.8 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)