Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006004/0.006004, allocations: 101.1 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 187.8 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.787/0.787, allocations: 132.2 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.61 kB / 0.5814 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1811, allocations: 80.21 MB / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002306/0.1834, allocations: 1.266 MB / 0.6609 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.1845, allocations: 0.6254 MB / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.1845, allocations: 0 / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.1845, allocations: 3.938 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.762e-05/0.1846, allocations: 7.984 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.1852, allocations: 149 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.1853, allocations: 31.86 kB / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.1854, allocations: 0 / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.1855, allocations: 23.91 kB / 0.6617 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.1855, allocations: 7.938 kB / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1855, allocations: 0 / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.186, allocations: 339.4 kB / 0.6621 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.1861, allocations: 15.97 kB / 0.6621 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.1861, allocations: 19.88 kB / 0.6621 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.1864, allocations: 155.6 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1864, allocations: 0 / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1864, allocations: 0 / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1864, allocations: 0 / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003977/0.1868, allocations: 359.5 kB / 0.6626 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1869, allocations: 8.031 kB / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.1869, allocations: 8.844 kB / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.187, allocations: 176.2 kB / 0.6628 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.187, allocations: 4.375 kB / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1871, allocations: 4.375 kB / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.1872, allocations: 61.59 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1872, allocations: 0 / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1872, allocations: 0 / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1872, allocations: 0 / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.155e-05/0.1873, allocations: 19.98 kB / 0.6629 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.1875, allocations: 161.7 kB / 0.663 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1876, allocations: 62.5 kB / 0.6631 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.1876, allocations: 36.84 kB / 0.6631 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1877, allocations: 11.86 kB / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1877, allocations: 30.56 kB / 0.6632 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1877, allocations: 0 / 0.6632 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001219/0.1889, allocations: 0.5861 MB / 0.6637 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.189, allocations: 55.41 kB / 0.6638 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.1891, allocations: 97.84 kB / 0.6639 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1891, allocations: 29.7 kB / 0.6639 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.1891, allocations: 84.08 kB / 0.664 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.1892, allocations: 47.38 kB / 0.664 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.1892, allocations: 25.84 kB / 0.664 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1893, allocations: 318.8 kB / 0.6644 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.1894, allocations: 16 kB / 0.6644 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.1894, allocations: 27.98 kB / 0.6644 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.1895, allocations: 58.67 kB / 0.6645 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1895, allocations: 0 / 0.6645 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001383/0.1897, allocations: 93.67 kB / 0.6645 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1897, allocations: 8 kB / 0.6645 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1897, allocations: 0 / 0.6645 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1897, allocations: 4 kB / 0.6646 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1898, allocations: 23.92 kB / 0.6646 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1898, allocations: 0 / 0.6646 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.1899, allocations: 8 kB / 0.6646 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1899, allocations: 0 / 0.6646 GB, free: 8.125 MB / 0.4981 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 8.839e-05/0.19, allocations: 118.4 kB / 0.6647 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.19, allocations: 8 kB / 0.6647 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.1902, allocations: 113.4 kB / 0.6648 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1902, allocations: 8 kB / 0.6648 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1902, allocations: 4 kB / 0.6648 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1902, allocations: 0 / 0.6648 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.1906, allocations: 342.5 kB / 0.6651 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1906, allocations: 0 / 0.6651 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1907, allocations: 23.94 kB / 0.6652 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1908, allocations: 0 / 0.6652 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1908, allocations: 3.984 kB / 0.6652 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1908, allocations: 0 / 0.6652 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1908, allocations: 4 kB / 0.6652 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.191, allocations: 226.3 kB / 0.6654 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1911, allocations: 81.14 kB / 0.6655 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.1911, allocations: 4 kB / 0.6655 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.1912, allocations: 3.984 kB / 0.6655 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.1912, allocations: 4 kB / 0.6655 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1912, allocations: 11.94 kB / 0.6655 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.168e-05/0.1913, allocations: 83.28 kB / 0.6656 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1913, allocations: 0 / 0.6656 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002686/0.1915, allocations: 43.92 kB / 0.6656 GB, free: 6.949 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0001948/0.1917, allocations: 127.2 kB / 0.6657 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.1919, allocations: 66.53 kB / 0.6658 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1919, allocations: 7.938 kB / 0.6658 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.192, allocations: 27.98 kB / 0.6658 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1922, allocations: 10.5 kB / 0.6658 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.1928, allocations: 288.9 kB / 0.6661 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.193, allocations: 0.6885 MB / 0.6668 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.502e-05/0.1931, allocations: 11.97 kB / 0.6668 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.1931, allocations: 19.44 kB / 0.6668 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1931, allocations: 0 / 0.6668 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.003198/0.1963, allocations: 0.9444 MB / 0.6677 GB, free: 4.746 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)