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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009698/0.0009701, allocations: 167.2 kB / 326.5 MB, free: 2.711 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.777/1.777, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007761/0.0007761, allocations: 91.92 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003085, allocations: 13.69 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.187, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001204/0.1882, allocations: 1.014 MB / 0.8977 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008444/0.1891, allocations: 0.6322 MB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.1891, allocations: 0 / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.1891, allocations: 3.938 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.1892, allocations: 0 / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.1897, allocations: 130.1 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.742e-05/0.1898, allocations: 19.88 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.1898, allocations: 7.984 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.1899, allocations: 7.938 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.1899, allocations: 12 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1899, allocations: 0 / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.1903, allocations: 347.2 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.1904, allocations: 7.984 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.1904, allocations: 11.94 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1906, allocations: 92.05 kB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1906, allocations: 3.938 kB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1906, allocations: 0 / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.1906, allocations: 0 / 0.899 GB, free: 65.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003267/0.1909, allocations: 359.4 kB / 0.8993 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.191, allocations: 12.03 kB / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.191, allocations: 0.9375 kB / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.522e-05/0.1911, allocations: 164.4 kB / 0.8995 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1911, allocations: 384 / 0.8995 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1911, allocations: 4.281 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.1913, allocations: 42.25 kB / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1913, allocations: 192 / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1913, allocations: 3.938 kB / 0.8995 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1913, allocations: 0 / 0.8995 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.1913, allocations: 19.92 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.1915, allocations: 161.7 kB / 0.8997 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.1916, allocations: 46.56 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.1917, allocations: 12.86 kB / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1917, allocations: 4 kB / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.1917, allocations: 30.66 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1917, allocations: 4 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005396/0.1923, allocations: 322.5 kB / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.1923, allocations: 55.41 kB / 0.9002 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.47e-05/0.1924, allocations: 93.84 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.1924, allocations: 29.7 kB / 0.9003 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.745e-05/0.1924, allocations: 88.12 kB / 0.9004 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1924, allocations: 15.66 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.1925, allocations: 17.72 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.1925, allocations: 318.8 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.1925, allocations: 12 kB / 0.9007 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.1926, allocations: 12 kB / 0.9007 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.761e-05/0.1926, allocations: 32.78 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1926, allocations: 0 / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.312e-05/0.1927, allocations: 65.64 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1927, allocations: 7.938 kB / 0.9008 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1927, allocations: 11.92 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1928, allocations: 0 / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/0.1928, allocations: 12 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1928, allocations: 0 / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.1929, allocations: 0 / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1929, allocations: 4 kB / 0.9008 GB, free: 63.7 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 (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 4.791e-05/0.1929, allocations: 109.8 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.1929, allocations: 7.938 kB / 0.901 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.1931, allocations: 77.48 kB / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1931, allocations: 0 / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1931, allocations: 4 kB / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1931, allocations: 4 kB / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.1933, allocations: 315.3 kB / 0.9013 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.1934, allocations: 0 / 0.9013 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.1934, allocations: 11.98 kB / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1934, allocations: 4 kB / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1934, allocations: 4 kB / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1935, allocations: 0 / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1935, allocations: 0 / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.1936, allocations: 188.3 kB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.1936, allocations: 77.11 kB / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1937, allocations: 4.031 kB / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.1937, allocations: 256 / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.1938, allocations: 7.984 kB / 0.9016 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1938, allocations: 8 kB / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.1938, allocations: 83.34 kB / 0.9017 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1938, allocations: 0 / 0.9017 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002279/0.194, allocations: 20 kB / 0.9017 GB, free: 62.67 MB / 0.6042 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.000143/0.1942, allocations: 127.2 kB / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.687e-05/0.1943, allocations: 31.94 kB / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1943, allocations: 3.938 kB / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.1943, allocations: 15.98 kB / 0.9019 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.1945, allocations: 11.94 kB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.1949, allocations: 239.9 kB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.205e-05/0.195, allocations: 0.6809 MB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.195, allocations: 11.44 kB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.195, allocations: 3.938 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.001902/0.1969, allocations: 0.7773 MB / 0.9036 GB, free: 60.71 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)