Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.0009022/0.0009023, 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.005599/0.005599, allocations: 169.4 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.261/1.261, 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.612/1.612, 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.0004629/0.0004629, allocations: 19.69 kB / 0.6744 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1842, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00111/0.1854, allocations: 1.005 MB / 0.789 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008531/0.1862, allocations: 0.6084 MB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.281e-05/0.1862, allocations: 4 kB / 0.7896 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.07e-05/0.1863, allocations: 4 kB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.516e-05/0.1863, allocations: 3.938 kB / 0.7896 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.1867, allocations: 127.6 kB / 0.7897 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.046e-05/0.1867, allocations: 15.88 kB / 0.7897 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.1868, allocations: 0 / 0.7897 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.1868, allocations: 11.98 kB / 0.7897 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.1868, allocations: 7.938 kB / 0.7897 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.1869, allocations: 4 kB / 0.7898 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004199/0.1873, allocations: 347.3 kB / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.1873, allocations: 0 / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.1873, allocations: 41.62 kB / 0.7901 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1876, allocations: 147.9 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1876, allocations: 0 / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1876, allocations: 0 / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1876, allocations: 0 / 0.7903 GB, free: 9.113 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.0003028/0.1879, allocations: 363.4 kB / 0.7906 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1879, allocations: 8.031 kB / 0.7906 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.684e-05/0.188, allocations: 34.75 kB / 0.7907 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.984e-05/0.188, allocations: 4.938 kB / 0.7907 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.527e-05/0.1881, allocations: 160.4 kB / 0.7908 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.1881, allocations: 4.312 kB / 0.7908 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1881, allocations: 4.375 kB / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.182e-05/0.1882, allocations: 38.25 kB / 0.7909 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1882, allocations: 3.938 kB / 0.7909 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.1882, allocations: 4 kB / 0.7909 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1882, allocations: 0 / 0.7909 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.1883, allocations: 15.92 kB / 0.7909 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.1884, allocations: 161.7 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1885, allocations: 42.56 kB / 0.7911 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.1886, allocations: 16.86 kB / 0.7911 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1886, allocations: 0 / 0.7911 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.1886, allocations: 30.56 kB / 0.7911 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.344e-06/0.1886, allocations: 4 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004911/0.1891, allocations: 326.4 kB / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.1892, allocations: 51.41 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.23e-05/0.1892, allocations: 93.86 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1892, allocations: 29.7 kB / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.1893, allocations: 80.14 kB / 0.7917 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1893, allocations: 15.8 kB / 0.7917 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.1893, allocations: 17.66 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.1894, allocations: 314.8 kB / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.1894, allocations: 15.98 kB / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.096e-05/0.1895, allocations: 15.98 kB / 0.792 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.79e-05/0.1895, allocations: 32.84 kB / 0.7921 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1895, allocations: 0 / 0.7921 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.004e-05/0.1896, allocations: 73.47 kB / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.1896, allocations: 8 kB / 0.7921 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.1896, allocations: 0 / 0.7921 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.1897, allocations: 0 / 0.7921 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.558e-05/0.1897, allocations: 15.98 kB / 0.7922 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1897, allocations: 4 kB / 0.7922 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.1897, allocations: 0 / 0.7922 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.1898, allocations: 0 / 0.7922 GB, free: 6.883 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.126e-05/0.1898, allocations: 114.5 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.1898, allocations: 3.938 kB / 0.7923 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.19, allocations: 81.58 kB / 0.7924 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.19, allocations: 4 kB / 0.7924 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.19, allocations: 4 kB / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.19, allocations: 0 / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.1902, allocations: 315.4 kB / 0.7927 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1903, allocations: 3.938 kB / 0.7927 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.1903, allocations: 15.98 kB / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1903, allocations: 0 / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.1903, allocations: 0 / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1903, allocations: 0 / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1903, allocations: 4 kB / 0.7927 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.1905, allocations: 184.2 kB / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.1906, allocations: 85.12 kB / 0.7929 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.1906, allocations: 0 / 0.7929 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.326e-05/0.1906, allocations: 0 / 0.7929 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.1907, allocations: 11.98 kB / 0.793 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1907, allocations: 0 / 0.793 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.318e-05/0.1907, allocations: 83.34 kB / 0.793 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1907, allocations: 0 / 0.793 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002247/0.1909, allocations: 20 kB / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0003943/0.1913, allocations: 0.7443 MB / 0.7938 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.1914, allocations: 36.3 kB / 0.7938 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1914, allocations: 0 / 0.7938 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.637e-05/0.1915, allocations: 23.94 kB / 0.7938 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.1917, allocations: 0 / 0.7938 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.1926, allocations: 1.34 MB / 0.7951 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.1929, allocations: 0.6848 MB / 0.7958 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.1929, allocations: 15.95 kB / 0.7958 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.1929, allocations: 11.44 kB / 0.7958 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.1929, allocations: 4 kB / 0.7958 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.58/1.773, allocations: 1.388 MB / 0.7972 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/1.773, allocations: 251.3 kB / 0.7974 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/4.27, allocations: 0 / 0.7974 GB, free: 1.402 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)