Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.756/1.756, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.0009895/0.0009895, allocations: 183.2 kB / 372 MB, free: 10.26 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.331/1.331, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0007243/0.0007243, allocations: 90.36 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 10.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1781, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001275/0.1794, allocations: 1.179 MB / 0.9808 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000739/0.1801, allocations: 0.5775 MB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.1802, allocations: 0 / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.1802, allocations: 11.92 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.1803, allocations: 4 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.1807, allocations: 132.9 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.791e-05/0.1808, allocations: 51.59 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.1809, allocations: 4 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.1809, allocations: 15.98 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.283e-05/0.181, allocations: 35.84 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.181, allocations: 4 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.1814, allocations: 335.4 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.1815, allocations: 11.92 kB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.1815, allocations: 37.7 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1817, allocations: 116 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1817, allocations: 0 / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1817, allocations: 3.938 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1817, allocations: 0 / 0.9821 GB, free: 25.04 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005106/0.1822, allocations: 391.2 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1823, allocations: 19.95 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.1823, allocations: 34.56 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.1823, allocations: 7.906 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.1824, allocations: 175 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.1825, allocations: 0 / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1825, allocations: 12 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.1827, allocations: 83.78 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1828, allocations: 0 / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1828, allocations: 4 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1828, allocations: 0 / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.183, allocations: 63.89 kB / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.1835, allocations: 328.7 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.1837, allocations: 90.47 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1839, allocations: 36.83 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1839, allocations: 0 / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.1839, allocations: 34.56 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1839, allocations: 4 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.00149/0.1854, allocations: 0.6735 MB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.1854, allocations: 51.41 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.304e-05/0.1855, allocations: 105.9 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1855, allocations: 29.7 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.1855, allocations: 88.03 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.1856, allocations: 39.45 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.1856, allocations: 4 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.1856, allocations: 314.8 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1858, allocations: 31.97 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1859, allocations: 43.92 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.186, allocations: 35.98 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.186, allocations: 0 / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002878/0.1863, allocations: 131.2 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1863, allocations: 11.88 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1864, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1864, allocations: 3.953 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1865, allocations: 31.97 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1865, allocations: 3.938 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.1866, allocations: 8 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1866, allocations: 4 kB / 0.9849 GB, free: 21.88 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.515e-05/0.1867, allocations: 123.3 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1867, allocations: 4 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.1871, allocations: 133.5 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1871, allocations: 3.953 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1871, allocations: 4 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1871, allocations: 4 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.1875, allocations: 390.6 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1876, allocations: 0 / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.1877, allocations: 35.98 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1877, allocations: 3.953 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.1877, allocations: 0 / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1877, allocations: 3.938 kB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1877, allocations: 4 kB / 0.9856 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.1882, allocations: 267.4 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.1882, allocations: 85.12 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.1882, allocations: 3.953 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.1884, allocations: 12 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.1884, allocations: 7.984 kB / 0.9859 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1884, allocations: 4 kB / 0.9859 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.824e-05/0.1884, allocations: 83.34 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1884, allocations: 0 / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002392/0.1887, allocations: 39.98 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0006367/0.1893, allocations: 0.8255 MB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.1896, allocations: 99.81 kB / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1896, allocations: 64 / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1898, allocations: 43.98 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.19, allocations: 15.94 kB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1912, allocations: 0.7529 MB / 0.9877 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.319e-05/0.1913, allocations: 0.6926 MB / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.826e-05/0.1914, allocations: 12.67 kB / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.1914, allocations: 27.42 kB / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.1914, allocations: 0 / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/0.2025, allocations: 2.08 MB / 0.9905 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/0.2027, allocations: 240.4 kB / 0.9907 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.816, allocations: 0 / 0.9907 GB, free: 15.9 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)