Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009519/0.0009519, allocations: 179.2 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007435/0.0007435, allocations: 89.17 kB / 0.6803 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002985, allocations: 11.81 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1817, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001334/0.1831, allocations: 1.206 MB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000872/0.1839, allocations: 0.6517 MB / 0.8986 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.184, allocations: 0 / 0.8986 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.184, allocations: 3.938 kB / 0.8986 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.041e-05/0.1841, allocations: 7.984 kB / 0.8986 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.1845, allocations: 141.2 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.1846, allocations: 55.55 kB / 0.8988 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.1846, allocations: 15.86 kB / 0.8988 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.1847, allocations: 19.92 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.1848, allocations: 23.91 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1848, allocations: 4 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.1852, allocations: 347.3 kB / 0.8992 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.1852, allocations: 15.92 kB / 0.8992 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.1852, allocations: 19.88 kB / 0.8992 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1854, allocations: 123.8 kB / 0.8993 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1854, allocations: 0 / 0.8993 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1854, allocations: 0 / 0.8993 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.1854, allocations: 0 / 0.8993 GB, free: 65.59 MB / 0.6042 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.0004612/0.1859, allocations: 387.4 kB / 0.8997 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1859, allocations: 8.031 kB / 0.8997 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.186, allocations: 8.844 kB / 0.8997 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.148e-05/0.1861, allocations: 180.2 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.1861, allocations: 8.375 kB / 0.8999 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1861, allocations: 8.281 kB / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.1863, allocations: 90.16 kB / 0.9 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1864, allocations: 192 / 0.9 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1864, allocations: 3.938 kB / 0.9 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1864, allocations: 4 kB / 0.9 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.1866, allocations: 59.95 kB / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.1871, allocations: 324.6 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.1874, allocations: 86.53 kB / 0.9004 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1875, allocations: 36.84 kB / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1875, allocations: 0 / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.1875, allocations: 38.55 kB / 0.9005 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.1875, allocations: 3.938 kB / 0.9005 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001414/0.1889, allocations: 0.6736 MB / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.189, allocations: 51.41 kB / 0.9012 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.512e-05/0.189, allocations: 101.9 kB / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1891, allocations: 29.7 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.1891, allocations: 92.06 kB / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1891, allocations: 39.36 kB / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.1891, allocations: 21.7 kB / 0.9015 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.1892, allocations: 314.8 kB / 0.9018 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1893, allocations: 39.97 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1895, allocations: 39.11 kB / 0.9018 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.1897, allocations: 80.95 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1897, allocations: 0 / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002766/0.19, allocations: 125.6 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.19, allocations: 8 kB / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.19, allocations: 0 / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.19, allocations: 8.031 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.1902, allocations: 31.98 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1902, allocations: 0 / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.1902, allocations: 7.938 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1903, allocations: 7.984 kB / 0.9021 GB, free: 62.4 MB / 0.6042 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 6.092e-05/0.1903, allocations: 117.8 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.1904, allocations: 8 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.1907, allocations: 137.5 kB / 0.9024 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1907, allocations: 0 / 0.9024 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1907, allocations: 0 / 0.9024 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1907, allocations: 7.922 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.1912, allocations: 398.6 kB / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1912, allocations: 0 / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.1913, allocations: 27.98 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1913, allocations: 0 / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1914, allocations: 7.922 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1914, allocations: 0 / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1914, allocations: 4 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.1918, allocations: 263.3 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.1919, allocations: 89.11 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.1919, allocations: 3.938 kB / 0.9031 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.192, allocations: 15.98 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.192, allocations: 4 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1921, allocations: 4 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.172e-05/0.1921, allocations: 87.27 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1921, allocations: 0 / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002486/0.1923, allocations: 40 kB / 0.9033 GB, free: 61.11 MB / 0.6042 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 (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.0001664/0.1925, allocations: 135.1 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.1928, allocations: 93.64 kB / 0.9035 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1928, allocations: 0 / 0.9035 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1929, allocations: 55.91 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.1932, allocations: 8 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.1938, allocations: 365.2 kB / 0.9039 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.1939, allocations: 0.6926 MB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.1939, allocations: 15.44 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/0.194, allocations: 0 / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.002787/0.1967, allocations: 1.306 MB / 0.9059 GB, free: 58.39 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)