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.568/1.568, allocations: 252 MB / 268 MB, free: 10.86 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.0009384/0.0009386, allocations: 178.1 kB / 327.6 MB, free: 2.102 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.561/1.561, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0008118/0.0008118, allocations: 84.28 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 9.031 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1798, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001274/0.1811, allocations: 1.013 MB / 0.9024 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008162/0.182, allocations: 0.6086 MB / 0.903 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.182, allocations: 4 kB / 0.903 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.182, allocations: 7.922 kB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.1821, allocations: 0 / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.1825, allocations: 122.6 kB / 0.9032 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.136e-05/0.1825, allocations: 23.92 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.1826, allocations: 0 / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.21e-05/0.1826, allocations: 11.88 kB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.1827, allocations: 11.98 kB / 0.9032 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1827, allocations: 0 / 0.9032 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004039/0.1831, allocations: 347.4 kB / 0.9035 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.1831, allocations: 3.938 kB / 0.9036 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.1832, allocations: 33.7 kB / 0.9036 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1833, allocations: 104 kB / 0.9037 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1833, allocations: 3.938 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1833, allocations: 0 / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.1833, allocations: 0 / 0.9037 GB, free: 61.18 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.0003119/0.1837, allocations: 351.5 kB / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1837, allocations: 8.031 kB / 0.904 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.1837, allocations: 16.86 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.54e-05/0.1838, allocations: 164.3 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1838, allocations: 384 / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1839, allocations: 8.281 kB / 0.9042 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.909e-05/0.184, allocations: 38.25 kB / 0.9042 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.184, allocations: 4.188 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.184, allocations: 3.938 kB / 0.9043 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.184, allocations: 0 / 0.9043 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.184, allocations: 11.94 kB / 0.9043 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.1842, allocations: 161.7 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1843, allocations: 42.61 kB / 0.9045 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.1844, allocations: 28.92 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.1844, allocations: 0 / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.1844, allocations: 30.56 kB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1844, allocations: 0 / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005043/0.1849, allocations: 318.2 kB / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.1849, allocations: 59.33 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.523e-05/0.185, allocations: 97.86 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.185, allocations: 29.64 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.653e-05/0.185, allocations: 80.14 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.1851, allocations: 27.64 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.1851, allocations: 0 / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.1851, allocations: 314.8 kB / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.1851, allocations: 16 kB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.1852, allocations: 11.98 kB / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/0.1852, allocations: 28.86 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.1852, allocations: 0 / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.622e-05/0.1853, allocations: 65.62 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.1853, allocations: 7.938 kB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/0.1853, allocations: 4 kB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1853, allocations: 0 / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.63e-05/0.1854, allocations: 8 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1854, allocations: 4 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.1854, allocations: 4 kB / 0.9055 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.1854, allocations: 7.984 kB / 0.9056 GB, free: 59 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.235e-05/0.1855, allocations: 105.8 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.1855, allocations: 11.94 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.1856, allocations: 77.44 kB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1856, allocations: 0 / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1856, allocations: 0 / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1856, allocations: 7.984 kB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1859, allocations: 315.4 kB / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1859, allocations: 3.938 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.1859, allocations: 8 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.186, allocations: 4 kB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.186, allocations: 0 / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.186, allocations: 0 / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.186, allocations: 0 / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.1861, allocations: 188.5 kB / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.1862, allocations: 85.09 kB / 0.9063 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1862, allocations: 4.031 kB / 0.9063 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.1862, allocations: 0 / 0.9063 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.1863, allocations: 7.938 kB / 0.9063 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1863, allocations: 0 / 0.9063 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.898e-05/0.1863, allocations: 91.72 kB / 0.9064 GB, free: 58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1863, allocations: 0 / 0.9064 GB, free: 58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002196/0.1865, allocations: 24.06 kB / 0.9064 GB, free: 57.97 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.0001395/0.1867, allocations: 115.2 kB / 0.9066 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.803e-05/0.1868, allocations: 31.98 kB / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1868, allocations: 0 / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.307e-05/0.1868, allocations: 19.94 kB / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.187, allocations: 11.66 kB / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.1874, allocations: 267.4 kB / 0.9069 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.1875, allocations: 0.6848 MB / 0.9075 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.1875, allocations: 11.44 kB / 0.9075 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1875, allocations: 0 / 0.9075 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.001782/0.1893, allocations: 0.7827 MB / 0.9083 GB, free: 55.99 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)