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.352/1.352, allocations: 252 MB / 268 MB, free: 10.87 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.0009636/0.0009644, allocations: 174.9 kB / 327.6 MB, free: 2.105 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.558/1.558, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0009455/0.0009457, allocations: 82.36 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 9.281 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1807, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001362/0.1821, allocations: 1.199 MB / 0.9026 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008822/0.183, allocations: 0.6385 MB / 0.9032 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.183, allocations: 4 kB / 0.9033 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.1831, allocations: 3.938 kB / 0.9033 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.1831, allocations: 11.91 kB / 0.9033 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.1836, allocations: 142.3 kB / 0.9034 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.1837, allocations: 39.67 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.1837, allocations: 4 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.1838, allocations: 23.92 kB / 0.9035 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.1838, allocations: 35.77 kB / 0.9035 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1839, allocations: 4 kB / 0.9035 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.1843, allocations: 339.4 kB / 0.9038 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.1843, allocations: 11.98 kB / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.1843, allocations: 53.56 kB / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1845, allocations: 112.1 kB / 0.904 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1845, allocations: 7.938 kB / 0.904 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1845, allocations: 3.938 kB / 0.904 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1845, allocations: 3.938 kB / 0.904 GB, free: 60.88 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.0004548/0.185, allocations: 387.4 kB / 0.9044 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.185, allocations: 12.03 kB / 0.9044 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1851, allocations: 4.844 kB / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.482e-05/0.1851, allocations: 176.3 kB / 0.9046 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.1852, allocations: 8.375 kB / 0.9046 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1852, allocations: 8.281 kB / 0.9046 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.1854, allocations: 78.22 kB / 0.9047 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1855, allocations: 192 / 0.9047 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1855, allocations: 7.938 kB / 0.9047 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1855, allocations: 4 kB / 0.9047 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.1857, allocations: 67.89 kB / 0.9047 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.1862, allocations: 328.7 kB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.1864, allocations: 86.47 kB / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1866, allocations: 36.84 kB / 0.9052 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1866, allocations: 4 kB / 0.9052 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.1866, allocations: 30.56 kB / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1866, allocations: 0 / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.00141/0.188, allocations: 0.6813 MB / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.1881, allocations: 55.39 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.006e-05/0.1881, allocations: 101.8 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1882, allocations: 33.7 kB / 0.906 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.1882, allocations: 88.06 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.1882, allocations: 39.38 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.1882, allocations: 4 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.036e-05/0.1883, allocations: 322.8 kB / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1884, allocations: 27.98 kB / 0.9065 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1885, allocations: 43.91 kB / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1888, allocations: 89.89 kB / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1888, allocations: 0 / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002787/0.189, allocations: 117.7 kB / 0.9067 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1891, allocations: 4 kB / 0.9067 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1891, allocations: 0 / 0.9067 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1891, allocations: 4 kB / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1893, allocations: 31.92 kB / 0.9068 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1893, allocations: 0 / 0.9068 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.623e-05/0.1893, allocations: 15.92 kB / 0.9068 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1894, allocations: 8 kB / 0.9068 GB, free: 57.71 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 5.609e-05/0.1894, allocations: 109.8 kB / 0.9069 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1895, allocations: 7.906 kB / 0.9069 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.1898, allocations: 141.6 kB / 0.9071 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1898, allocations: 4 kB / 0.9071 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1898, allocations: 0 / 0.9071 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1898, allocations: 3.938 kB / 0.9071 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.1903, allocations: 394.5 kB / 0.9074 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1903, allocations: 0 / 0.9074 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1904, allocations: 27.92 kB / 0.9075 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1904, allocations: 0 / 0.9075 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1905, allocations: 11.94 kB / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1905, allocations: 0 / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1905, allocations: 0 / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.1909, allocations: 271.7 kB / 0.9077 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.1909, allocations: 81.02 kB / 0.9078 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.191, allocations: 16.02 kB / 0.9078 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1911, allocations: 4 kB / 0.9078 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.1911, allocations: 7.984 kB / 0.9078 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1911, allocations: 8 kB / 0.9078 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.816e-05/0.1911, allocations: 79.28 kB / 0.9079 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1911, allocations: 0 / 0.9079 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002401/0.1914, allocations: 39.92 kB / 0.908 GB, free: 56.42 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.000172/0.1916, allocations: 139.2 kB / 0.9081 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.1919, allocations: 92.77 kB / 0.9082 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1919, allocations: 0 / 0.9082 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.192, allocations: 51.91 kB / 0.9082 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.1923, allocations: 15.05 kB / 0.9082 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.1928, allocations: 415.2 kB / 0.9086 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.613e-05/0.1929, allocations: 0.6926 MB / 0.9093 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.193, allocations: 15.44 kB / 0.9093 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.193, allocations: 0 / 0.9093 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.002205/0.1952, allocations: 1.298 MB / 0.9106 GB, free: 53.66 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)